summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2018-05-25 17:15:46 +0200
committerraveit65 <[email protected]>2018-05-26 09:02:05 +0200
commit12e55b6c7071277293155f4971507124a666a0a3 (patch)
tree8d0aede8b1c69a7630709cfd442b3f83348e8432
parent72edb5de006251f6d561291ccf230d685bfb5f16 (diff)
downloadpluma-12e55b6c7071277293155f4971507124a666a0a3.tar.bz2
pluma-12e55b6c7071277293155f4971507124a666a0a3.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 3798b13d..d8e1bb9a 100644
--- a/pluma/pluma-view.c
+++ b/pluma/pluma-view.c
@@ -2025,12 +2025,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))