Skip to content

Commit

Permalink
pluma-view: Fix: unexpected behavior with dnd under line numbers
Browse files Browse the repository at this point in the history
Fixes #327
  • Loading branch information
sc0w committed May 27, 2018
1 parent 841ad2d commit 651a268
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions pluma/pluma-view.c
Expand Up @@ -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))
Expand Down

0 comments on commit 651a268

Please sign in to comment.