diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2003-07-15 17:49:57 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2003-07-15 17:49:57 +0000 |
commit | 4891f221267cfcfc7d54ac079a93ef474be9d3e7 (patch) | |
tree | 51503e6359434145745eb62117f1d363f5783137 /perl-install | |
parent | db87fd89b2600cba313098968368fb6ef603b875 (diff) | |
download | drakx-4891f221267cfcfc7d54ac079a93ef474be9d3e7.tar drakx-4891f221267cfcfc7d54ac079a93ef474be9d3e7.tar.gz drakx-4891f221267cfcfc7d54ac079a93ef474be9d3e7.tar.bz2 drakx-4891f221267cfcfc7d54ac079a93ef474be9d3e7.tar.xz drakx-4891f221267cfcfc7d54ac079a93ef474be9d3e7.zip |
fix button layout
Diffstat (limited to 'perl-install')
-rwxr-xr-x | perl-install/standalone/drakperm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/standalone/drakperm b/perl-install/standalone/drakperm index 9e524c52b..9e3d38af7 100755 --- a/perl-install/standalone/drakperm +++ b/perl-install/standalone/drakperm @@ -126,9 +126,9 @@ $W->add(gtkpack_(Gtk2::VBox->new(0,5), [ N("add a rule"), N("Add a new rule at the end"), \&add_callback ], [ N("delete"), N("Delete selected rule"), \&del_callback ], [ N("edit"), N("Edit current rule"), \&edit_callback ])), - 0, gtkpack(Gtk2::HBox->new(0, 5), + 0, gtkpack(Gtk2::HButtonBox->new, + gtksignal_connect(Gtk2::Button->new_from_stock('gtk-cancel'), clicked => sub { ugtk2->exit }), gtksignal_connect(Gtk2::Button->new_from_stock('gtk-ok'), clicked => \&save_perm), - gtksignal_connect(Gtk2::Button->new_from_stock('gtk-cancel'), clicked => sub { ugtk2->exit }) ) ) ) |