summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-09-10 12:01:41 +0000
committerOlivier Blin <oblin@mandriva.com>2007-09-10 12:01:41 +0000
commitc60aaacc69fae5274b9c77df694a93f32144a6ea (patch)
tree2d3fcfc37db8883e5abef9064fcb79956cf75977
parent02d66dcfa7fbcd7c123ab392ff4db9464073bb50 (diff)
downloaddrakx-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-xlib/network/netcenter.pm3
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 }),
+ ]),
]),
);