-r was added to session management cache when panel was manually
restarted, and hence it was started and directly restarted at session
startup.
ok naddy@
This commit is contained in:
landry 2009-06-29 15:11:43 +00:00
parent 4e6185f1e7
commit 2e919d77e8
2 changed files with 19 additions and 2 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.24 2009/05/11 20:49:44 landry Exp $
# $OpenBSD: Makefile,v 1.25 2009/06/29 15:11:43 landry Exp $
COMMENT= Xfce4 desktop panel
XFCE_PROJECT= xfce4-panel
PKGNAME= ${DISTNAME}p0
PKGNAME= ${DISTNAME}p1
SHARED_LIBS= xfce4panel 2.3 #2.2

View File

@ -0,0 +1,17 @@
$OpenBSD: patch-panel_panel-app_c,v 1.1 2009/06/29 15:11:43 landry Exp $
fix http://bugzilla.xfce.org/show_bug.cgi?id=5454
--- panel/panel-app.c.orig Mon Jun 29 10:49:50 2009
+++ panel/panel-app.c Mon Jun 29 10:50:17 2009
@@ -710,10 +710,9 @@ panel_app_run (gchar *client_id)
TRUE);
/* session management */
- restart_command = g_new (gchar *, 3);
+ restart_command = g_new (gchar *, 2);
restart_command[0] = g_strdup ("xfce4-panel");
- restart_command[1] = g_strdup ("-r");
- restart_command[2] = NULL;
+ restart_command[1] = NULL;
panel_app.session_client =
client_session_new_full (NULL,