* src/modest-ui-dimming-rules.c:
authorJose Dapena Paz <jdapena@igalia.com>
Mon, 17 Sep 2007 16:06:33 +0000 (16:06 +0000)
committerJose Dapena Paz <jdapena@igalia.com>
Mon, 17 Sep 2007 16:06:33 +0000 (16:06 +0000)
        * As now we support purging attachments also in local folders
          we don't dim now. This, with the proper cahnge in tinymail,
          enable attachment purging in local folders (fixes NB#63986).

pmo-trunk-r3322

src/modest-ui-dimming-rules.c

index ccb07eb..8c2617d 100644 (file)
@@ -2508,9 +2508,7 @@ _invalid_folder_for_purge (ModestWindow *win,
                        result = TRUE;
                        modest_dimming_rule_set_notification (rule, _("mail_ib_unable_to_purge_editable_msg"));
                } else {
-                       /* We're currently disabling purge in any local store */
-                       result = TRUE;
-                       modest_dimming_rule_set_notification (rule, _("mail_ib_unable_to_purge_attachments"));
+                       result = FALSE;
                }
        } else {
                const gchar *proto_str = tny_account_get_proto (TNY_ACCOUNT (account));