summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-09-01 15:14:15 +0000
committerThierry Vignaud <tv@mandriva.org>2008-09-01 15:14:15 +0000
commit6a5907db93c577a957fb106ce5b3279adfe8d905 (patch)
treed40e8b49ab4bb0a85e0617de801c9bf9eb647bd9
parent9b29406c633c912e1fbc11f148f556f0ad205cc1 (diff)
downloaddrakx-6a5907db93c577a957fb106ce5b3279adfe8d905.tar
drakx-6a5907db93c577a957fb106ce5b3279adfe8d905.tar.gz
drakx-6a5907db93c577a957fb106ce5b3279adfe8d905.tar.bz2
drakx-6a5907db93c577a957fb106ce5b3279adfe8d905.tar.xz
drakx-6a5907db93c577a957fb106ce5b3279adfe8d905.zip
(create_widget) fix alignment of check buttons
-rw-r--r--perl-install/NEWS1
-rw-r--r--perl-install/install/NEWS1
-rw-r--r--perl-install/interactive/gtk.pm5
3 files changed, 7 insertions, 0 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index 682f3d246..45ec642d9 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,6 +1,7 @@
- libDrakX:
o make all windows are "dialog", so that gurpmi.addmedia during install
displays nicely
+ o fix alignment of check buttons
Version 11.29 - 29 August 2008
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index 861b37668..9b37066a6 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -2,6 +2,7 @@
- hack /tmp/.X11-unix to allow accessing X in chroot
- if network access, configure urpmi with --mirrorlist --distrib,
and install updates. This replaces the previous "Install Updates" step.
+- fix alignment of check buttons
Version 11.29 - 29 August 2008
diff --git a/perl-install/interactive/gtk.pm b/perl-install/interactive/gtk.pm
index c34630081..6d3f10c17 100644
--- a/perl-install/interactive/gtk.pm
+++ b/perl-install/interactive/gtk.pm
@@ -385,6 +385,11 @@ sub create_widget {
}
$w->signal_connect(clicked => $onchange->(sub { $w->get_active }));
$set = sub { $w->set_active($_[0]) };
+ $real_w = gtknew('HBox', children => [
+ 0, gtknew('Alignment', width => $mygtk2::left_padding),
+ 1, $w
+ ]);
+
} elsif ($e->{type} eq 'only_label') {
$w = $e->{title} ?
gtknew('Title2', label => escape_text_for_TextView_markup_format(${$e->{val}}),