diff options
author | damien <damien@mandriva.com> | 2001-03-14 18:38:03 +0000 |
---|---|---|
committer | damien <damien@mandriva.com> | 2001-03-14 18:38:03 +0000 |
commit | f0684385e9f734a385859d90f2ab510711acdae0 (patch) | |
tree | cb0bbcf744e16141aeb1ccf0c03b0c98c8b73e68 /control-center3 | |
parent | 4332cbecd5a8cf815b295b66c4638b1edd7a94b7 (diff) | |
download | control-center-f0684385e9f734a385859d90f2ab510711acdae0.tar control-center-f0684385e9f734a385859d90f2ab510711acdae0.tar.gz control-center-f0684385e9f734a385859d90f2ab510711acdae0.tar.bz2 control-center-f0684385e9f734a385859d90f2ab510711acdae0.tar.xz control-center-f0684385e9f734a385859d90f2ab510711acdae0.zip |
updated
Diffstat (limited to 'control-center3')
-rwxr-xr-x | control-center3 | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/control-center3 b/control-center3 index 607846a9..d98b74fe 100755 --- a/control-center3 +++ b/control-center3 @@ -20,6 +20,9 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +use lib qw(/usr/lib/libDrakX); +use interactive; +use my_gtk qw(:helpers :wrappers); use Config; use Env; @@ -137,7 +140,7 @@ 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"),'item.png']); + [_("Network & Internet"),'net-mdk.png'] , [_("System"),'system-mdk.png']); map { create_tree_item($treeitem_sub[int($_->[2])],$_->[0], "$xpm_path_l/$_->[1]",0); @@ -146,7 +149,7 @@ map { [_("Printer"),'printer-mdk.png',2] , [_("Keyboard"), 'keyboard-mdk.png',2], # [_("Users Config"),'item.png',3] , [_("Internet & Network") , 'draknet-mdk.png',1] , [_("Gateway Config"),'drakgw-mdk.png',1], - [_("Date & Time") , 'time-mdk.png',0], [_("System Menus") , 'menudrake-mdk.png',0], [_("User Menus") , 'menudrake-mdk.png',0] , [_("Services & Daemons") , 'item.png' , 0], [_("Fonts"), 'drakfont-mdk.png',0] + [_("System Menus") , 'menudrake-mdk.png',0], [_("User Menus") , 'menudrake-mdk.png',0] , [_("Services") , 'service-mdk.png' , 0], [_("Fonts"), 'drakfont-mdk.png',0], [_("Date & Time") , 'time-mdk.png',0], [_("Root Password") , 'passwd-mdk.png',0] ); my %tree_exec = (_("Boot Config") => "$_sbindir/drakboot", _("Boot Disk") => "$_xbindir/drakfloppy", @@ -156,8 +159,9 @@ my %tree_exec = (_("Boot Config") => "$_sbindir/drakboot", _("Boot Disk") => "$_ # _("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" + _("User Menus") => "$_bindir/menudrake" , _("Services") => "$_sbindir/drakxservices", + _("System Menus") => "$_bindir/menudrake", _("Fonts") => "$_xbindir/drakfont", + _("Root Password") => "$_sbindir/drakpasswd", _("Fonts") => "$_xbindir/drakfont" ); my @pid_launched; @@ -429,8 +433,7 @@ sub exec_treeitem { my $darea1= new Gtk::DrawingArea(); $darea1->size(350,13); $darea1->set_usize(340,15); - $hbox->pack_start($darea1,1,0,0); - $darea1->show; + $hbox->pack_start(gtkshow(gtkadd(gtkset_shadow_type(new Gtk::Frame, 'etched_out'),$darea1)),1,0,0); my $socket = new Gtk::Socket; $global_socket = \$socket; $vbox->pack_start($socket, 1, 1, 0); |