summaryrefslogtreecommitdiffstats
path: root/control-center3
diff options
context:
space:
mode:
authordamien <damien@mandriva.com>2001-03-09 03:20:50 +0000
committerdamien <damien@mandriva.com>2001-03-09 03:20:50 +0000
commite50fe719b11fd6810146a306fb6e4ebdf58b8e5f (patch)
tree16507730f027d55d9feda5b692e030dfcb3543c1 /control-center3
parent8caeedb429e727cb461318e74e9d4e9261b06e3a (diff)
downloadcontrol-center-e50fe719b11fd6810146a306fb6e4ebdf58b8e5f.tar
control-center-e50fe719b11fd6810146a306fb6e4ebdf58b8e5f.tar.gz
control-center-e50fe719b11fd6810146a306fb6e4ebdf58b8e5f.tar.bz2
control-center-e50fe719b11fd6810146a306fb6e4ebdf58b8e5f.tar.xz
control-center-e50fe719b11fd6810146a306fb6e4ebdf58b8e5f.zip
updated
Diffstat (limited to 'control-center3')
-rwxr-xr-xcontrol-center319
1 files changed, 10 insertions, 9 deletions
diff --git a/control-center3 b/control-center3
index 5b3ef71d..c922ec30 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..7);
+($anim[$_]->[0], $anim[$_]->[1]) = gtkcreate_png("$xpm_path_l/anim_" . ($_ + 1) . ".png") foreach (0..4);
my $vbox_about = new Gtk::VBox(0,0);
my $darea1= new Gtk::DrawingArea();
@@ -139,7 +139,7 @@ map {
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] , [_("Boot Logo"), 'draklogo-mdk.png',4],
+} ([_("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],
# [_("Users Config"),'item.png',3] ,
@@ -149,10 +149,11 @@ map {
);
my %tree_exec = (_("Boot Config") => "$_sbindir/drakboot", _("Boot Disk") => "$_xbindir/drakfloppy",
- _("Boot Logo") => "$_xbindir/DrakeLogo" , _("Display") => "$_sbindir/XFdrake" ,
+ _("Display") => "$_sbindir/XFdrake" ,
_("Hardware") => "$_bindir/harddrake-auth" , _("Mouse") => "$_sbindir/mousedrake" ,
_("Printer") => "$_sbindir/printerdrake" , _("Keyboard") => "$_sbindir/keyboarddrake" ,
-# _("Users Config") => "$_bindir/userdrake" , _("Internet & Network") => "$_sbindir/draknet" ,
+# _("Users Config") => "$_bindir/userdrake" ,
+ _("Internet & Network") => "$_sbindir/draknet" ,
_("Gateway Config") => "$_sbindir/drakgw" , _("Date & Time") => "$_sbindir/clock.pm",
_("User Menus") => "$_bindir/menudrake" , _("Services & Daemons") => "$_sbindir/drakxservices",
_("System Menus") => "$_bindir/menudrake", _("Fonts") => "$_xbindir/drakfont"
@@ -420,8 +421,8 @@ sub exec_treeitem {
$hbox->show;
$vbox2->pack_start($hbox,0,0,0);
my $darea1= new Gtk::DrawingArea();
- $darea1->size(70,70);
- $darea1->set_usize(70,70);
+ $darea1->size(340,15);
+ $darea1->set_usize(340,15);
$hbox->pack_start($darea1,1,0,0);
$darea1->show;
my $socket = new Gtk::Socket;
@@ -437,10 +438,10 @@ sub exec_treeitem {
$darea1->window->draw_pixmap
($darea1->style->white_gc,
$anim[$anim_nb]->[0], 0, 0,
- ($darea1->allocation->[2]-70)/2, ($darea1->allocation->[3]-70)/2,
- 70, 70);
+ ($darea1->allocation->[2]-340)/2, ($darea1->allocation->[3]-15)/2,
+ 340, 15);
$anim_nb++;
- $anim_nb > 7 and $anim_nb=0;
+ $anim_nb > 4 and $anim_nb=0;
1;
});
$lock_time_tag = Gtk->timeout_add(20000, sub {