From e7cf4351d7422e0dca984f1639baa04f0c7c43a7 Mon Sep 17 00:00:00 2001 From: damien Date: Fri, 25 Jan 2002 14:46:33 +0000 Subject: updated --- control-center | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/control-center b/control-center index 6758bdb8..7c375a0f 100755 --- a/control-center +++ b/control-center @@ -83,7 +83,14 @@ my @tree = [_("Mouse"), 'mousedrake-mdk.png', "$_sbindir/mousedrake"], [_("Printer"),'printer-mdk.png', "$_sbindir/print.pm"], [_("Keyboard"), 'keyboard-mdk.png', "$_sbindir/keyboarddrake"], - [_("Mount Points"),'partition-mdk.png', "$_sbindir/diskdrake"], + ] + ], + [_("Mount Points"),'partition-mdk', + [ + [_("Hard Drives"), 'hd-mdk.png', "$_sbindir/diskdrake --hd"], + [_("Removable disks"), 'removables-mdk.png',"$_sbindir/diskdrake --removable"], + [_("NFS mount points"), 'nfs-mdk.png', "$_sbindir/diskdrake --nfs"], + [_("Samba mount points"), 'smb-mdk.png', "$_sbindir/diskdrake --smb"], ] ], [_("Network & Internet"),'net-mdk', @@ -103,7 +110,7 @@ my @tree = [ [_("Menus") , 'menudrake-mdk.png', "$_sbindir/menus.pm"], [_("Services") , 'service-mdk.png', "$_sbindir/drakxservices"], - [_("Fonts"), 'drakfont-mdk.png', "$_xbindir/drakfont"], + [_("Fonts"), 'drakfont-mdk.png', "$_sbindir/drakfont"], [_("Date & Time") , 'time-mdk.png', "$_sbindir/clock.pm"], [_("Software Manager"), 'harddrake-mdk.png', "$_bindir/rpmdrake"], [_("Logs"), 'logdrake-mdk.png', "$_sbindir/logdrake"], @@ -226,7 +233,18 @@ $window_global->add( foreach (@darea_left_list) { $fixed_left->put($_->[1], 0, $_->[0]); } -$fixed_left->signal_connect( realize => sub { $fixed_left->window->set_back_pixmap($back[0], 0) }); + +my ($check1, $check2); +$fixed_left->signal_connect( realize => sub { + $fixed_left->window->set_back_pixmap($back[0], 0); + $fixed_left->put(gtkshow(gtkset_usize(new Gtk::HSeparator, $fixed_left->allocation->[2], 0)), 0, $index * 45 + 5); + $fixed_left->put(gtkpack__(gtkshow(new Gtk::VBox), + (map { $_->[0] = gtkset_usize(new Gtk::CheckButton($_->[1]), $fixed_left->allocation->[2] - 30, 0) } + ([$check1, _("display logs")], [$check2, _("launch embedded")])), + gtkset_usize(new Gtk::HBox, 0, 5) + ), + 15, $index * 45 + 10); + }); # my $dbl_arealast; # $last_darea->signal_connect( size_allocate => sub { $dbl_arealast = undef }); -- cgit v1.2.1