diff options
author | damien <damien@mandriva.com> | 2001-03-09 22:47:19 +0000 |
---|---|---|
committer | damien <damien@mandriva.com> | 2001-03-09 22:47:19 +0000 |
commit | 890250a591b3449ec73296b5768a5e1429c50347 (patch) | |
tree | ac08caa1641caeb2be1e1826dad79e53c55b1242 /control-center3 | |
parent | 0005d2f0f35f47c116b7404c6546ecffcf9528e1 (diff) | |
download | control-center-890250a591b3449ec73296b5768a5e1429c50347.tar control-center-890250a591b3449ec73296b5768a5e1429c50347.tar.gz control-center-890250a591b3449ec73296b5768a5e1429c50347.tar.bz2 control-center-890250a591b3449ec73296b5768a5e1429c50347.tar.xz control-center-890250a591b3449ec73296b5768a5e1429c50347.zip |
updated
Diffstat (limited to 'control-center3')
-rwxr-xr-x | control-center3 | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/control-center3 b/control-center3 index 209f7b4f..28c268e1 100755 --- a/control-center3 +++ b/control-center3 @@ -114,7 +114,7 @@ $hpane_global->pack2($notebook_global,0,1); my ($pix_splash_map, $pix_splash_mask) = gtkcreate_png("$xpm_path_l/splash.png"); my @anim; -($anim[$_]->[0], $anim[$_]->[1]) = gtkcreate_png("$xpm_path_l/anim_" . ($_ + 1) . ".png") foreach (0..4); +($anim[$_]->[0], $anim[$_]->[1]) = gtkcreate_png("$xpm_path_l/anim_" . ($_ + 1) . ".png") foreach (0..9); my $vbox_about = new Gtk::VBox(0,0); my $darea1= new Gtk::DrawingArea(); @@ -137,17 +137,16 @@ map { create_tree_item($tree, $_->[0] , "$xpm_path_l/$_->[1]",1); } ([_("Boot"), 'boot-mdk.png'] , [_("Hardware"), 'drakhard-mdk.png'] , #[_("User and Groups"),'adduserdrake-mdk.png'], - [_("Network & Internet"),'net-mdk.png'] , [_("System"),'menudrake-mdk.png'] , [_("Font Management"),'font-mdk.png']); + [_("Network & Internet"),'net-mdk.png'] , [_("System"),'item.png']); map { create_tree_item($treeitem_sub[int($_->[2])],$_->[0], "$xpm_path_l/$_->[1]",0); -} ([_("Boot Config"),'drakboot-mdk.png',4] , [_("Boot Disk"), 'drakfloppy-mdk.png',4] , - [_("Display"),'XFdrake-mdk.png',3] , [_("Hardware"),'harddrake-mdk.png',3] , [_("Mouse"), 'mousedrake-mdk.png',3] , - [_("Printer"),'printer-mdk.png',3] , [_("Keyboard"), 'keyboard-mdk.png',3], +} ([_("Boot Config"),'drakboot-mdk.png',3] , [_("Boot Disk"), 'drakfloppy-mdk.png',3] , + [_("Display"),'XFdrake-mdk.png',2] , [_("Hardware"),'harddrake-mdk.png',2] , [_("Mouse"), 'mousedrake-mdk.png',2] , + [_("Printer"),'printer-mdk.png',2] , [_("Keyboard"), 'keyboard-mdk.png',2], # [_("Users Config"),'item.png',3] , - [_("Internet & Network") , 'draknet-mdk.png',2] , [_("Gateway Config"),'drakgw-mdk.png',2], - [_("Date & Time") , 'item.png',1], [_("System Menus") , 'item.png',1], [_("User Menus") , 'item.png',1] , [_("Services & Daemons") , 'item.png' , 1], - [_("Fonts"), 'drakfont-mdk.png',0] + [_("Internet & Network") , 'draknet-mdk.png',1] , [_("Gateway Config"),'drakgw-mdk.png',1], + [_("Date & Time") , 'item.png',0], [_("System Menus") , 'menudrake-mdk.png',0], [_("User Menus") , 'menudrake-mdk.png',0] , [_("Services & Daemons") , 'item.png' , 0], [_("Fonts"), 'drakfont-mdk.png',0] ); my %tree_exec = (_("Boot Config") => "$_sbindir/drakboot", _("Boot Disk") => "$_xbindir/drakfloppy", @@ -420,7 +419,7 @@ sub exec_treeitem { my $vbox2 = new Gtk::VBox(0, 0); $vbox2->show; $global_vbox=\$vbox2; - $vbox->pack_start($vbox2,0,0,0); + $vbox->pack_start($vbox2,1,0,0); my $label_ = new Gtk::Label (_("Please be patient")); $vbox2->pack_start( $label_, 0, 0, 0); $label_->show; @@ -428,7 +427,7 @@ sub exec_treeitem { $hbox->show; $vbox2->pack_start($hbox,0,0,0); my $darea1= new Gtk::DrawingArea(); - $darea1->size(340,15); + $darea1->size(350,13); $darea1->set_usize(340,15); $hbox->pack_start($darea1,1,0,0); $darea1->show; @@ -441,14 +440,14 @@ sub exec_treeitem { $notebook_global->set_page($nb_pages); $tree_launched{$_}->[0] or ${$tree_launched{$_}->[1]} and ${$tree_launched{$_}->[1]}->set_sensitive(0) foreach (keys %tree_launched); my $anim_nb=0; - $global_time_tag = Gtk->timeout_add(120, sub { + $global_time_tag = Gtk->timeout_add(100, sub { $darea1->window->draw_pixmap ($darea1->style->white_gc, $anim[$anim_nb]->[0], 0, 0, ($darea1->allocation->[2]-340)/2, ($darea1->allocation->[3]-15)/2, - 340, 15); + 350, 13); $anim_nb++; - $anim_nb > 4 and $anim_nb=0; + $anim_nb > 9 and $anim_nb=0; 1; }); $lock_time_tag = Gtk->timeout_add(20000, sub { |