aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-02-07 12:37:47 -0600
committerTed Gould <ted@canonical.com>2009-02-07 12:37:47 -0600
commitaf60279179c1e3998796d3b172b1401bd9a678df (patch)
treed2e2eba65d19af5ffeb73849aca4f0014088ae54
parent455dbe3cbe2a665139b7e1e19f82fbaad9768a49 (diff)
downloadlibayatana-indicator-af60279179c1e3998796d3b172b1401bd9a678df.tar.gz
libayatana-indicator-af60279179c1e3998796d3b172b1401bd9a678df.tar.bz2
libayatana-indicator-af60279179c1e3998796d3b172b1401bd9a678df.zip
Changing the signals for show/hide to send the type correctly.
-rw-r--r--libindicate/server.c4
1 files 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;
}