X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fmodest-dimming-rules-group.c;h=e848ae92091ff65d2cbc536aa3d2ec55f8ffb688;hb=f43c0f52d3cd3dd76c80da510b2dda837ba05884;hp=14ea23271366753aaa4e7472b0dcce912e164814;hpb=f6d386ff93e929092ba105385a29d760aeba9ff7;p=modest 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)