summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakperm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/standalone/drakperm')
-rwxr-xr-xperl-install/standalone/drakperm4
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 })
)
)
)