[yast-commit] r62990 - /branches/tmp/jsuchome/snapper/src/dialogs.ycp
Author: jsuchome Date: Tue Dec 14 14:42:05 2010 New Revision: 62990 URL: http://svn.opensuse.org/viewcvs/yast?rev=62990&view=rev Log: fake data, no Add button Modified: branches/tmp/jsuchome/snapper/src/dialogs.ycp Modified: branches/tmp/jsuchome/snapper/src/dialogs.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/jsuchome/snapper/src/dialogs.ycp?rev=62990&r1=62989&r2=62990&view=diff ============================================================================== --- branches/tmp/jsuchome/snapper/src/dialogs.ycp (original) +++ branches/tmp/jsuchome/snapper/src/dialogs.ycp Tue Dec 14 14:42:05 2010 @@ -39,7 +39,7 @@ include "snapper/helps.ycp"; boolean ReallyAbort() { - return Popup::ReallyAbort(true); + return true;//FIXME Popup::ReallyAbort(true); } /** @@ -83,9 +83,9 @@ snapshot_items ), `HBox ( - `PushButton (`id (`add), Label::NewButton ()), - `PushButton (`id (`show), _("Show")), - `PushButton (`id (`edit), Label::EditButton ()), +// `PushButton (`id (`add), Label::NewButton ()), + `PushButton (`id (`show), _("Show Changes")), + `PushButton (`id (`edit), _("Edit Snapshot")), `Right (`PushButton (`id (`rollback), _("Rollback"))) ) ); @@ -130,7 +130,7 @@ term contents = `HBox ( `HWeight (1, `ReplacePoint (`id (`treeContents), `Top (`HBox ()))), - `HWeight (2, `ReplacePoint (`id (`entryContents), `Top (`HBox ()))) + `HWeight (1, `ReplacePoint (`id (`entryContents), `Top (`HBox ()))) ); map display_info = UI::GetDisplayInfo (); boolean textmode = display_info["TextMode"]:false; @@ -254,7 +254,11 @@ if (! files[current]:false) { UI::BusyCursor (); - subtree = []; // FIXME read files under current + // FIXME read files under current + subtree = [ + current + "/some file", + current + "/some other file" + ]; files [current] = true; if (size (subtree) > 0) @@ -270,7 +274,7 @@ current = (string) UI::QueryWidget (`id(`tree),`CurrentItem); if (current == nil) current = ""; } - file_data = // FIXME read data for current item + file_data = $[]; // FIXME read data for current item set_entry_term (); UI::NormalCursor (); if (textmode) -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
jsuchome@svn2.opensuse.org