diff options
author | Olivier Blin <oblin@mandriva.com> | 2008-03-31 11:14:31 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2008-03-31 11:14:31 +0000 |
commit | 44db417f8bb389b0e35bd3699f17aafde9057627 (patch) | |
tree | 20d5edc453f01c0b8bd02f6f3d3319d2b019ea46 /bin | |
parent | 262034b4befeb2c7b1035f500af81f616e95276e (diff) | |
download | drakguard-44db417f8bb389b0e35bd3699f17aafde9057627.tar drakguard-44db417f8bb389b0e35bd3699f17aafde9057627.tar.gz drakguard-44db417f8bb389b0e35bd3699f17aafde9057627.tar.bz2 drakguard-44db417f8bb389b0e35bd3699f17aafde9057627.tar.xz drakguard-44db417f8bb389b0e35bd3699f17aafde9057627.zip |
really quit gui when needed (like when packages instalaltion is cancelled, #39557)
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/drakguard | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/drakguard b/bin/drakguard index 879643f..98dc6f7 100755 --- a/bin/drakguard +++ b/bin/drakguard @@ -215,7 +215,10 @@ sub list_remove_selected { list_remove_addr($list, list_get_selected($list)); } -sub quit_gui() { Gtk2->main_quit } +sub quit_gui { + my ($code) = @_; + $w->exit($code); +} sub load() { my $guardian = read_dansguardian(); |