summaryrefslogtreecommitdiffstats
path: root/control-center3
diff options
context:
space:
mode:
authordamien <damien@mandriva.com>2001-03-03 06:20:43 +0000
committerdamien <damien@mandriva.com>2001-03-03 06:20:43 +0000
commit355dfd6be1a2c9773a9e6ed72903cda12a2c7c7b (patch)
tree5752d30fbe029ff1eaa38cf4f054856c13822760 /control-center3
parentb8514b44c04ec66879a5e142333a2fa28401c97a (diff)
downloadcontrol-center-355dfd6be1a2c9773a9e6ed72903cda12a2c7c7b.tar
control-center-355dfd6be1a2c9773a9e6ed72903cda12a2c7c7b.tar.gz
control-center-355dfd6be1a2c9773a9e6ed72903cda12a2c7c7b.tar.bz2
control-center-355dfd6be1a2c9773a9e6ed72903cda12a2c7c7b.tar.xz
control-center-355dfd6be1a2c9773a9e6ed72903cda12a2c7c7b.zip
updated
Diffstat (limited to 'control-center3')
-rwxr-xr-xcontrol-center312
1 files changed, 8 insertions, 4 deletions
diff --git a/control-center3 b/control-center3
index 73758fa4..2668f6b0 100755
--- a/control-center3
+++ b/control-center3
@@ -136,7 +136,7 @@ $vbox_global_left->pack_start($tree,1,1,0);
map {
create_tree_item($tree, $_->[0] , "$xpm_path_l/$_->[1]",1);
} ([_("Boot"), 'drakboot-mdk.png'] , [_("Hardware"), 'logo.png'] , [_("User and Groups"),'adduserdrake-mdk.png'],
- [_("Network & Internet"),'draknet-mdk.png'] , [_("Menu Customization"),'menudrake-mdk.png'] , [_("Font Management"),'drakfont-mdk.png']);
+ [_("Network & Internet"),'draknet-mdk.png'] , [_("System"),'menudrake-mdk.png'] , [_("Font Management"),'drakfont-mdk.png']);
map {
create_tree_item($treeitem_sub[int($_->[2])],$_->[0], "$xpm_path_l/$_->[1]",0);
@@ -145,7 +145,7 @@ map {
[_("Printer"),'printer-mdk.png',4] , [_("Keyboard"), 'keyboard-mdk.png',4],
[_("Users Config"),'item.png',3] ,
[_("Internet & Network") , 'draknet-mdk.png',2] , [_("Gateway Config"),'drakgw-mdk.png',2],
- [_("User Menus") , 'item.png',1] , [_("System Menus") , 'item.png',1] ,
+ [_("Date & Time") , 'item.png',1], [_("System Menus") , 'item.png',1], [_("User Menus") , 'item.png',1] ,
[_("Fonts"), 'drakfont-mdk.png',0]
);
@@ -154,7 +154,8 @@ my %tree_exec = (_("Boot Config") => "$_sbindir/drakboot", _("Boot Disk") => "$_
_("Hardware") => "$_bindir/harddrake-auth" , _("Mouse") => "$_sbindir/mousedrake" ,
_("Printer") => "$_sbindir/printerdrake" , _("Keyboard") => "$_sbindir/keyboarddrake" ,
_("Users Config") => "$_bindir/userdrake" , _("Internet & Network") => "$_sbindir/draknet" ,
- _("Gateway Config") => "$_sbindir/drakgw" , _("User Menus") => "$_bindir/menudrake" ,
+ _("Gateway Config") => "$_sbindir/drakgw" , _("Date & Time") => "/home/damien/cvs/soft/control-center/clock.pm",
+ _("User Menus") => "$_bindir/menudrake" ,
_("System Menus") => "$_bindir/menudrake", _("Fonts") => "$_xbindir/drakfont"
);
@@ -163,7 +164,10 @@ my %tree_launched;
$window_global->show_all;
-$SIG{USR1} = sub { $notebook_global->set_page(0); }; # embedded applications will send me that signal in order to "hide" them
+$SIG{USR1} = sub {
+ ${$tree_launched{$_}->[1]}->deselect() foreach (keys %tree_launched);
+ $notebook_global->set_page(0);
+}; # embedded applications will send me that signal in order to "hide" them
$SIG{TERM} = sub { quit_global(); }; # embedded applications will send me that signal in order to quit the cc.
my $global_vbox;
my $global_time_tag;