diff options
author | Daouda Lo <daouda@mandriva.com> | 2001-05-30 10:00:37 +0000 |
---|---|---|
committer | Daouda Lo <daouda@mandriva.com> | 2001-05-30 10:00:37 +0000 |
commit | a25106a3228dac72c8995e2f6b575af208994870 (patch) | |
tree | 9a8857d83d772c8b7c3920eff27a5c3e4087b7e5 | |
parent | 13a4479a34a5f1400e03c57ceb71b39d1aaf21fa (diff) | |
download | control-center-a25106a3228dac72c8995e2f6b575af208994870.tar control-center-a25106a3228dac72c8995e2f6b575af208994870.tar.gz control-center-a25106a3228dac72c8995e2f6b575af208994870.tar.bz2 control-center-a25106a3228dac72c8995e2f6b575af208994870.tar.xz control-center-a25106a3228dac72c8995e2f6b575af208994870.zip |
add linuxconf to system
-rwxr-xr-x | control-center | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/control-center b/control-center index cc19efcd..31ade2ea 100755 --- a/control-center +++ b/control-center @@ -135,7 +135,7 @@ map { create_tree_item($tree, $_->[0] , "$xpm_path_l/$_->[1]",1); } ([_("Boot"), 'boot-mdk.png'] , [_("Hardware"), 'drakhard-mdk.png'] , [_("Network & Internet"),'net-mdk.png'] , [_("Security"),'security-mdk.png'], [_("System"),'system-mdk.png']); - + map { create_tree_item($treeitem_sub[int($_->[2])],$_->[0], "$xpm_path_l/$_->[1]",0); } ([_("Boot Disk"), 'drakfloppy-mdk.png',4] , [_("Boot Config"),'drakboot-mdk.png',4] , @@ -145,7 +145,7 @@ map { [_("Security Level"), 'draksec-mdk.png',1], [_("Firewalling"), 'firewall-mdk.png',1], [_("Menus") , 'menudrake-mdk.png',0], [_("Services") , 'service-mdk.png' , 0], [_("Fonts"), 'drakfont-mdk.png',0], [_("Date & Time") , 'time-mdk.png',0], - [_("Software Manager"), 'harddrake-mdk.png',0] + [_("Software Manager"), 'harddrake-mdk.png',0], [_("LinuxConf"), 'drakhard-mdk.png', 0] ); my %tree_exec = (_("Boot Disk") => "$_xbindir/drakfloppy.real", _("Boot Config") => "$_sbindir/drakboot", @@ -162,6 +162,7 @@ my %tree_exec = (_("Boot Disk") => "$_xbindir/drakfloppy.real", _("Boot Config") _("Services") => "$_sbindir/drakxservices", _("Fonts") => "$_xbindir/drakfont", _("Software Manager") => "$_bindir/rpmdrake", + _("LinuxConf") => "/sbin/linuxconf", _("Root Password") => "$_sbindir/drakpasswd", ); @@ -187,7 +188,6 @@ $SIG{USR2} = sub { Gtk->timeout_remove($lock_time_tag); $notebook_global->set_page($a); }; - my $pix_dbl = new Gtk::Gdk::Pixmap($darea1->window, 540,460); draw_exposed($pix_dbl); $darea1->signal_connect( expose_event => sub { $darea1->window->draw_pixmap @@ -295,7 +295,7 @@ sub connect_to_site { if ($help) { if ($browser) - { + { print ("»$browser«\n»$link«\n"); system("$browser $link &"); } @@ -392,6 +392,7 @@ sub exec_treeitem { } if (!$tree_launched{$label}->[0]) { $label eq _("Software Manager") and system($exec_string . " --embedded &" ), return; + $label eq _("LinuxConf") and system($exec_string . " &"), return; my $vbox = new Gtk::VBox(0, 0); $vbox->show; my $vbox2 = new Gtk::VBox(0, 0); |