diff options
Diffstat (limited to 'src/indicator-example.c')
-rw-r--r-- | src/indicator-example.c | 2 |
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); } |