[evolution/gnome-3-6] GN-bug #685262 - Attachments disappear when dragged in message preview
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/gnome-3-6] GN-bug #685262 - Attachments disappear when dragged in message preview
- Date: Wed, 17 Oct 2012 13:43:17 +0000 (UTC)
commit 8c81665473fc4fbd66da70d6215a26848eb6446c
Author: Milan Crha <mcrha redhat com>
Date: Wed Oct 17 15:42:44 2012 +0200
GN-bug #685262 - Attachments disappear when dragged in message preview
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 84c473d..2400683 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]