Skip to content

Commit

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

0 comments on commit 12e55b6

Please sign in to comment.