diff options
author | Mystery Man 527 <uid527@mandriva.org> | 2001-02-12 17:37:02 +0000 |
---|---|---|
committer | Mystery Man 527 <uid527@mandriva.org> | 2001-02-12 17:37:02 +0000 |
commit | ccba16fa8e959005f4e85830812e3ecd79708759 (patch) | |
tree | fdd2747348f688646ef51836f8395616627e458a /control-center3 | |
parent | d0f617f56772b9fa995c3b453816ee8ca62b5e18 (diff) | |
download | control-center-ccba16fa8e959005f4e85830812e3ecd79708759.tar control-center-ccba16fa8e959005f4e85830812e3ecd79708759.tar.gz control-center-ccba16fa8e959005f4e85830812e3ecd79708759.tar.bz2 control-center-ccba16fa8e959005f4e85830812e3ecd79708759.tar.xz control-center-ccba16fa8e959005f4e85830812e3ecd79708759.zip |
fuck
Diffstat (limited to 'control-center3')
-rwxr-xr-x | control-center3 | 29 |
1 files changed, 17 insertions, 12 deletions
diff --git a/control-center3 b/control-center3 index abd31216..dcac1487 100755 --- a/control-center3 +++ b/control-center3 @@ -28,8 +28,13 @@ use POSIX; init Gtk; use Data::Dumper; +my $_xbindir = "/usr/X11R6/bin"; +my $_bindir = "/usr/bin"; +my $_sbindir = "/usr/sbin"; +my $_iconsdir = "/usr/share/icons"; + my %pixmaps_global; -my $xpm_path="/usr/share/icons/"; +my $xpm_path="$_iconsdir"; my $xpm_path_l="./pixmaps"; my $tree_depth_max = 1; my @treeitem_sub; @@ -179,24 +184,24 @@ map { map { create_tree_item($treeitem_sub[int($_->[2])],$_->[0], "$xpm_path/$_->[1]",0); } (['Boot Loader','item.xpm',5] , ['Boot Disk', 'item.xpm',5] , ['Boot Logo', 'item.xpm',5], - ['XFDrake','item.xpm',4] , ['Hardrake','item.xpm',4] , ['Mousedrake', 'item.xpm',4] , ['Printerdrake','item.xpm',4] , ['Keyboarddrake', 'item.xpm',4], + ['XFDrake','item.xpm',4] , ['Harddrake','item.xpm',4] , ['Mousedrake', 'item.xpm',4] , ['Printerdrake','item.xpm',4] , ['Keyboarddrake', 'item.xpm',4], ['Userdrake','item.xpm',3] , ['Draknet' , 'item.xpm',2] , ['Drakgw','item.xpm',2], ['Menudrake' , 'item.xpm',1] , ['Drakfont', 'item.xpm', 0]); -%tree_exec = ("Drakboot" => "drakeboot", "Drakfloppy" => "drakfloppy", - "Drakelogo" => "DrakeLogo" , "xfdrake" => "XFDrake" , - "Harddrake" => "harddrake-auth" , "Mousedrake" => "mousedrake" , - "Printerdrake" => "printerdrake" , "Kbddrake" => "keyboarddrake" , - "Userdrake" => "userdrake" , "Draknet" => "draknet" , - "Drakgw" => "drakgw" , "Menudrake" => "menudrake" , "Drakfont" => "drakfont" +%tree_exec = ("Boot Loader" => "$_sbindir/drakeboot", "Boot Disk" => "$_xbindir/drakfloppy", + "Boot Logo" => "$_xbindir/DrakeLogo" , "XFDrake" => "$_sbindir/XFdrake" , + "Harddrake" => "$_bindir/harddrake-auth" , "Mousedrake" => "$_sbindir/mousedrake" , + "Printerdrake" => "$_sbindir/printerdrake" , "Keyboarddrake" => "$_sbindir/keyboarddrake" , + "Userdrake" => "$_bindir/userdrake" , "Draknet" => "$_sbindir/draknet" , + "Drakgw" => "$_sbindir/drakgw" , "Menudrake" => "$_bindir/menudrake" , "Drakfont" => "$_xbindir/drakfont" ); my @pid_launched; -%tree_launched = ("Drakboot" => -1, "Drakfloppy" => -1, - "Drakelogo" => -1 , "xfdrake" => -1 , - "Hardrake" => -1 , "Mousedrake" => -1 , - "Printerdrake" => -1 , "Kbddrake" => -1 , +%tree_launched = ("Boot Loader" => -1, "Boot Disk" => -1, + "Boot Logo" => -1 , "XFDrake" => -1 , + "Harddrake" => -1 , "Mousedrake" => -1 , + "Printerdrake" => -1 , "Keyboarddrake" => -1 , "Userdrake" => -1 , "Draknet" => -1 , "Drakgw" => -1 , "Menudrake" => -1 , "Drakfont" => -1 ); |