Mailinglist Archive: yast-commit (819 mails)

< Previous Next >
[yast-commit] r55060 - in /trunk/storage: package/yast2-storage.changes storage/src/include/ep-main.ycp storage/src/include/ep-summary.ycp storage/src/include/icons.ycp
  • From: aschnell@xxxxxxxxxxxxxxxx
  • Date: Tue, 27 Jan 2009 09:39:36 -0000
  • Message-id: <E1LRkPw-00061L-6x@xxxxxxxxxxxxxxxx>
Author: aschnell
Date: Tue Jan 27 10:39:35 2009
New Revision: 55060

URL: http://svn.opensuse.org/viewcvs/yast?rev=55060&view=rev
Log:
- make "Installation Summary" directly accessible in expert partitioner

Added:
trunk/storage/storage/src/include/ep-summary.ycp
Modified:
trunk/storage/package/yast2-storage.changes
trunk/storage/storage/src/include/ep-main.ycp
trunk/storage/storage/src/include/icons.ycp

Modified: trunk/storage/package/yast2-storage.changes
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/storage/package/yast2-storage.changes?rev=55060&r1=55059&r2=55060&view=diff
==============================================================================
--- trunk/storage/package/yast2-storage.changes (original)
+++ trunk/storage/package/yast2-storage.changes Tue Jan 27 10:39:35 2009
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Tue Jan 27 10:38:28 CET 2009 - aschnell@xxxxxxx
+
+- make "Installation Summary" directly accessible in expert
+ partitioner
+
+-------------------------------------------------------------------
Fri Jan 16 13:56:03 CET 2009 - kmachalkova@xxxxxxx

- Display logical volume name in dialog captions in adding logical

Modified: trunk/storage/storage/src/include/ep-main.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/include/ep-main.ycp?rev=55060&r1=55059&r2=55060&view=diff
==============================================================================
--- trunk/storage/storage/src/include/ep-main.ycp (original)
+++ trunk/storage/storage/src/include/ep-main.ycp Tue Jan 27 10:39:35 2009
@@ -59,6 +59,7 @@
include "partitioning/ep-dialogs.ycp";

include "partitioning/ep-graph.ycp";
+ include "partitioning/ep-summary.ycp";
include "partitioning/ep-settings.ycp";
include "partitioning/ep-log.ycp";

@@ -97,6 +98,7 @@
`nfs : $[ `create : CreateNfsMainPanel, `handle :
HandleNfsMainPanel ],
`unused : $[ `create : CreateUnusedPanel, `handle:
HandleUnusedPanel ],
`graph : $[ `create : CreateGraphPanel, `handle :
HandleGraphPanel ],
+ `summary : $[ `create : CreateSummaryPanel ],
`settings : $[ `create : CreateSettingsPanel, `handle :
HandleSettingsPanel, `destroy : DestroySettingsPanel ],
`log : $[ `create : CreateLogPanel, `handle : HandleLogPanel,
`destroy : DestroyLogPanel ] ];

@@ -201,6 +203,9 @@
tree = add(tree, `item(`id(`graph), `icon(graph_icon), _("Graph"),
open(`graph)));

// tree node label
+ tree = add(tree, `item(`id(`summary), `icon(summary_icon),
_("Installation Summary"), open(`summary)));
+
+ // tree node label
tree = add(tree, `item(`id(`settings), `icon(settings_icon),
_("Settings"), open(`settings)));

if (Mode::normal())

Added: trunk/storage/storage/src/include/ep-summary.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/include/ep-summary.ycp?rev=55060&view=auto
==============================================================================
--- trunk/storage/storage/src/include/ep-summary.ycp (added)
+++ trunk/storage/storage/src/include/ep-summary.ycp Tue Jan 27 10:39:35 2009
@@ -0,0 +1,34 @@
+/**
+ * File: ep-summary.ycp
+ * Package: yast2-storage
+ * Summary: Expert Partitioner
+ * Authors: Arvin Schnell <aschnell@xxxxxxx>
+ */
+{
+ textdomain "storage";
+
+
+ void CreateSummaryPanel(any user_data)
+ {
+ string summary = Storage::ChangeText();
+
+ if (isempty(summary))
+ {
+ summary = _("<p>No changes to partitioning.</p>");
+ }
+
+ UI::ReplaceWidget(`tree_panel,
+ Greasemonkey::Transform(
+ `VBox(
+ // dialog heading
+ `IconAndHeading(_("Installation Summary"),
summary_icon),
+ `RichText(`id(`summary), summary)
+ ))
+ );
+
+ // helptext
+ string helptext = _("<p>This view show the installation summary.</p>");
+
+ Wizard::RestoreHelp(helptext);
+ }
+}

Modified: trunk/storage/storage/src/include/icons.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/include/icons.ycp?rev=55060&r1=55059&r2=55060&view=diff
==============================================================================
--- trunk/storage/storage/src/include/icons.ycp (original)
+++ trunk/storage/storage/src/include/icons.ycp Tue Jan 27 10:39:35 2009
@@ -25,6 +25,8 @@

const string graph_icon = "yast-device-tree.png";

+ const string summary_icon = "yast-disk.png";
+
const string settings_icon = "yast.png";

const string log_icon = "yast-messages.png";

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages