From: Alberto Garcia Date: Wed, 14 Nov 2007 19:12:09 +0000 (+0000) Subject: * Dim the "Move to" icon and menu entry when a message is X-Git-Tag: git_migration_finished~2091 X-Git-Url: http://git.maemo.org/git/?p=modest;a=commitdiff_plain;h=b3e33b42465084b4e1cf2dbf90302bd1b43d05ad;hp=6ae65afc6c85e5221c0ab94b5d4d07828e7da1ff * Dim the "Move to" icon and menu entry when a message is being sent Fixes NB#75911 pmo-trunk-r3736 --- diff --git a/src/modest-ui-dimming-rules.c b/src/modest-ui-dimming-rules.c index c8b12ea..59d5617 100644 --- a/src/modest-ui-dimming-rules.c +++ b/src/modest-ui-dimming-rules.c @@ -1002,6 +1002,11 @@ modest_ui_dimming_rules_on_view_window_move_to (ModestWindow *win, gpointer user } if (!dimmed) { + dimmed = _selected_msg_sent_in_progress (win); + if (dimmed) + modest_dimming_rule_set_notification (rule, _("mcen_ib_unable_to_move_mail_attachment")); + } + if (!dimmed) { if (MODEST_IS_MSG_VIEW_WINDOW (win)) { /* The move_to button should be dimmed when viewing an attachment, * but should be enabled when viewing a message from the list,