Skip to content
Permalink
Browse files

pluma-view: Fix: unexpected behavior with dnd under line numbers

Fixes #327
  • Loading branch information...
sc0w committed May 25, 2018
1 parent 841ad2d commit 651a2681b6dfe1ce90fa52dfdbfdf634e68d853b
Showing with 2 additions and 5 deletions.
  1. +2 −5 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))

0 comments on commit 651a268

Please sign in to comment.
You can’t perform that action at this time.