[Xfce4-commits] r29672 - in xfce4-panel/trunk: . plugins/actions
Nick Schermer
nick at xfce.org
Tue Mar 17 22:01:51 CET 2009
Author: nick
Date: 2009-03-17 21:01:51 +0000 (Tue, 17 Mar 2009)
New Revision: 29672
Modified:
xfce4-panel/trunk/NEWS
xfce4-panel/trunk/plugins/actions/actions.c
Log:
Don't crash when the quit action button is pressed (bug #5118).
Modified: xfce4-panel/trunk/NEWS
===================================================================
--- xfce4-panel/trunk/NEWS 2009-03-17 09:01:35 UTC (rev 29671)
+++ xfce4-panel/trunk/NEWS 2009-03-17 21:01:51 UTC (rev 29672)
@@ -2,6 +2,7 @@
=====
- Migrate launcher category icons from 4.4 panels (bug #5067).
- Fix compilation with -Wl,--as-needed (bug #5103).
+- Don't crash when the quit action button is pressed (bug #5118).
4.6.0
Modified: xfce4-panel/trunk/plugins/actions/actions.c
===================================================================
--- xfce4-panel/trunk/plugins/actions/actions.c 2009-03-17 09:01:35 UTC (rev 29671)
+++ xfce4-panel/trunk/plugins/actions/actions.c 2009-03-17 21:01:51 UTC (rev 29672)
@@ -229,8 +229,7 @@
static void
actions_do_quit (GtkWidget *b, XfcePanelPlugin *plugin)
{
- /* this only works with internal plugins */
- raise (SIGUSR2);
+ g_spawn_command_line_async ("xfce4-panel -q", NULL);
}
static void
More information about the Xfce4-commits
mailing list