2007-02-01 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-view.c: (ev_view_button_press_event):
Do not start an image drag and drop operation when pointer is on
text, so that we can select text when the whole background is an
image.
svn path=/trunk/; revision=2283
+2007-02-01 Carlos Garcia Campos <carlosgc@gnome.org>
+
+ * shell/ev-view.c: (ev_view_button_press_event):
+
+ Do not start an image drag and drop operation when pointer is on
+ text, so that we can select text when the whole background is an
+ image.
+
2007-01-31 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-window.c: (ev_window_update_actions):
}
gtk_widget_queue_draw (widget);
- } else if ((image = ev_view_get_image_at_location (view, event->x, event->y))) {
+ } else if (!location_in_text (view, event->x + view->scroll_x, event->y + view->scroll_y) &&
+ (image = ev_view_get_image_at_location (view, event->x, event->y))) {
if (view->image_dnd_info.image)
g_object_unref (view->image_dnd_info.image);
view->image_dnd_info.image = g_object_ref (image);