summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2023-01-18 20:33:07 +0000
committerPascal Terjan <pterjan@mageia.org>2023-01-18 20:40:04 +0000
commit650c7c96a37ec7899bbd8651019c7c6c185d1242 (patch)
tree02638f11a805953d303769f1c5de13b8bc04496f /perl-install
parent3c72d1b73d71788f425276817f0c301ddb5dd0f7 (diff)
downloaddrakx-650c7c96a37ec7899bbd8651019c7c6c185d1242.tar
drakx-650c7c96a37ec7899bbd8651019c7c6c185d1242.tar.gz
drakx-650c7c96a37ec7899bbd8651019c7c6c185d1242.tar.bz2
drakx-650c7c96a37ec7899bbd8651019c7c6c185d1242.tar.xz
drakx-650c7c96a37ec7899bbd8651019c7c6c185d1242.zip
diskdrake: Fix partitions not being displayed for single disks
beb610d87e04f2a6e0dd10b43bd417480668ddc1 fixed a problem but introduced a new one, the solution is to call it in 2 places as we really want the call to update_all to do something. Fixes: mga#31396
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/NEWS3
-rw-r--r--perl-install/diskdrake/hd_gtk.pm1
2 files changed, 4 insertions, 0 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index 9434f4aa1..1c18208ba 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,3 +1,6 @@
+- diskdrake: fix partitions not being displayed initially on systems with a
+ single disk (mga#31396)
+
Version 18.52 - 3 December 2022
- run_program:
diff --git a/perl-install/diskdrake/hd_gtk.pm b/perl-install/diskdrake/hd_gtk.pm
index f61801d53..ed3955ea7 100644
--- a/perl-install/diskdrake/hd_gtk.pm
+++ b/perl-install/diskdrake/hd_gtk.pm
@@ -121,6 +121,7 @@ sub main {
if (!@children ||!$done_button) {
$notebook_widget->set_current_page(-1);
$notebook_widget->set_current_page(0);
+ undef $initializing;
$update_all->(2);
}
undef $initializing;