diff options
author | Olivier Blin <oblin@mandriva.com> | 2007-09-10 12:01:41 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2007-09-10 12:01:41 +0000 |
commit | c60aaacc69fae5274b9c77df694a93f32144a6ea (patch) | |
tree | 2d3fcfc37db8883e5abef9064fcb79956cf75977 | |
parent | 02d66dcfa7fbcd7c123ab392ff4db9464073bb50 (diff) | |
download | drakx-net-c60aaacc69fae5274b9c77df694a93f32144a6ea.tar drakx-net-c60aaacc69fae5274b9c77df694a93f32144a6ea.tar.gz drakx-net-c60aaacc69fae5274b9c77df694a93f32144a6ea.tar.bz2 drakx-net-c60aaacc69fae5274b9c77df694a93f32144a6ea.tar.xz drakx-net-c60aaacc69fae5274b9c77df694a93f32144a6ea.zip |
add quit button
-rwxr-xr-x | lib/network/netcenter.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/network/netcenter.pm b/lib/network/netcenter.pm index 11d9315..80b5909 100755 --- a/lib/network/netcenter.pm +++ b/lib/network/netcenter.pm @@ -117,6 +117,9 @@ sub main { ($::i > 0 ? Gtk2::HSeparator->new : ()), $box; } @connections, ])), + 0, gtknew('HButtonBox', spacing => 6, layout => 'end', children_loose => [ + gtknew('Button', text => N("Quit"), clicked => sub { Gtk2->main_quit }), + ]), ]), ); |