[yast-commit] r54350 - in /trunk/packager: package/yast2-packager.changes src/clients/repositories.ycp
Author: lslezak Date: Wed Dec 31 11:52:17 2008 New Revision: 54350 URL: http://svn.opensuse.org/viewcvs/yast?rev=54350&view=rev Log: - repositories.ycp - better layout for too small window size (bnc#439807) Modified: trunk/packager/package/yast2-packager.changes trunk/packager/src/clients/repositories.ycp Modified: trunk/packager/package/yast2-packager.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/packager/package/yast2-packager.changes?rev=54350&r1=54349&r2=54350&view=diff ============================================================================== --- trunk/packager/package/yast2-packager.changes (original) +++ trunk/packager/package/yast2-packager.changes Wed Dec 31 11:52:17 2008 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Wed Dec 31 11:47:00 CET 2008 - lslezak@suse.cz + +- repositories.ycp - better layout for too small window size + (bnc#439807) + +------------------------------------------------------------------- Tue Dec 30 11:48:28 CET 2008 - lslezak@suse.cz - display the Package selector instead of the Pattern selector Modified: trunk/packager/src/clients/repositories.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/packager/src/clients/repositories.ycp?rev=54350&r1=54349&r2=54350&view=diff ============================================================================== --- trunk/packager/src/clients/repositories.ycp (original) +++ trunk/packager/src/clients/repositories.ycp Wed Dec 31 11:52:17 2008 @@ -278,7 +278,7 @@ `Left(`Label(`id(`service), `opt(`hstretch), service)) ) : - `VSquash(`MinHeight(7, `RichText(`id(`repo_info), ""))); + `VSquash(`MinHeight(6, `RichText(`id(`repo_info), ""))); } void fillRepoInfo(integer index, map source, boolean repo_mode, string service_name) @@ -701,71 +701,54 @@ term contents = `HBox( `Tree(`id(`tree), `opt(`notify), "", buildTree()), - `VBox( - `HBox( - `VSpacing(9), - `ReplacePoint(`id(`tabrp), TableWidget(repository_view)), - `HSpacing() - ), - `HBox ( - `HSpacing(0.35), - `HWeight (1, `Frame ("", - `HBox ( - `HSpacing (1), - `HWeight( 1, `VBox ( - repoInfoTerm("", "", "", ""), - // label - `Left (`Label (_("Properties"))), - // check box - `HBox( - `HSquash( - `VBox( - `Left (`CheckBox (`id (`enable), `opt(`notify), _("&Enabled"))), - // check box - `Left (`CheckBox (`id (`autorefresh), `opt(`notify), _("Automatically &Refresh"))) - ) - ), - `HSquash(`VBox( - `Label(""), - `ReplacePoint(`id(`keeppkg_rp), `CheckBox(`id(`keeppackages), `opt(`notify), keeppackages_label)) - ) - ), - `HSquash(`ReplacePoint(`id(`priorp), `IntField(`id(`priority), `opt(`notify), priority_label, 0, 200, default_priority))), - `HStretch() - ), - `VSpacing (0.4), - (have_rug) ? - `Left (`CheckBox (`id (`zmdsync), - // Checkbox label - _("Synchronize Changes with &ZENworks"), - !norug && sync_zmd)) - : `Empty() - )), - `HSpacing (0.4) - ) - )), - `HSpacing (1.35) - ), - `VSpacing(0.3), - `HBox( - `PushButton (`id (`add), `opt(`key_F3), - Label::AddButton ()), - `PushButton(`id(`replace), `opt(`key_F4), - Label::EditButton ()), - `PushButton (`id(`delete), `opt(`key_F5), - Label::DeleteButton ()), - `HStretch (), - `PushButton (`id (`key_mgr), _("&GPG Keys...")), - // menu button label - `MenuButton (`id(`menu_button), `opt(`key_F6), _("Refresh"), [ - `item(`id(`refresh), refreshButtonLabel ), + `VBox( + `VWeight(1, `ReplacePoint(`id(`tabrp), TableWidget(repository_view))), + `VBox( + repoInfoTerm("", "", "", ""), + // label + `Left (`Label (_("Properties"))), + // check box + `HBox( + `HSquash( + `VBox( + // check box + `Left (`CheckBox (`id (`enable), `opt(`notify), _("&Enabled"))), + // check box + `Left (`CheckBox (`id (`autorefresh), `opt(`notify), _("Automatically &Refresh"))), + // check box + `Left(`ReplacePoint(`id(`keeppkg_rp), `CheckBox(`id(`keeppackages), `opt(`notify), keeppackages_label))) + ) + ), + `HSpacing(1), + `HSquash(`ReplacePoint(`id(`priorp), `IntField(`id(`priority), `opt(`notify), priority_label, 0, 200, default_priority))), + `HStretch() + ), + `VSpacing (0.4), + + (have_rug) ? + // Checkbox label + `Left (`CheckBox (`id (`zmdsync), _("Synchronize Changes with &ZENworks"), !norug && sync_zmd)) + : `Empty(), + + `HBox( + `PushButton (`id (`add), `opt(`key_F3), + Label::AddButton ()), + `PushButton(`id(`replace), `opt(`key_F4), + Label::EditButton ()), + `PushButton (`id(`delete), `opt(`key_F5), + Label::DeleteButton ()), + `HStretch (), + `PushButton (`id (`key_mgr), _("&GPG Keys...")), // menu button label - `item(`id(`autorefresh_all), _("Refresh All Autor&efreshed")), - // menu button label - `item(`id(`refresh_enabled), _("Refresh All &Enabled")) - ]) - ), - `VSpacing( 0.5 ) + `MenuButton (`id(`menu_button), `opt(`key_F6), _("Refresh"), [ + `item(`id(`refresh), refreshButtonLabel ), + // menu button label + `item(`id(`autorefresh_all), _("Refresh All Autor&efreshed")), + // menu button label + `item(`id(`refresh_enabled), _("Refresh All &Enabled")) + ]) + ) + ) ) ); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
lslezak@svn.opensuse.org