summaryrefslogtreecommitdiffstats
path: root/perl-install/bootlook.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-02-20 16:01:00 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-02-20 16:01:00 +0000
commit080349d7b71363945c57418666303b206baa544d (patch)
tree8e5c274464cce57244242202c66019d804efb36c /perl-install/bootlook.pm
parent19c994ff5934918a91f79f03ef0713164bf7d1cf (diff)
downloaddrakx-backup-do-not-use-080349d7b71363945c57418666303b206baa544d.tar
drakx-backup-do-not-use-080349d7b71363945c57418666303b206baa544d.tar.gz
drakx-backup-do-not-use-080349d7b71363945c57418666303b206baa544d.tar.bz2
drakx-backup-do-not-use-080349d7b71363945c57418666303b206baa544d.tar.xz
drakx-backup-do-not-use-080349d7b71363945c57418666303b206baa544d.zip
don't use gtk+2 deprecated functions
Diffstat (limited to 'perl-install/bootlook.pm')
-rw-r--r--perl-install/bootlook.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/bootlook.pm b/perl-install/bootlook.pm
index 4292a2b87..86115149f 100644
--- a/perl-install/bootlook.pm
+++ b/perl-install/bootlook.pm
@@ -47,7 +47,7 @@ my $lilogrub = chomp_(`detectloader -q`);
my $window = $::isEmbedded ? new Gtk2::Plug($::XID) : new Gtk2::Window("toplevel");
$window->signal_connect(delete_event => sub { $::isEmbedded ? kill('USR1', $::CCPID) : Gtk2->exit(0) });
$window->set_title(N("Boot Style Configuration"));
-$window->border_width(2);
+$window->set_border_width(2);
#$window->realize;
# drakX mode
@@ -162,7 +162,7 @@ $no_bootsplash == 0
my $img_file = $themes{path}.$combo{boot}->entry->get_text().$themes{boot}{path}."bootsplash-$cur_res.jpg";
undef($boot_pixmap);
$boot_pixmap = gtkcreate_pixbuf( $img_file);
- $boot_pixmap = $boot_pixmap->scale_simple(155,116,0);
+ $boot_pixmap = $boot_pixmap->scale_simple(155, 116, 'nearest');
$boot_pic->set($boot_pixmap->render_pixmap_and_mask(0), '');
});