summaryrefslogtreecommitdiffstats
path: root/control-center3
diff options
context:
space:
mode:
authordamien <damien@mandriva.com>2001-03-07 16:25:35 +0000
committerdamien <damien@mandriva.com>2001-03-07 16:25:35 +0000
commit38966219fe1fc073beefd30d7f52dacd4fe09474 (patch)
treea2b242bf56d6006d026cf023305ce7ea74f6049c /control-center3
parent2c9b6727f2bda1540fc8899da2bc3e6eca99d39a (diff)
downloadcontrol-center-38966219fe1fc073beefd30d7f52dacd4fe09474.tar
control-center-38966219fe1fc073beefd30d7f52dacd4fe09474.tar.gz
control-center-38966219fe1fc073beefd30d7f52dacd4fe09474.tar.bz2
control-center-38966219fe1fc073beefd30d7f52dacd4fe09474.tar.xz
control-center-38966219fe1fc073beefd30d7f52dacd4fe09474.zip
updated , added
Diffstat (limited to 'control-center3')
-rwxr-xr-xcontrol-center320
1 files changed, 10 insertions, 10 deletions
diff --git a/control-center3 b/control-center3
index af7903ba..6825520d 100755
--- a/control-center3
+++ b/control-center3
@@ -130,19 +130,19 @@ $window_global->realize;
my $tree= new Gtk::Tree;
$tree->set_selection_mode('browse');
-
$vbox_global_left->pack_start($tree,1,1,0);
map {
create_tree_item($tree, $_->[0] , "$xpm_path_l/$_->[1]",1);
-} ([_("Boot"), 'drakboot-mdk.png'] , [_("Hardware"), 'logo.png'] , [_("User and Groups"),'adduserdrake-mdk.png'],
- [_("Network & Internet"),'draknet-mdk.png'] , [_("System"),'menudrake-mdk.png'] , [_("Font Management"),'drakfont-mdk.png']);
+} ([_("Boot"), 'boot-mdk.png'] , [_("Hardware"), 'drakhard-mdk.png'] ,
+#[_("User and Groups"),'adduserdrake-mdk.png'],
+ [_("Network & Internet"),'net-mdk.png'] , [_("System"),'menudrake-mdk.png'] , [_("Font Management"),'font-mdk.png']);
map {
create_tree_item($treeitem_sub[int($_->[2])],$_->[0], "$xpm_path_l/$_->[1]",0);
-} ([_("Boot Config"),'drakboot-mdk.png',5] , [_("Boot Disk"), 'drakboot-mdk.png',5] , [_("Boot Logo"), 'drakboot-mdk.png',5],
- [_("Display"),'item.png',4] , [_("Hardware"),'item.png',4] , [_("Mouse"), 'item.png',4] ,
- [_("Printer"),'printer-mdk.png',4] , [_("Keyboard"), 'keyboard-mdk.png',4],
- [_("Users Config"),'item.png',3] ,
+} ([_("Boot Config"),'drakboot-mdk.png',4] , [_("Boot Disk"), 'drakfloppy-mdk.png',4] , [_("Boot Logo"), 'draklogo-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] ,
[_("Internet & Network") , 'draknet-mdk.png',2] , [_("Gateway Config"),'drakgw-mdk.png',2],
[_("Date & Time") , 'item.png',1], [_("System Menus") , 'item.png',1], [_("User Menus") , 'item.png',1] , [_("Services & Daemons") , 'item.png' , 1],
[_("Fonts"), 'drakfont-mdk.png',0]
@@ -152,7 +152,7 @@ my %tree_exec = (_("Boot Config") => "$_sbindir/drakboot", _("Boot Disk") => "$_
_("Boot Logo") => "$_xbindir/DrakeLogo" , _("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"
@@ -202,13 +202,13 @@ sub draw_exposed {
my @info_tree = split / /, $revtree[0];
my ($sysname, $nodename, $release, $version, $machine ) = POSIX::uname();
- my $username= POSIX::cuserid();
+# my $username= POSIX::cuserid();
my $style1 = new Gtk::Style;
$style1->font(Gtk::Gdk::Font->fontset_load(_("-adobe-times-bold-r-normal--14-*-100-100-p-*-iso8859-*,*-r-*")));
my $i=0;
- foreach( [_("User:"), $username],
+ foreach( #[_("User:"), $username],
[_("System:"), "$info_tree[0] $info_tree[1] $info_tree[3] $info_tree[4]"],
[_("Hostname:"), $nodename],
[_("Kernel Version:"), "$release $version"],