aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-09-19 13:36:14 +0000
committerThierry Vignaud <tv@mandriva.org>2007-09-19 13:36:14 +0000
commit70febc8c688a6c1ce1d20c63e4aac1beb3bdd998 (patch)
tree7449dfd269e8183ec28605023fedf8a53e739376 /Rpmdrake
parentdd43564ca3b95df48abded396a9f8cafe0e3f402 (diff)
downloadrpmdrake-70febc8c688a6c1ce1d20c63e4aac1beb3bdd998.tar
rpmdrake-70febc8c688a6c1ce1d20c63e4aac1beb3bdd998.tar.gz
rpmdrake-70febc8c688a6c1ce1d20c63e4aac1beb3bdd998.tar.bz2
rpmdrake-70febc8c688a6c1ce1d20c63e4aac1beb3bdd998.tar.xz
rpmdrake-70febc8c688a6c1ce1d20c63e4aac1beb3bdd998.zip
(mainwindow) only show banner when runned from edit-urpm-sources
Diffstat (limited to 'Rpmdrake')
-rw-r--r--Rpmdrake/edit_urpm_sources.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/edit_urpm_sources.pm b/Rpmdrake/edit_urpm_sources.pm
index 40549efc..3a643839 100644
--- a/Rpmdrake/edit_urpm_sources.pm
+++ b/Rpmdrake/edit_urpm_sources.pm
@@ -1129,7 +1129,7 @@ sub mainwindow() {
gtkpack_(
gtknew('VBox', spacing => 5),
0, $menu,
- 0, Gtk2::Banner->new('title-install', N("Configure media")),
+ ($0 =~ /rpm-edit-media|edit-urpm-sources/ ? (0, Gtk2::Banner->new('title-install', N("Configure media"))) : ()),
1, gtkpack_(
gtknew('HBox', spacing => 10),
1, gtknew('ScrolledWindow', child => $list_tv),