summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYves Duret <yduret@mandriva.com>2001-08-10 16:27:49 +0000
committerYves Duret <yduret@mandriva.com>2001-08-10 16:27:49 +0000
commitbec3dc856fbb22c40430ce01d8c6b7c66f45102e (patch)
tree10a54366ceb0109c3d374d21395635354d871e1d
parent0e4454fbb24a789c94907bd9bb3e4d13bdb15f9b (diff)
downloadcontrol-center-bec3dc856fbb22c40430ce01d8c6b7c66f45102e.tar
control-center-bec3dc856fbb22c40430ce01d8c6b7c66f45102e.tar.gz
control-center-bec3dc856fbb22c40430ce01d8c6b7c66f45102e.tar.bz2
control-center-bec3dc856fbb22c40430ce01d8c6b7c66f45102e.tar.xz
control-center-bec3dc856fbb22c40430ce01d8c6b7c66f45102e.zip
corrected bug in manu thanx laurent
-rwxr-xr-xcontrol-center8
1 files changed, 7 insertions, 1 deletions
diff --git a/control-center b/control-center
index 60055176..fe79cbf0 100755
--- a/control-center
+++ b/control-center
@@ -87,7 +87,7 @@ my @menu_items = (
{ path => _("/Help")._("/_About..."), callback => \&about_mdk_cc }
);
my $menubar = get_main_menu( $window_global );
-$vbox_global->pack_start($menubar, 1, 1, 0);
+$vbox_global->pack_start($menubar, 0, 0, 0);
######### menus end
$vbox_global->pack_start(new Gtk::HSeparator, 0, 1, 0);
@@ -192,8 +192,14 @@ $darea1->signal_connect( expose_event => sub { $darea1->window->draw_pixmap
($darea1->allocation->[2]-540)/2, ($darea1->allocation->[3]-460)/2,
540, 460);
});
+
+Gtk->main_iteration while Gtk->events_pending;
Gtk->main;
+#-------------------------------------------------------------
+# sub
+#-------------------------------------------------------------
+
sub draw_exposed {
my ( $pix )=@_;
$pix->draw_pixmap($darea1->style->white_gc, $pix_splash_map,