From 12e55b6c7071277293155f4971507124a666a0a3 Mon Sep 17 00:00:00 2001 From: Pablo Barciela Date: Fri, 25 May 2018 17:15:46 +0200 Subject: pluma-view: Fix: unexpected behavior with dnd under line numbers Fixes https://github.com/mate-desktop/pluma/issues/327 --- pluma/pluma-view.c | 7 ++----- 1 file 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)) -- cgit v1.2.1