From 762543420437937e3b61402d8efc349414e9a542 Mon Sep 17 00:00:00 2001 From: Sergio Villar Senin Date: Tue, 13 Jan 2009 12:30:20 +0000 Subject: [PATCH] * Fixes NB#97844, do not show notifications for dimmed items pmo-trunk-r7122 --- src/modest-dimming-rules-group.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/modest-dimming-rules-group.c b/src/modest-dimming-rules-group.c index 14ea232..e848ae9 100644 --- a/src/modest-dimming-rules-group.c +++ b/src/modest-dimming-rules-group.c @@ -354,10 +354,13 @@ _insensitive_press_callback (GtkWidget *widget, gpointer user_data) notification = modest_dimming_rule_get_notification (rule); if (notification == NULL) goto frees; - + + /* Notifications for dimmed items are not shown in Hildon2 */ +#ifndef MODEST_TOOLKIT_HILDON2 /* Show notification banner */ - modest_platform_information_banner (NULL, NULL, notification); - + modest_platform_information_banner (NULL, NULL, notification); +#endif + /* Free */ frees: if (group != NULL) -- 1.7.9.5