summaryrefslogtreecommitdiffstats
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
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
-rwxr-xr-xcontrol-center319
-rw-r--r--pixmaps/anim_1.pngbin1355 -> 580 bytes
-rw-r--r--pixmaps/anim_2.pngbin1323 -> 565 bytes
-rw-r--r--pixmaps/anim_3.pngbin1355 -> 584 bytes
-rw-r--r--pixmaps/anim_4.pngbin1066 -> 571 bytes
-rw-r--r--pixmaps/anim_5.pngbin1281 -> 567 bytes
6 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 {
diff --git a/pixmaps/anim_1.png b/pixmaps/anim_1.png
index 7727dfd2..20f7dd27 100644
--- a/pixmaps/anim_1.png
+++ b/pixmaps/anim_1.png
Binary files differ
diff --git a/pixmaps/anim_2.png b/pixmaps/anim_2.png
index acc171df..6b82a247 100644
--- a/pixmaps/anim_2.png
+++ b/pixmaps/anim_2.png
Binary files differ
diff --git a/pixmaps/anim_3.png b/pixmaps/anim_3.png
index d89ad7d0..edd8e697 100644
--- a/pixmaps/anim_3.png
+++ b/pixmaps/anim_3.png
Binary files differ
diff --git a/pixmaps/anim_4.png b/pixmaps/anim_4.png
index 48797b72..e31cb024 100644
--- a/pixmaps/anim_4.png
+++ b/pixmaps/anim_4.png
Binary files differ
diff --git a/pixmaps/anim_5.png b/pixmaps/anim_5.png
index 772f8655..bc97151e 100644
--- a/pixmaps/anim_5.png
+++ b/pixmaps/anim_5.png
Binary files differ