]> git.0d.be Git - empathy.git/commitdiff
Do not flash contact icon in the main window for notification only events
authorFrédéric Péters <fpeters@0d.be>
Tue, 16 Jun 2009 07:49:20 +0000 (09:49 +0200)
committerFrédéric Péters <fpeters@0d.be>
Tue, 23 Jun 2009 10:08:50 +0000 (12:08 +0200)
src/empathy-main-window.c

index 5830d2b71b00c78c64fc5cf0a0b2a9d92f88ba20..e92817a0be4910b3845e5b5a754a6e5a18d84b14 100644 (file)
@@ -197,7 +197,7 @@ main_window_flash_cb (EmpathyMainWindow *window)
        events = empathy_event_manager_get_events (window->event_manager);
        for (l = events; l; l = l->next) {
                data.event = l->data;
-               if (!data.event->contact) {
+               if (!data.event->contact || !data.event->must_ack) {
                        continue;
                }