[evolution/wip/webkit-composer: 50/262] Forgot to chainup to parent event implementation...



commit ff918b9841712942ec9bea45917269295716c200
Author: Dan Vrátil <dvratil redhat com>
Date:   Mon Aug 20 17:17:38 2012 +0200

    Forgot to chainup to parent event implementation...

 e-util/e-editor-widget.c |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/e-util/e-editor-widget.c b/e-util/e-editor-widget.c
index 82a4ade..2712423 100644
--- a/e-util/e-editor-widget.c
+++ b/e-util/e-editor-widget.c
@@ -365,7 +365,8 @@ editor_widget_key_press_event (GtkWidget *gtk_widget,
                        E_EDITOR_WIDGET (gtk_widget), TRUE);
        }
 
-       return FALSE;
+       /* Propagate the event to WebKit */
+       return GTK_WIDGET_CLASS (e_editor_widget_parent_class)->key_press_event (gtk_widget, event);
 }
 
 static gboolean
@@ -388,7 +389,7 @@ editor_widget_key_release_event (GtkWidget *gtk_widget,
        }
 
        /* Propagate the event to WebKit */
-       return FALSE;
+       return GTK_WIDGET_CLASS (e_editor_widget_parent_class)->key_release_event (gtk_widget, event);
 }
 
 static gboolean
@@ -426,7 +427,8 @@ editor_widget_button_release_event (GtkWidget *gtk_widget,
                return TRUE;
        }
 
-       return FALSE;
+       /* Propagate the event to WebKit */
+       return GTK_WIDGET_CLASS (e_editor_widget_parent_class)->button_release_event (gtk_widget, event);
 }
 
 static void


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