summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2006-04-06 16:12:05 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2006-04-06 16:12:05 +0000
commit775f934cab6b4ae6250107c32ac31bc751afde1c (patch)
treec69d9be6dcd7480b86af4d0db55347fe019c6e9c
parent0f0c062d2c0a35d78093f349c3d2d965b0a99724 (diff)
downloadmgaonline-775f934cab6b4ae6250107c32ac31bc751afde1c.tar
mgaonline-775f934cab6b4ae6250107c32ac31bc751afde1c.tar.gz
mgaonline-775f934cab6b4ae6250107c32ac31bc751afde1c.tar.bz2
mgaonline-775f934cab6b4ae6250107c32ac31bc751afde1c.tar.xz
mgaonline-775f934cab6b4ae6250107c32ac31bc751afde1c.zip
on SIGHUP, restart the applet
-rwxr-xr-xmdkapplet1
1 files changed, 1 insertions, 0 deletions
diff --git a/mdkapplet b/mdkapplet
index 4c3fcd01..a1913d9b 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -163,6 +163,7 @@ $icon->show_all;
$SIG{USR1} = 'IGNORE';
$SIG{USR2} = 'IGNORE';
$SIG{CHLD} = \&harvester;
+$SIG{HUP} = \&restart_applet;
Glib::Timeout->add(200, sub { harvester('CHLD', 1); 1 });