From 945279290fe2e3bf445eac9f427a97d0b61b975a Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Thu, 17 Feb 2005 10:28:26 +0000 Subject: use only one 'edge' ButtonBox --- perl-install/standalone/net_applet | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'perl-install/standalone') diff --git a/perl-install/standalone/net_applet b/perl-install/standalone/net_applet index 4a5694637..92b9e63d8 100644 --- a/perl-install/standalone/net_applet +++ b/perl-install/standalone/net_applet @@ -213,15 +213,11 @@ sub handle_attack { 0, N("Do you want to blacklist the attacker ?") ]) ]), - gtknew('HBox', children_loose => [ - gtknew('HButtonBox', layout => 'start', children_loose => [ - gtknew('Button', text => N("No"), - clicked => sub { $activefw->blacklist($seq, 0); Gtk2->main_quit }) - ]), - gtknew('HButtonBox', layout => 'end', children_loose => [ - my $ok = gtknew('Button', text => N("Yes"), - clicked => sub { $activefw->blacklist($seq, 1); Gtk2->main_quit }) - ]) + gtknew('HButtonBox', layout => 'edge', children_loose => [ + gtknew('Button', text => N("No"), + clicked => sub { $activefw->blacklist($seq, 0); Gtk2->main_quit }), + my $ok = gtknew('Button', text => N("Yes"), + clicked => sub { $activefw->blacklist($seq, 1); Gtk2->main_quit }) ]), gtkadd(Gtk2::Expander->new(N("Attack details")), gtknew('HBox', children => [ -- cgit v1.2.1