summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordamien <damien@mandriva.com>2002-01-25 14:46:33 +0000
committerdamien <damien@mandriva.com>2002-01-25 14:46:33 +0000
commite7cf4351d7422e0dca984f1639baa04f0c7c43a7 (patch)
tree6077d8ceaf059857d398515e1acc411d4e9a10d7
parentba8c3634ed33948f3bedcbeb5461ef5b6464645f (diff)
downloadcontrol-center-e7cf4351d7422e0dca984f1639baa04f0c7c43a7.tar
control-center-e7cf4351d7422e0dca984f1639baa04f0c7c43a7.tar.gz
control-center-e7cf4351d7422e0dca984f1639baa04f0c7c43a7.tar.bz2
control-center-e7cf4351d7422e0dca984f1639baa04f0c7c43a7.tar.xz
control-center-e7cf4351d7422e0dca984f1639baa04f0c7c43a7.zip
updated
-rwxr-xr-xcontrol-center24
1 files 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 });