diff options
author | Milan Crha <mcrha@redhat.com> | 2012-10-17 21:41:46 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2012-10-17 21:41:46 +0800 |
commit | 9eebb9509730bb740ee5625699954ba473fdc8e7 (patch) | |
tree | 71b34a2c90db6f7472783a827b82a42d6efa7ac5 /widgets/misc/e-web-view.c | |
parent | bac4efc7ced9ec16f6cdc30959797d8fe3cffde1 (diff) | |
download | gsoc2013-evolution-9eebb9509730bb740ee5625699954ba473fdc8e7.tar.gz gsoc2013-evolution-9eebb9509730bb740ee5625699954ba473fdc8e7.tar.zst gsoc2013-evolution-9eebb9509730bb740ee5625699954ba473fdc8e7.zip |
Bug #685262 - Attachments disappear when dragged in message preview
Diffstat (limited to 'widgets/misc/e-web-view.c')
-rw-r--r-- | widgets/misc/e-web-view.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/widgets/misc/e-web-view.c b/widgets/misc/e-web-view.c index 84c473dc37..2400683553 100644 --- a/widgets/misc/e-web-view.c +++ b/widgets/misc/e-web-view.c @@ -1466,6 +1466,16 @@ web_view_selectable_select_all (ESelectable *selectable) e_web_view_select_all (E_WEB_VIEW (selectable)); } +static gboolean +web_view_drag_motion (GtkWidget *widget, + GdkDragContext *context, + gint x, + gint y, + guint time_) +{ + return FALSE; +} + static void e_web_view_class_init (EWebViewClass *class) { @@ -1487,6 +1497,7 @@ e_web_view_class_init (EWebViewClass *class) widget_class = GTK_WIDGET_CLASS (class); widget_class->button_press_event = web_view_button_press_event; widget_class->scroll_event = web_view_scroll_event; + widget_class->drag_motion = web_view_drag_motion; #if 0 /* WEBKIT */ html_class = GTK_HTML_CLASS (class); |