diff options
Diffstat (limited to 'widgets/text/e-text.c')
-rw-r--r-- | widgets/text/e-text.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/widgets/text/e-text.c b/widgets/text/e-text.c index 979cae72e0..67e29a84be 100644 --- a/widgets/text/e-text.c +++ b/widgets/text/e-text.c @@ -53,10 +53,12 @@ #include <glib/gi18n.h> #include "e-util/e-text-event-processor-emacs-like.h" #include "e-util/e-util.h" -#include "e-util/gtk-compat.h" #include "e-text.h" +/* backward-compatibility cruft */ +#include "e-util/gtk-compat.h" + G_DEFINE_TYPE (EText, e_text, GNOME_TYPE_CANVAS_ITEM) #define BORDER_INDENT 3 @@ -2113,7 +2115,7 @@ e_text_event (GnomeCanvasItem *item, GdkEvent *event) /* Handle S-F10 key binding here. */ - if (event->key.keyval == GDK_F10 + if (event->key.keyval == GDK_KEY_F10 && (event->key.state & GDK_SHIFT_MASK) && text->handle_popup ) { |