From b072117460c20c3c04241c23d4f73049919d3c3a Mon Sep 17 00:00:00 2001 From: Jose Dapena Paz Date: Wed, 14 Jan 2009 14:43:25 +0000 Subject: [PATCH] Now we allow removing embedded message attachments (fixes NB#97220). pmo-trunk-r7148 --- src/modest-ui-dimming-rules.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/modest-ui-dimming-rules.c b/src/modest-ui-dimming-rules.c index 377329f..d9d8396 100644 --- a/src/modest-ui-dimming-rules.c +++ b/src/modest-ui-dimming-rules.c @@ -1364,6 +1364,7 @@ modest_ui_dimming_rules_on_remove_attachments (ModestWindow *win, gpointer user_ modest_dimming_rule_set_notification (rule, _("FIXME:no attachment selected")); } +#ifndef MODEST_TOOLKIT_HILDON2 /* Messages as attachments could not be removed */ if (!dimmed && MODEST_IS_MSG_VIEW_WINDOW (win)) { TnyList *attachments; @@ -1383,6 +1384,7 @@ modest_ui_dimming_rules_on_remove_attachments (ModestWindow *win, gpointer user_ g_object_unref (attachments); } } +#endif if (!dimmed) { -- 1.7.9.5