aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2006-11-30 15:31:08 +0000
committerThierry Vignaud <tv@mandriva.org>2006-11-30 15:31:08 +0000
commitb016587903d942272c47461a9cadc3889405c827 (patch)
treef2f6ccbcd8ea1b3e1ab027858dc5a82c0e25cc93
parentd694dc6dfa80f937ad364b6e9eaf06e0111acaf1 (diff)
downloadrpmdrake-b016587903d942272c47461a9cadc3889405c827.tar
rpmdrake-b016587903d942272c47461a9cadc3889405c827.tar.gz
rpmdrake-b016587903d942272c47461a9cadc3889405c827.tar.bz2
rpmdrake-b016587903d942272c47461a9cadc3889405c827.tar.xz
rpmdrake-b016587903d942272c47461a9cadc3889405c827.zip
(update_sources) make the dialog be centered on its parent
-rw-r--r--rpmdrake.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm
index bffae077..0cd546b9 100644
--- a/rpmdrake.pm
+++ b/rpmdrake.pm
@@ -672,6 +672,7 @@ sub update_sources {
my $w; my $label; $w = wait_msg(
$label = Gtk2::Label->new(N("Please wait, updating media...")),
no_wait_cursor => 1,
+ if_($::main_window, transient => $::main_window),
banner => $options{banner},
widgets => [
my $pb = gtkset_size_request(Gtk2::ProgressBar->new, 300, -1),