aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/pkg.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-04-29 13:44:34 +0000
committerThierry Vignaud <tv@mandriva.org>2009-04-29 13:44:34 +0000
commit110d493b511507832d76764ba6aeba02ea8f15d1 (patch)
tree267fc8fd52b2fca712f08a6a6e1d9b1023298947 /Rpmdrake/pkg.pm
parente8d49f3f0385085a54496983767f775541febe48 (diff)
downloadrpmdrake-110d493b511507832d76764ba6aeba02ea8f15d1.tar
rpmdrake-110d493b511507832d76764ba6aeba02ea8f15d1.tar.gz
rpmdrake-110d493b511507832d76764ba6aeba02ea8f15d1.tar.bz2
rpmdrake-110d493b511507832d76764ba6aeba02ea8f15d1.tar.xz
rpmdrake-110d493b511507832d76764ba6aeba02ea8f15d1.zip
(extract_header) fix creating the gurpm dialog
(really just fixing a warning since ugtk2->new had a fallback on $::main_window for the transient hint)
Diffstat (limited to 'Rpmdrake/pkg.pm')
-rw-r--r--Rpmdrake/pkg.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index a0b53bd5..7c1314c7 100644
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -109,7 +109,9 @@ sub extract_header {
$bar_id = statusbar_msg(N("Getting '%s' from XML meta-data...", $xml_info), 0);
my $_gurpm_clean_guard = before_leaving { undef $gurpm };
if (my $xml_info_file = eval { urpm::media::any_xml_info($urpm, $medium, $xml_info, undef, sub {
- $gurpm ||= Rpmdrake::gurpm->new(N("Please wait"), transient => $::main_window);
+ $gurpm ||= Rpmdrake::gurpm->new(N("Please wait"),
+ '', # FIXME: add a real string after cooker
+ transient => $::main_window);
download_callback($gurpm, @_)
or goto header_non_available;
}) }) {