diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2002-09-04 14:21:34 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2002-09-04 14:21:34 +0000 |
commit | 8228443b1a528151a0c021eed740be591dfd8a69 (patch) | |
tree | 8b2cc475111b5235824d7f0db177c4ee5073ad03 | |
parent | 562bede3ddbe8e34b96b5961e3a2304c56df07f9 (diff) | |
download | control-center-8228443b1a528151a0c021eed740be591dfd8a69.tar control-center-8228443b1a528151a0c021eed740be591dfd8a69.tar.gz control-center-8228443b1a528151a0c021eed740be591dfd8a69.tar.bz2 control-center-8228443b1a528151a0c021eed740be591dfd8a69.tar.xz control-center-8228443b1a528151a0c021eed740be591dfd8a69.zip |
don't crash app by disabling logs while there're pending apps
-rwxr-xr-x | control-center | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/control-center b/control-center index 85418c6f..48e5fa0d 100755 --- a/control-center +++ b/control-center @@ -110,6 +110,7 @@ my $exec_hash = _("Connection Sharing") => [ "drakgw", "$_sbindir/drakgw", 1 ], _("Proxy Configuration") => [ "drakproxy", "$_sbindir/drakproxy", 1 ], _("Security Level") => [ "draksec", "$_sbindir/draksec", 1 ], + _("Security Permissions") => [ "drakperm", "$_sbindir/drakperm", 1 ], _("Programs scheduling") => [ "drakcronat", "/usr/X11R6/bin/drakcronat", 1 ], _("Firewall") => [ "drakfirewall", "$_sbindir/drakfirewall", 1 ], _("Backups") => [ "drakbackup", "$_sbindir/drakbackup", 1 ], @@ -221,6 +222,7 @@ my @tree = [_("Security"),'security-mdk', [ [_("Security Level"), 'draksec-mdk'], + [_("Security Permissions"), 'draksec-mdk'], [_("Firewall"), 'firewall-mdk'], ] ], @@ -402,7 +404,7 @@ $window_global->add( ); sub update_exp { - return if $still_in_splash_screen; + return if $still_in_splash_screen || $pending_app; if($logs && !$exp_frame) { gtkpack__($right_box, gtkadd($exp_frame = gtkset_shadow_type(gtkset_usize(gtkset_border_width(new Gtk::Frame(_("Logs")), 5), 0, 120), 'etched_out'), @@ -657,6 +659,7 @@ sub clean_socket { @pid_launched = (); $emb_socket and $emb_socket->destroy(); $pending_app = 0; + update_exp(); } sub res_socket { |