summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2017-04-26 21:06:23 +0200
committerRémi Verschelde <rverschelde@gmail.com>2017-04-26 21:23:33 +0200
commit410cac6cff39dcb65371ba8cbc98f9c389a9f577 (patch)
tree9248f2ccc022f55a11bfa250a34b6b16e1aff9a8
parentae1e606f05c0630e4baee997638ce01f71bc3682 (diff)
downloadurpmi-410cac6cff39dcb65371ba8cbc98f9c389a9f577.tar
urpmi-410cac6cff39dcb65371ba8cbc98f9c389a9f577.tar.gz
urpmi-410cac6cff39dcb65371ba8cbc98f9c389a9f577.tar.bz2
urpmi-410cac6cff39dcb65371ba8cbc98f9c389a9f577.tar.xz
urpmi-410cac6cff39dcb65371ba8cbc98f9c389a9f577.zip
Enforce gurpmi ProgressDialog centering
Should help with mga#19196.
-rw-r--r--NEWS3
-rw-r--r--gurpm/RPMProgressDialog.pm2
2 files changed, 3 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 9081ccf0..6f6fbe91 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,5 @@
-- Make sure that urpmi.cfg is world-readable (mga#9386)
+- make sure that urpmi.cfg is world-readable (mga#9386)
+- ensure gurpmi ProgressDialog centering (mga#19196)
Version 8.106 - 6 December 2016
diff --git a/gurpm/RPMProgressDialog.pm b/gurpm/RPMProgressDialog.pm
index bd7358dd..1a2aad3e 100644
--- a/gurpm/RPMProgressDialog.pm
+++ b/gurpm/RPMProgressDialog.pm
@@ -77,7 +77,7 @@ sub new {
$w->set_border_width(12);
$w->set_title($w->title);
$w->signal_connect(destroy => $o_quit) if $o_quit;
- $w->set_position('center');
+ $w->set_position('center_always');
$w->set_default_size($progressbar_size, 60);
# for matchbox window manager during install:
if (!$o_no_modal) {