* explicitly set make the choose-font dialog modal; not sure why this
authorDirk-Jan C. Binnema <dirk-jan.binnema@nokia.com>
Thu, 3 Apr 2008 15:41:48 +0000 (15:41 +0000)
committerDirk-Jan C. Binnema <dirk-jan.binnema@nokia.com>
Thu, 3 Apr 2008 15:41:48 +0000 (15:41 +0000)
would be needed, but if we don't do it, the applications menu can still
be accessed, which is NotGood(tm).

Fixes: NB#83606

pmo-trunk-r4366

src/maemo/modest-msg-edit-window.c

index f31916b..088dad2 100644 (file)
@@ -2827,6 +2827,8 @@ modest_msg_edit_window_select_font (ModestMsgEditWindow *window)
        priv = MODEST_MSG_EDIT_WINDOW_GET_PRIVATE (window);
        
        dialog = hildon_font_selection_dialog_new (GTK_WINDOW (window), NULL);
+       modest_window_mgr_set_modal (modest_runtime_get_window_mgr(),
+                                    GTK_WINDOW(dialog));
 
        /* First we get the currently selected font information */
        wp_text_buffer_get_attributes (WP_TEXT_BUFFER (priv->text_buffer), &oldfmt, TRUE);