summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-09-24 12:35:08 +0000
committerThierry Vignaud <tv@mandriva.org>2008-09-24 12:35:08 +0000
commitebc33061ee40790761c51dc1c809f69f34868152 (patch)
treefe44e4cf93e44d1f18d12b53e14c110fc1aa9fd8
parente2269133ff8b1892127ebcdb7dd21d708b4526bc (diff)
downloadcontrol-center-ebc33061ee40790761c51dc1c809f69f34868152.tar
control-center-ebc33061ee40790761c51dc1c809f69f34868152.tar.gz
control-center-ebc33061ee40790761c51dc1c809f69f34868152.tar.bz2
control-center-ebc33061ee40790761c51dc1c809f69f34868152.tar.xz
control-center-ebc33061ee40790761c51dc1c809f69f34868152.zip
further switch from ugtk2 to mygtk2 to build splash window
-rwxr-xr-xcontrol-center5
1 files 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<span size="x-large" weight="heavy">),
+ gtknew('Label', text_markup => join('', qq(\n<span size="x-large" weight="heavy">),
N("Mandriva Linux Control Center"),
"</span>"),
),
- 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]) }),
)