diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-09-19 13:36:14 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-09-19 13:36:14 +0000 |
commit | 70febc8c688a6c1ce1d20c63e4aac1beb3bdd998 (patch) | |
tree | 7449dfd269e8183ec28605023fedf8a53e739376 | |
parent | dd43564ca3b95df48abded396a9f8cafe0e3f402 (diff) | |
download | rpmdrake-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
-rw-r--r-- | Rpmdrake/edit_urpm_sources.pm | 2 |
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), |