diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2003-12-29 07:46:12 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2003-12-29 07:46:12 +0000 |
commit | 8509e1dc1a1734335683150eae2d41ed43c900f1 (patch) | |
tree | de5cec9f6589d1153855d039d055dedb6433a280 /perl-install | |
parent | 007575a8f1e0776ef2c8f4a16ea8b172ade57a69 (diff) | |
download | drakx-8509e1dc1a1734335683150eae2d41ed43c900f1.tar drakx-8509e1dc1a1734335683150eae2d41ed43c900f1.tar.gz drakx-8509e1dc1a1734335683150eae2d41ed43c900f1.tar.bz2 drakx-8509e1dc1a1734335683150eae2d41ed43c900f1.tar.xz drakx-8509e1dc1a1734335683150eae2d41ed43c900f1.zip |
- simplify button layout
- really pack the two button sets at edgee by packing them in two different
hboxes with "start" and "end" grouping style
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/ugtk2.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm index 6085e087a..4a34b3a65 100644 --- a/perl-install/ugtk2.pm +++ b/perl-install/ugtk2.pm @@ -508,11 +508,11 @@ sub create_okcancel { my @r2 = map { gtksignal_connect(Gtk2::Button->new($_->[0]), clicked => $_->[1]) } grep { !$_->[2] } @other; # we put space to group buttons in two packs (but if there's only one when not in wizard mode) # but in the installer where all windows run in wizard mode because of design even when not in a wizard step - my @extras = (@l2, @r2, if_(!$::isInstall && ($::isWizard || $ok && $cancel), Gtk2::Label->new)); + my @extras = (@l2, @r2, if_($::isInstall || ($::isWizard || $ok && $cancel), Gtk2::Label->new)); my @l; # buttons list if ($::isWizard) { # wizard mode: order is cancel/extras/white/prev/next - push @l, if_(!$::isInstall, $w->{wizcancel}), @extras, if_($::isInstall, Gtk2::Label->new), $bprev, $bok; + push @l, if_(!$::isInstall, $w->{wizcancel}), @extras, $bprev, $bok; } else { # normal mode: cancel/ok button follow current desktop's HIG my @extras = (@l2, @r2, if_($ok && $cancel, Gtk2::Label->new)); # space buttons but if there's only one |