From ebc33061ee40790761c51dc1c809f69f34868152 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 24 Sep 2008 12:35:08 +0000 Subject: further switch from ugtk2 to mygtk2 to build splash window --- control-center | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/control-center b/control-center index 68adb0ee..329cdf40 100755 --- a/control-center +++ b/control-center @@ -92,15 +92,16 @@ my $window_splash = Gtk2::Window->new('popup'); $window_splash->signal_connect(delete_event => \&quit_global); $window_splash->set_title(N("Mandriva Linux Control Center")); $window_splash->set_position('center_always'); + $window_splash->add(gtkadd(gtkset_shadow_type(Gtk2::Frame->new, 'etched_out'), gtknew('Fixed', has_window => 1, child => gtknew('VBox', homogenous => 0, spacing => 0, children_loose => [ if_(-r "$themes_dir/$theme/splash_screen.png", gtkcreate_img("splash_screen")), - gtkset_markup(Gtk2::Label->new, join('', qq(\n), + gtknew('Label', text_markup => join('', qq(\n), N("Mandriva Linux Control Center"), ""), ), - Gtk2::Label->new(N("Loading... Please wait") . "\n"), + gtknew('Label', text => N("Loading... Please wait") . "\n"), ]), x => 0, y => 0, realize => sub { ugtk2::set_back_pixmap($_[0]) }), ) -- cgit v1.2.1