* Fixes NB#80734, now dimming rules of menubar are evaluated when the mail operation...
authorSergio Villar Senin <svillar@igalia.com>
Tue, 19 Feb 2008 11:01:42 +0000 (11:01 +0000)
committerSergio Villar Senin <svillar@igalia.com>
Tue, 19 Feb 2008 11:01:42 +0000 (11:01 +0000)
pmo-trunk-r4195

src/maemo/modest-main-window.c

index 74031f0..03ffe7f 100644 (file)
@@ -2304,6 +2304,10 @@ on_mail_operation_started (ModestMailOperation *mail_op,
                        tmp = g_slist_next (tmp);
                }
        }
+
+       /* Update the main menu as well, we need to explicitely do
+          this in order to enable/disable accelerators */
+       modest_ui_actions_check_menu_dimming_rules (MODEST_WINDOW (self));
 }
 
 static void