summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2018-05-25 17:15:46 +0200
committerPablo Barciela <[email protected]>2018-05-27 03:51:08 +0200
commit3214fd31d709a642fc5d7cdcd648fa8ec34f54fa (patch)
tree114859229c5389257e23d3f3a21c37aa36df2ee4
parent6939d4119566fdac2dc2cf0dfd6e3d77f8cf8e1c (diff)
downloadpluma-3214fd31d709a642fc5d7cdcd648fa8ec34f54fa.tar.bz2
pluma-3214fd31d709a642fc5d7cdcd648fa8ec34f54fa.tar.xz
pluma-view: Fix: unexpected behavior with dnd under line numbers
Fixes https://github.com/mate-desktop/pluma/issues/327
-rw-r--r--pluma/pluma-view.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/pluma/pluma-view.c b/pluma/pluma-view.c
index 70ce77a1..5bbfbe94 100644
--- a/pluma/pluma-view.c
+++ b/pluma/pluma-view.c
@@ -2002,12 +2002,9 @@ pluma_view_button_press_event (GtkWidget *widget, GdkEventButton *event)
GTK_TEXT_WINDOW_LEFT)))
{
if (event->button == 3)
- {
show_line_numbers_menu (widget, event);
- return TRUE;
- }
- else if (event->button == 2)
- return TRUE;
+
+ return TRUE;
}
if ((event->button == 2) || (event->button == 3))