[Xfce4-commits] <xfce4-panel:master> Add debug line to detect endless loops.
Nick Schermer
noreply at xfce.org
Sun Jul 11 20:00:01 CEST 2010
Updating branch refs/heads/master
to 6262c421c4bd8b1314394cdccf88850351a9c6bb (commit)
from d3a8b2c3a21734b599830f3e0961c66dabb8eeb1 (commit)
commit 6262c421c4bd8b1314394cdccf88850351a9c6bb
Author: Nick Schermer <nick at xfce.org>
Date: Sun Jul 11 19:56:22 2010 +0200
Add debug line to detect endless loops.
panel/panel-plugin-external.c | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/panel/panel-plugin-external.c b/panel/panel-plugin-external.c
index 271e3b7..b1dba87 100644
--- a/panel/panel-plugin-external.c
+++ b/panel/panel-plugin-external.c
@@ -338,7 +338,7 @@ panel_plugin_external_realize (GtkWidget *widget)
{
if (external->priv->spawn_timeout_id != 0)
g_source_remove (external->priv->spawn_timeout_id);
-
+
panel_plugin_external_child_spawn (external);
}
}
@@ -542,7 +542,13 @@ panel_plugin_external_child_respawn (gpointer user_data)
/* delay startup if the old child is still embedded */
if (external->priv->embedded)
- return TRUE;
+ {
+ panel_debug (PANEL_DEBUG_DOMAIN_EXTERNAL,
+ "%s-%s: still a child embedded, respawn delayed",
+ panel_module_get_name (external->module), external->unique_id);
+
+ return TRUE;
+ }
panel_plugin_external_queue_free (external);
More information about the Xfce4-commits
mailing list