diff options
author | Olivier Blin <oblin@mandriva.org> | 2005-02-17 10:28:26 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2005-02-17 10:28:26 +0000 |
commit | 945279290fe2e3bf445eac9f427a97d0b61b975a (patch) | |
tree | 708299224a98d8bc656c3e298bd7c26fc7d285d6 | |
parent | 9aff1ba4a64432cae2b99b142ac687972f7f7844 (diff) | |
download | drakx-945279290fe2e3bf445eac9f427a97d0b61b975a.tar drakx-945279290fe2e3bf445eac9f427a97d0b61b975a.tar.gz drakx-945279290fe2e3bf445eac9f427a97d0b61b975a.tar.bz2 drakx-945279290fe2e3bf445eac9f427a97d0b61b975a.tar.xz drakx-945279290fe2e3bf445eac9f427a97d0b61b975a.zip |
use only one 'edge' ButtonBox
-rw-r--r-- | perl-install/standalone/net_applet | 14 |
1 files changed, 5 insertions, 9 deletions
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 => [ |