summaryrefslogtreecommitdiffstats
path: root/cest_ton_boot
diff options
context:
space:
mode:
Diffstat (limited to 'cest_ton_boot')
-rwxr-xr-xcest_ton_boot4
1 files changed, 3 insertions, 1 deletions
diff --git a/cest_ton_boot b/cest_ton_boot
index 369cd8d0..a43b4e01 100755
--- a/cest_ton_boot
+++ b/cest_ton_boot
@@ -74,6 +74,8 @@ $window->set_title( I_("ce soir tu choisis ton boot") );
#$window->set_policy('automatic', 'automatic');
$window->set_policy(0, 0, 0);
$window->border_width (10);
+$window->realize;
+
### menus definition
# the menus are not shown
@@ -141,7 +143,7 @@ $a_box->set_sensitive (0);
$a_dedans->pack_start ($a_box, 0, 0, 0);
# now for the pixmap from gdk
-my ( $pixmap, $mask ) = Gtk::Gdk::Pixmap->create_from_xpm_d( NULL, $window->get_style()->bg( 'normal' ), @xpm_data );
+my ( $pixmap, $mask ) = Gtk::Gdk::Pixmap->create_from_xpm( $window->window, $window->get_style()->bg( 'normal' ), "./c.xpm" );
# a pixmap widget to contain the pixmap
my $pixmapwid = new Gtk::Pixmap( $pixmap, $mask );