diff options
-rwxr-xr-x | control-center | 8 |
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, |