summaryrefslogtreecommitdiffstats
path: root/mdkapplet
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-02-16 15:41:07 +0000
committerThierry Vignaud <tv@mandriva.org>2009-02-16 15:41:07 +0000
commitf75e482dc56a49a59168bc658efdd77e9426f343 (patch)
tree88e5dd21185994e089bebfe904bcd9c487ffab55 /mdkapplet
parentfc7ccef996b2f3ce661499904b722277d85e0f71 (diff)
downloadmgaonline-f75e482dc56a49a59168bc658efdd77e9426f343.tar
mgaonline-f75e482dc56a49a59168bc658efdd77e9426f343.tar.gz
mgaonline-f75e482dc56a49a59168bc658efdd77e9426f343.tar.bz2
mgaonline-f75e482dc56a49a59168bc658efdd77e9426f343.tar.xz
mgaonline-f75e482dc56a49a59168bc658efdd77e9426f343.zip
(setState) enable to call the configurator
Diffstat (limited to 'mdkapplet')
-rwxr-xr-xmdkapplet2
1 files changed, 2 insertions, 0 deletions
diff --git a/mdkapplet b/mdkapplet
index 73117c68..cf92ee26 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -673,6 +673,8 @@ sub setState {
return 1;
}));
+ $menu->append(gtksignal_connect(gtkshow(Gtk2::MenuItem->new_with_label(N("Updates Configuration"))),
+ activate => sub { run_program::raw({ detach => 1 }, 'mdkapplet-config') }));
$menu->append(gtksignal_connect(gtkset_active($checkme = Gtk2::CheckMenuItem->new_with_label(N("Always launch on startup")), shouldStart()), toggled => sub { setAutoStart(uc(bool2text($checkme->get_active))) }));
$checkme->show;
$menu->append(gtksignal_connect(gtkshow(Gtk2::MenuItem->new_with_label(N("Quit"))), activate => sub { mainQuit() }));