summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-01-27 15:05:00 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-01-27 15:05:00 +0000
commitc415e66248af98ae45e3a9011dd6ceebaa86cd5a (patch)
tree6398faba0595a1e92b2345ad042918b41ee4e61f
parent91b14b698ca165cbfd63368a68e935cd3ca7dbbe (diff)
downloadcontrol-center-c415e66248af98ae45e3a9011dd6ceebaa86cd5a.tar
control-center-c415e66248af98ae45e3a9011dd6ceebaa86cd5a.tar.gz
control-center-c415e66248af98ae45e3a9011dd6ceebaa86cd5a.tar.bz2
control-center-c415e66248af98ae45e3a9011dd6ceebaa86cd5a.tar.xz
control-center-c415e66248af98ae45e3a9011dd6ceebaa86cd5a.zip
remove banner (thus saving vertically 55 pixels, enabling mcc to
nicely appear in 800x600 on both gnome and kde)
-rwxr-xr-xcontrol-center13
1 files changed, 2 insertions, 11 deletions
diff --git a/control-center b/control-center
index 57db7cf7..ccfcb6ee 100755
--- a/control-center
+++ b/control-center
@@ -264,7 +264,7 @@ my @tree =
# main window :
-my ($global_width, $global_height) = (720, 578);
+my ($global_width, $global_height) = (720, 523);
my ($timeout, $show_log_check_box, $embedded_check_box, $expert_wizard_check_box);
@@ -325,8 +325,7 @@ $expert_wizard_check_box = $factory->get_widget("<main>" . N("/Options") . N("/E
gtkadd($window_global,
gtkpack_(Gtk2::VBox->new(0, 3),
0, $menu,
- 0, gtkset_size_request(my $darea_title = Gtk2::DrawingArea->new, $global_width, 55),
- 0, Gtk2::HSeparator->new,
+# 0, Gtk2::HSeparator->new,
1, gtkpack_(Gtk2::HBox->new(0, 0),
0, my $fixed_left = Gtk2::Fixed->new,
1, gtkpack_(my $right_box = Gtk2::VBox->new(0, 0),
@@ -362,13 +361,7 @@ $notebook_global->set_property('show-tabs', 0); #$notebook_global->set_show_ta
# banner :
-$darea_title->signal_connect(realize => sub { set_back_pixbuf($darea_title, gtkcreate_pixbuf('mcc-title-back')) });
-
my $pixbuf_icon = gtkcreate_pixbuf('mcc-title-icon');
-$darea_title->signal_connect(expose_event => sub {
- $pixbuf_icon->render_to_drawable($darea_title->window, $darea_title->style->white_gc, 0, 0, $darea_title->allocation->width - $pixbuf_icon->get_width, 0, -1, -1, 'none', 0, 0);
-});
-
# main page (summary) :
@@ -585,7 +578,6 @@ $notebook_global->signal_connect(switch_page => sub {
});
$window_global->show_all;
-#$darea_title->hide;
$emb_box->hide;
$SIG{USR1} = \&sig_usr1;
@@ -688,7 +680,6 @@ sub compute_exec_string {
# }
# (re)start logdrake if needed
if ($show_logs && $freeze_log) { #FIXME && !$exp_socket
- my $pid;
my $exp_socket;
gtkadd($exp_frame, $exp_socket = Gtk2::Socket->new);
$exp_socket->realize;