aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJason Conti <jason.conti@gmail.com>2011-08-21 17:43:53 -0400
committerJason Conti <jason.conti@gmail.com>2011-08-21 17:43:53 -0400
commitbb3b09cb2b7d0416292253775a4bd18849308ab6 (patch)
treee356c9d1097467aa03a348c1d0af246f9e8b0d03 /src
parentf0c2b8452144d6ee9e63c47ac624b6b8f4386365 (diff)
downloadayatana-indicator-notifications-bb3b09cb2b7d0416292253775a4bd18849308ab6.tar.gz
ayatana-indicator-notifications-bb3b09cb2b7d0416292253775a4bd18849308ab6.tar.bz2
ayatana-indicator-notifications-bb3b09cb2b7d0416292253775a4bd18849308ab6.zip
Revert previous commit, the reposition fix isn't working.
Diffstat (limited to 'src')
-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);