summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/harddrake2
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-02-18 22:17:36 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-02-18 22:17:36 +0000
commit1865928333dcd62b8ea770481a3c7fe6f4f786fd (patch)
tree65dd16d409e3ad8846f705faeaf5c496440bc36b /perl-install/standalone/harddrake2
parentf170a5540f678bb743324b39e2b06a441c847740 (diff)
downloaddrakx-1865928333dcd62b8ea770481a3c7fe6f4f786fd.tar
drakx-1865928333dcd62b8ea770481a3c7fe6f4f786fd.tar.gz
drakx-1865928333dcd62b8ea770481a3c7fe6f4f786fd.tar.bz2
drakx-1865928333dcd62b8ea770481a3c7fe6f4f786fd.tar.xz
drakx-1865928333dcd62b8ea770481a3c7fe6f4f786fd.zip
sanitize buttons layout when embedded
Diffstat (limited to 'perl-install/standalone/harddrake2')
-rwxr-xr-xperl-install/standalone/harddrake214
1 files changed, 9 insertions, 5 deletions
diff --git a/perl-install/standalone/harddrake2 b/perl-install/standalone/harddrake2
index a04a647e6..48dfef856 100755
--- a/perl-install/standalone/harddrake2
+++ b/perl-install/standalone/harddrake2
@@ -176,11 +176,15 @@ $w->{window}->add(gtkpack_(0, Gtk2::VBox->new(0, 0),
})
),
),
- if_($::isEmbedded, 0, gtkpack(create_hbox(),
- gtksignal_connect(Gtk2::Button->new(N("Options")), event => popup_menu($opt_menu), $menubar),
- gtksignal_connect(Gtk2::Button->new(N("Help")), event => popup_menu($help_menu), $menubar),
- gtksignal_connect(Gtk2::Button->new(N("Quit")), clicked => \&quit_global),
- ),
+ if_($::isEmbedded, 0, gtkpack(Gtk2::HBox->new,
+ gtkpack(create_hbox('start'),
+ gtksignal_connect(Gtk2::Button->new(N("Help")), event => popup_menu($help_menu), $menubar),
+ gtksignal_connect(Gtk2::Button->new(N("Options")), event => popup_menu($opt_menu), $menubar),
+ ),
+ gtkpack(create_hbox('end'),
+ gtksignal_connect(Gtk2::Button->new(N("Quit")), clicked => \&quit_global),
+ ),
+ ),
)
)
);