diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2009-11-30 23:08:24 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2009-11-30 23:08:24 +0800 |
commit | 740a34efd932ad1bf6d5cd1d4580fd3b6af0eacc (patch) | |
tree | 0e9497b8a933cab09ee209d92097c5f273612ded /libempathy-gtk/empathy-chat.c | |
parent | 8d21537a22e1e4a1e6224d5e70190e0be2ef9a40 (diff) | |
parent | 9ec54fdc072173c6676ec2d8ea0b8eabe6936cef (diff) | |
download | gsoc2013-empathy-740a34efd932ad1bf6d5cd1d4580fd3b6af0eacc.tar gsoc2013-empathy-740a34efd932ad1bf6d5cd1d4580fd3b6af0eacc.tar.gz gsoc2013-empathy-740a34efd932ad1bf6d5cd1d4580fd3b6af0eacc.tar.bz2 gsoc2013-empathy-740a34efd932ad1bf6d5cd1d4580fd3b6af0eacc.tar.lz gsoc2013-empathy-740a34efd932ad1bf6d5cd1d4580fd3b6af0eacc.tar.xz gsoc2013-empathy-740a34efd932ad1bf6d5cd1d4580fd3b6af0eacc.tar.zst gsoc2013-empathy-740a34efd932ad1bf6d5cd1d4580fd3b6af0eacc.zip |
Merge commit 'shaunm/dndfiles2'
Diffstat (limited to 'libempathy-gtk/empathy-chat.c')
-rw-r--r-- | libempathy-gtk/empathy-chat.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-chat.c b/libempathy-gtk/empathy-chat.c index d9a72d3e9..9d8b89c26 100644 --- a/libempathy-gtk/empathy-chat.c +++ b/libempathy-gtk/empathy-chat.c @@ -2010,6 +2010,12 @@ chat_create_ui (EmpathyChat *chat) /* Add message view. */ chat->view = empathy_theme_manager_create_view (empathy_theme_manager_get ()); + /* If this is a GtkTextView, it's set as a drag destination for text/plain + and other types, even though it's non-editable and doesn't accept any + drags. This steals drag motion for anything inside the scrollbars, + making drag destinations on chat windows far less useful. + */ + gtk_drag_dest_unset (GTK_WIDGET (chat->view)); g_signal_connect (chat->view, "focus_in_event", G_CALLBACK (chat_text_view_focus_in_event_cb), chat); |