aboutsummaryrefslogtreecommitdiffstats
path: root/rpmdrake.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-09-17 10:48:37 +0000
committerThierry Vignaud <tv@mandriva.org>2008-09-17 10:48:37 +0000
commit12e3f1da4976b60fb5c2ea70bfecbeac429b0929 (patch)
tree49949d7fd0208faf33037018cafccae06974137f /rpmdrake.pm
parent9622848820e31419d3a8deb89ee026a11d4cb32c (diff)
downloadrpmdrake-12e3f1da4976b60fb5c2ea70bfecbeac429b0929.tar
rpmdrake-12e3f1da4976b60fb5c2ea70bfecbeac429b0929.tar.gz
rpmdrake-12e3f1da4976b60fb5c2ea70bfecbeac429b0929.tar.bz2
rpmdrake-12e3f1da4976b60fb5c2ea70bfecbeac429b0929.tar.xz
rpmdrake-12e3f1da4976b60fb5c2ea70bfecbeac429b0929.zip
kill support for unused 'banner' option
Diffstat (limited to 'rpmdrake.pm')
-rw-r--r--rpmdrake.pm5
1 files changed, 0 insertions, 5 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm
index 7004a832..27129837 100644
--- a/rpmdrake.pm
+++ b/rpmdrake.pm
@@ -216,14 +216,12 @@ sub interactive_msg {
} else { #- because we'll use a WrappedLabel
$contents = formatAlaTeX($contents) if !ref $contents;
}
- my $banner = $options{banner} ? getbanner() : undef;
my $text_w;
my $button_yes;
gtkadd(
$d->{window},
gtkpack_(
Gtk2::VBox->new(0, 5),
- if_($banner, 0, $banner),
1,
(
$options{scroll} ?
@@ -349,12 +347,10 @@ sub wait_msg {
my $mainw = ugtk2->new(N("Please wait"), grab => 1, if_(exists $options{transient}, transient => $options{transient}));
$mainw->{real_window}->set_position($options{transient} ? 'center_on_parent' : 'center_always');
my $label = ref($msg) =~ /^Gtk/ ? $msg : Gtk2::WrappedLabel->new($msg);
- my $banner = $options{banner} ? getbanner() : undef;
gtkadd(
$mainw->{window},
gtkpack__(
gtkset_border_width(Gtk2::VBox->new(0, 5), 6),
- if_($banner, $banner),
$label,
if_(exists $options{widgets}, @{$options{widgets}}),
)
@@ -723,7 +719,6 @@ sub update_sources {
my $w; my $label; $w = wait_msg(
$label = Gtk2::Label->new(N("Please wait, updating media...")),
no_wait_cursor => 1,
- banner => $options{banner},
widgets => [
my $pb = gtkset_size_request(Gtk2::ProgressBar->new, 300, -1),
gtkpack(