aboutsummaryrefslogtreecommitdiff
path: root/src/indicator-notifications.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/indicator-notifications.c')
-rw-r--r--src/indicator-notifications.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/indicator-notifications.c b/src/indicator-notifications.c
index 9f0365c..237c4d0 100644
--- a/src/indicator-notifications.c
+++ b/src/indicator-notifications.c
@@ -143,10 +143,7 @@ menu_visible_notify_cb(GtkWidget *menu, G_GNUC_UNUSED GParamSpec *pspec, gpointe
gboolean visible;
g_object_get(G_OBJECT(menu), "visible", &visible, NULL);
- if(visible) {
- gtk_menu_reposition(GTK_MENU(menu));
- }
- else {
+ if(!visible) {
if(self->priv->pixbuf_read != NULL) {
self->priv->have_unread = FALSE;
gtk_image_set_from_pixbuf(self->priv->image, self->priv->pixbuf_read);