Author: aschnell
Date: Wed Jan 14 16:53:09 2009
New Revision: 54632
URL: http://svn.opensuse.org/viewcvs/yast?rev=54632&view=rev
Log:
- backup
Added:
branches/tmp/aschnell/graph/storage/storage/src/include/ep-graph.ycp
Modified:
branches/tmp/aschnell/graph/storage/VERSION
branches/tmp/aschnell/graph/storage/package/yast2-storage.changes
branches/tmp/aschnell/graph/storage/storage/src/include/ep-main.ycp
branches/tmp/aschnell/graph/storage/storage/src/include/icons.ycp
branches/tmp/aschnell/graph/storage/yast2-storage.spec.in
Modified: branches/tmp/aschnell/graph/storage/VERSION
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/aschnell/graph/storage/VERSION?rev=54632&r1=54631&r2=54632&view=diff
==============================================================================
--- branches/tmp/aschnell/graph/storage/VERSION (original)
+++ branches/tmp/aschnell/graph/storage/VERSION Wed Jan 14 16:53:09 2009
@@ -1 +1 @@
-2.18.0
+2.18.1
Modified: branches/tmp/aschnell/graph/storage/package/yast2-storage.changes
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/aschnell/graph/storage/package/yast2-storage.changes?rev=54632&r1=54631&r2=54632&view=diff
==============================================================================
--- branches/tmp/aschnell/graph/storage/package/yast2-storage.changes (original)
+++ branches/tmp/aschnell/graph/storage/package/yast2-storage.changes Wed Jan 14 16:53:09 2009
@@ -1,4 +1,9 @@
-------------------------------------------------------------------
+Wed Jan 14 16:50:42 CET 2009 - aschnell@suse.de
+
+- added storage graph
+
+-------------------------------------------------------------------
Fri Dec 19 18:48:45 CET 2008 - aschnell@suse.de
- redesigned resize dialog (bnc #456816 and #456816)
Added: branches/tmp/aschnell/graph/storage/storage/src/include/ep-graph.ycp
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/aschnell/graph/storage/storage/src/include/ep-graph.ycp?rev=54632&view=auto
==============================================================================
--- branches/tmp/aschnell/graph/storage/storage/src/include/ep-graph.ycp (added)
+++ branches/tmp/aschnell/graph/storage/storage/src/include/ep-graph.ycp Wed Jan 14 16:53:09 2009
@@ -0,0 +1,32 @@
+/**
+ * File: ep-graph.ycp
+ * Package: yast2-storage
+ * Summary: Expert Partitioner
+ * Authors: Arvin Schnell
+ */
+{
+ textdomain "storage";
+
+
+ void CreateGraphPanel(any user_data)
+ {
+ UI::ReplaceWidget(`tree_panel,
+ Greasemonkey::Transform(
+ `VBox(
+ // dialog heading
+ `IconAndHeading(_("Storage Graph"), graph_icon),
+ `Graph()) // TODO
+ )
+ );
+
+ // helptext
+ string helptext = _("<p>This view shows a graph.</p>");
+
+ Wizard::RestoreHelp(helptext);
+ }
+
+
+ void HandleGraphPanel(any user_data, symbol widget)
+ {
+ }
+}
Modified: branches/tmp/aschnell/graph/storage/storage/src/include/ep-main.ycp
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/aschnell/graph/storage/storage/src/include/ep-main.ycp?rev=54632&r1=54631&r2=54632&view=diff
==============================================================================
--- branches/tmp/aschnell/graph/storage/storage/src/include/ep-main.ycp (original)
+++ branches/tmp/aschnell/graph/storage/storage/src/include/ep-main.ycp Wed Jan 14 16:53:09 2009
@@ -57,6 +57,7 @@
include "partitioning/ep-lib.ycp";
include "partitioning/ep-dialogs.ycp";
+ include "partitioning/ep-graph.ycp";
include "partitioning/ep-settings.ycp";
include "partitioning/ep-log.ycp";
@@ -94,6 +95,7 @@
`dm : $[ `create : CreateDmMainPanel ],
`nfs : $[ `create : CreateNfsMainPanel, `handle : HandleNfsMainPanel ],
`unused : $[ `create : CreateUnusedPanel, `handle: HandleUnusedPanel ],
+ `graph : $[ `create : CreateGraphPanel, `handle : HandleGraphPanel ],
`settings : $[ `create : CreateSettingsPanel, `handle : HandleSettingsPanel, `destroy : DestroySettingsPanel ],
`log : $[ `create : CreateLogPanel, `handle : HandleLogPanel, `destroy : DestroyLogPanel ] ];
@@ -190,9 +192,15 @@
`item(`id(`nfs), `icon(nfs_icon), _("NFS"), open(`nfs)),
// tree node label
`item(`id(`unused), `icon(unused_icon), _("Unused Devices"), open(`unused))
- ]),
- // tree node label
- `item(`id(`settings), `icon(settings_icon), _("Settings"), open(`settings)) ];
+ ])
+ ];
+
+ if (UI::HasSpecialWidget(`Graph))
+ // tree node label
+ tree = add(tree, `item(`id(`graph), `icon(graph_icon), _("Graph"), open(`graph)));
+
+ // tree node label
+ tree = add(tree, `item(`id(`settings), `icon(settings_icon), _("Settings"), open(`settings)));
if (Mode::normal())
// tree node label
Modified: branches/tmp/aschnell/graph/storage/storage/src/include/icons.ycp
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/aschnell/graph/storage/storage/src/include/icons.ycp?rev=54632&r1=54631&r2=54632&view=diff
==============================================================================
--- branches/tmp/aschnell/graph/storage/storage/src/include/icons.ycp (original)
+++ branches/tmp/aschnell/graph/storage/storage/src/include/icons.ycp Wed Jan 14 16:53:09 2009
@@ -23,6 +23,8 @@
const string unused_icon = "yast-unused-device.png";
+ const string graph_icon = "yast.png"; // TODO
+
const string settings_icon = "yast.png";
const string log_icon = "yast-messages.png";
Modified: branches/tmp/aschnell/graph/storage/yast2-storage.spec.in
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/aschnell/graph/storage/yast2-storage.spec.in?rev=54632&r1=54631&r2=54632&view=diff
==============================================================================
--- branches/tmp/aschnell/graph/storage/yast2-storage.spec.in (original)
+++ branches/tmp/aschnell/graph/storage/yast2-storage.spec.in Wed Jan 14 16:53:09 2009
@@ -11,6 +11,7 @@
%ifarch s390 s390x
Requires: yast2-s390
%endif
+Recommends: yast2_ui_graph
PreReq: %fillup_prereq
Provides: y2a_fdsk yast2-config-disk
Obsoletes: y2a_fdsk yast2-config-disk
--
To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org
For additional commands, e-mail: yast-commit+help@opensuse.org