summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-02-27 07:26:35 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-02-27 07:26:35 +0000
commit8bf914c80badf03c6454612180b776219a5861e4 (patch)
tree3afa46b89b6023aab4de715e2da517b9499e5cfc
parent4d4cdb8bd2226ac39fddc5bd2f7db12233c8d09e (diff)
downloadcontrol-center-8bf914c80badf03c6454612180b776219a5861e4.tar
control-center-8bf914c80badf03c6454612180b776219a5861e4.tar.gz
control-center-8bf914c80badf03c6454612180b776219a5861e4.tar.bz2
control-center-8bf914c80badf03c6454612180b776219a5861e4.tar.xz
control-center-8bf914c80badf03c6454612180b776219a5861e4.zip
simplify
-rwxr-xr-xcontrol-center4
1 files changed, 1 insertions, 3 deletions
diff --git a/control-center b/control-center
index 8d7f2db4..d28b02ed 100755
--- a/control-center
+++ b/control-center
@@ -366,7 +366,7 @@ gtkadd($window_global,
),
'mcc'),
1, my $notebook_global = gtkset_name(Gtk2::Notebook->new, 'mcc'),
- 0, gtkset_name(my $w_exp = create_scrolled_window(gtkset_shadow_type(gtkset_size_request(gtkset_border_width($exp_frame = Gtk2::Frame->new(N("Logs")), 5), -1, 120), 'etched_in'), undef, 'none'), 'mcc'),
+ 0, gtkset_name(my $w_exp = create_scrolled_window(gtkset_shadow_type(gtkset_size_request(gtkset_border_width($exp_frame = Gtk2::Frame->new(N("Logs")), 5), -1, 120), 'etched_in'), [ 'never', 'never' ], 'none'), 'mcc'),
0, gtksignal_connect(gtkset_size_request(Gtk2::DrawingArea->new(), -1, 1),
realize => sub { set_back_pixbuf($_[0], gtkcreate_pixbuf('mcc-right-bottom')) }),
@@ -376,8 +376,6 @@ gtkadd($window_global,
)
);
-$w_exp->set_policy('never', 'never');
-
$window_global->signal_connect(delete_event => \&quit_global);
$window_global->set_title(N("Mandrake Control Center %s", $version));
$window_global->set_position('center');