[evolution] Bug 747994 - Menu key and spell checking ; evolution editor



commit f1dc08ff85bda79d17483ce90d7c77c2495e4a00
Author: Tomas Popela <tpopela redhat com>
Date:   Thu Apr 16 15:47:45 2015 +0200

    Bug 747994 - Menu key and spell checking ; evolution editor
    
    Don't move the caret to pointer location.

 e-util/e-html-editor-view.c |    9 +--------
 1 files changed, 1 insertions(+), 8 deletions(-)
---
diff --git a/e-util/e-html-editor-view.c b/e-util/e-html-editor-view.c
index 83a2c28..84afdc4 100644
--- a/e-util/e-html-editor-view.c
+++ b/e-util/e-html-editor-view.c
@@ -4545,14 +4545,7 @@ html_editor_view_key_press_event (GtkWidget *widget,
        view->priv->dont_save_history_in_body_input = FALSE;
 
        if (event->keyval == GDK_KEY_Menu) {
-               gboolean event_handled, collapsed;
-               EHTMLEditorSelection *selection;
-
-               selection = e_html_editor_view_get_selection (E_HTML_EDITOR_VIEW (widget));
-               collapsed = e_html_editor_selection_is_collapsed (selection);
-
-               if (collapsed)
-                       html_editor_view_move_selection_on_point (widget);
+               gboolean event_handled;
 
                g_signal_emit (
                        widget, signals[POPUP_EVENT],


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]