]> git.0d.be Git - empathy.git/commitdiff
Don't update the event if the notification can't be shown.
authorXavier Claessens <xclaesse@src.gnome.org>
Fri, 30 Jan 2009 17:07:32 +0000 (17:07 +0000)
committerXavier Claessens <xclaesse@src.gnome.org>
Fri, 30 Jan 2009 17:07:32 +0000 (17:07 +0000)
svn path=/trunk/; revision=2284

src/empathy-status-icon.c

index ea407fd81674bfeb08f54dc071b277e9b9090a89..9ea211784c58f9fa8e4d96dc738bd6b6afb58139 100644 (file)
@@ -272,7 +272,10 @@ status_icon_event_updated_cb (EmpathyEventManager *manager,
                return;
        }
 
-       status_icon_update_notification (icon);
+       if (empathy_notification_should_show ()) {
+               status_icon_update_notification (icon);
+       }
+
        status_icon_update_tooltip (icon);
 }