[yast-commit] r62188 - in /trunk/gtk: ChangeLog src/pkg/ygtkpkgmenubar.cc
Author: rpmcruz Date: Tue Jul 6 19:31:46 2010 New Revision: 62188 URL: http://svn.opensuse.org/viewcvs/yast?rev=62188&view=rev Log: * src/pkg/ygtkpkgmenubar.cc: bug fix 609778 (in part): only present online-update configuration when on online-update. Conversely for webpin-search. Modified: trunk/gtk/ChangeLog trunk/gtk/src/pkg/ygtkpkgmenubar.cc Modified: trunk/gtk/ChangeLog URL: http://svn.opensuse.org/viewcvs/yast/trunk/gtk/ChangeLog?rev=62188&r1=62187&r2=62188&view=diff ============================================================================== --- trunk/gtk/ChangeLog (original) +++ trunk/gtk/ChangeLog Tue Jul 6 19:31:46 2010 @@ -1,3 +1,9 @@ +2010-07-05 Ricardo Cruz <rpmcruz@alunos.dcc.fc.up.pt> + + * src/pkg/ygtkpkgmenubar.cc: bug fix 609778 (in part): + only present online-update configuration when on + online-update. Conversely for webpin-search. + 2010-07-02 Ricardo Cruz <rpmcruz@alunos.dcc.fc.up.pt> * src/YGDialog.cc: bug fix 618951: sw_single too Modified: trunk/gtk/src/pkg/ygtkpkgmenubar.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/gtk/src/pkg/ygtkpkgmenubar.cc?rev=62188&r1=62187&r2=62188&view=diff ============================================================================== --- trunk/gtk/src/pkg/ygtkpkgmenubar.cc (original) +++ trunk/gtk/src/pkg/ygtkpkgmenubar.cc Tue Jul 6 19:31:46 2010 @@ -703,10 +703,12 @@ gtk_menu_item_set_submenu (GTK_MENU_ITEM (item), (submenu = gtk_menu_new())); append_menu_item (submenu, _("Repositories..."), NULL, G_CALLBACK (repoManager), this); - append_menu_item (submenu, _("Online Update..."), NULL, - G_CALLBACK (onlineUpdateConfiguration), this); - append_menu_item (submenu, _("Search Packages on Web..."), NULL, - G_CALLBACK (webpinSearch), this); + if (selector->onlineUpdateMode()) + append_menu_item (submenu, _("Online Update..."), NULL, + G_CALLBACK (onlineUpdateConfiguration), this); + else + append_menu_item (submenu, _("Search Packages on Web..."), NULL, + G_CALLBACK (webpinSearch), this); } item = append_menu_item (menu_bar, _("Dependencies"), NULL, NULL, NULL); gtk_menu_item_set_submenu (GTK_MENU_ITEM (item), (submenu = gtk_menu_new())); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
rpmcruz@svn.opensuse.org