summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcontrol-center14
1 files changed, 8 insertions, 6 deletions
diff --git a/control-center b/control-center
index 2c2976d7..d820000b 100755
--- a/control-center
+++ b/control-center
@@ -77,7 +77,9 @@ my @item_factory_entries = (
'action' => 1,
'type' => '<Item>'
},
+ [_("/_Help")._("/_Help on line"), undef, 7],
[_("/_Help")._("/_Report Bug"), undef, 3 ],
+
[_("/_Help"). "/_Sep1", undef, 0, "<Separator>"],
[_("/_Help")._("/Mandrake_Campus"), undef, 5],
[_("/_Help")._("/Mandrake_Expert"), undef, 6],
@@ -141,11 +143,11 @@ map {
} ([_("Boot Disk"), 'drakfloppy-mdk.png',4] , [_("Boot Config"),'drakboot-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],
- [_("Connection") , 'draknet-mdk.png',2] , [_("Connection Sharing"),'drakgw-mdk.png',2],
+ [_("Connection") , 'draknet-mdk.png',2] , [_("Connection Sharing"),'drakgw-mdk.png',2], [_("Samba Conf") , 'menudrake-mdk.png',2],
[_("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], [_("LinuxConf"), 'drakhard-mdk.png', 0]
+ [_("Software Manager"), 'harddrake-mdk.png',0],[_("test gecko"), 'draknet-mdk.png',0]
);
my %tree_exec = (_("Boot Disk") => "$_xbindir/drakfloppy.real", _("Boot Config") => "$_sbindir/drakboot",
@@ -154,7 +156,7 @@ my %tree_exec = (_("Boot Disk") => "$_xbindir/drakfloppy.real", _("Boot Config")
_("Printer") => "$_sbindir/printerdrake" , _("Keyboard") => "$_sbindir/keyboarddrake" ,
_("Connection") => "$_sbindir/draknet" ,
_("Connection Sharing") => "$_sbindir/drakgw" ,
-
+ _("Samba Conf") => "/sbin/smbdrake",
_("Firewalling") => "$_sbindir/tinyfirewall" ,
_("Security Level") => "$_sbindir/draksec" ,
_("Date & Time") => "$_sbindir/clock.pm",
@@ -162,8 +164,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",
+ _("test gecko") => "./gecko.pm",
);
my @pid_launched;
@@ -395,7 +396,7 @@ sub exec_treeitem {
return;
}
# $label eq _("Software Manager") and system($exec_string . " --embedded &" ), return;
- $label eq _("LinuxConf") and system($exec_string . " & "), return;
+ $label eq _("Samba Conf") and system($exec_string . " & "), return;
my $vbox = new Gtk::VBox(0, 0);
$vbox->show;
my $vbox2 = new Gtk::VBox(0, 0);
@@ -504,6 +505,7 @@ sub item_factory_cb {
$action == 3 and connect_to_site("https://qa.mandrakesoft.com/",0);
$action == 5 and connect_to_site("http://www.mandrakecampus.com/",0);
$action == 6 and connect_to_site("http://www.mandrakeexpert.com/",0);
+ $action == 7 and system("./gecko.pm /usr/share/doc/HTML/index.html&");
}
sub create_item_factory {