From: Sergio Villar Senin Date: Tue, 13 Jan 2009 12:30:20 +0000 (+0000) Subject: * Fixes NB#97844, do not show notifications for dimmed items X-Git-Tag: git_migration_finished~821 X-Git-Url: http://git.maemo.org/git/?p=modest;a=commitdiff_plain;h=762543420437937e3b61402d8efc349414e9a542 * Fixes NB#97844, do not show notifications for dimmed items pmo-trunk-r7122 --- 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)