aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJason Conti <jason.conti@gmail.com>2011-05-09 17:55:59 -0400
committerJason Conti <jason.conti@gmail.com>2011-05-09 17:55:59 -0400
commitb358f7c0a1b52e146f0870ae42bf673a944f75c1 (patch)
tree88b26f72f32923f66b8d761634ebc665978c3833 /src
parent77b322f4375a69aa2fae17d9b8584a237c0450a4 (diff)
downloadayatana-indicator-notifications-b358f7c0a1b52e146f0870ae42bf673a944f75c1.tar.gz
ayatana-indicator-notifications-b358f7c0a1b52e146f0870ae42bf673a944f75c1.tar.bz2
ayatana-indicator-notifications-b358f7c0a1b52e146f0870ae42bf673a944f75c1.zip
Shown/Hidden code works but causing the indicator to freak out, so disabled for now. It will work fine for changing the icon status though.
Diffstat (limited to 'src')
-rw-r--r--src/indicator-example.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/indicator-example.c b/src/indicator-example.c
index 3430c37..67e7ba2 100644
--- a/src/indicator-example.c
+++ b/src/indicator-example.c
@@ -136,6 +136,7 @@ menu_visible_notify_cb(GtkWidget *menu, G_GNUC_UNUSED GParamSpec *pspec, gpointe
// we should only react if we're currently visible
gboolean visible;
g_object_get(G_OBJECT(menu), "visible", &visible, NULL);
+ /*
if(visible) {
self->priv->current_state = STATE_SHOWN;
}
@@ -143,6 +144,7 @@ menu_visible_notify_cb(GtkWidget *menu, G_GNUC_UNUSED GParamSpec *pspec, gpointe
g_debug("notify visible menu hidden");
self->priv->current_state = STATE_HIDDEN;
}
+ */
update_label(self);
}