From af60279179c1e3998796d3b172b1401bd9a678df Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Sat, 7 Feb 2009 12:37:47 -0600 Subject: Changing the signals for show/hide to send the type correctly. --- libindicate/server.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libindicate/server.c b/libindicate/server.c index 6139fd0..f5bd0bb 100644 --- a/libindicate/server.c +++ b/libindicate/server.c @@ -175,7 +175,7 @@ indicate_server_finalize (GObject * obj) IndicateServerPrivate * priv = INDICATE_SERVER_GET_PRIVATE(server); /* TODO: This probably shouldn't be as far down as finalize, but it's fine here. */ - g_signal_emit(server, signals[SERVER_HIDE], 0, "", TRUE); + g_signal_emit(server, signals[SERVER_HIDE], 0, priv->type ? priv->type : "", TRUE); if (priv->path) { g_free(priv->path); @@ -270,7 +270,7 @@ indicate_server_show (IndicateServer * server) G_OBJECT(server)); priv->visible = TRUE; - g_signal_emit(server, signals[SERVER_SHOW], 0, "", TRUE); + g_signal_emit(server, signals[SERVER_SHOW], 0, priv->type ? priv->type : "", TRUE); return; } -- cgit v1.2.3