aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2006-08-23 08:59:27 +0000
committerThierry Vignaud <tv@mandriva.org>2006-08-23 08:59:27 +0000
commit33f43e437fbed0a1ebb99e8775e2688c5c2bd7ab (patch)
treebc814931cae672a3a2d886798cbfa5f31877a02a
parentf7e06027e5e3fabe15f6224ebe1f6bb817fa052d (diff)
downloadrpmdrake-33f43e437fbed0a1ebb99e8775e2688c5c2bd7ab.tar
rpmdrake-33f43e437fbed0a1ebb99e8775e2688c5c2bd7ab.tar.gz
rpmdrake-33f43e437fbed0a1ebb99e8775e2688c5c2bd7ab.tar.bz2
rpmdrake-33f43e437fbed0a1ebb99e8775e2688c5c2bd7ab.tar.xz
rpmdrake-33f43e437fbed0a1ebb99e8775e2688c5c2bd7ab.zip
(getbanner) display a more generic banner
-rw-r--r--rpmdrake.pm7
1 files changed, 5 insertions, 2 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm
index fa710811..0ee80d42 100644
--- a/rpmdrake.pm
+++ b/rpmdrake.pm
@@ -168,11 +168,14 @@ sub writeconf() {
sub getbanner() {
$::MODE or return undef;
- Gtk2::Banner->new("title-$::MODE", {
+ if (0) {
+ +{
remove => N("Software Packages Removal"),
update => N("Software Packages Update"),
install => N("Software Packages Installation"),
- }->{$::MODE});
+ };
+ }
+ Gtk2::Banner->new('title-update', N("Software Management"));;
}
sub interactive_msg {