Branch: refs/heads/master Author: Matthew Brush matt@geany.org Committer: Matthew Brush matt@geany.org Date: Fri, 12 Jan 2018 21:55:07 UTC Commit: 6622574172a23993c19b3ce02e5190f252f01faf https://github.com/geany/geany/commit/6622574172a23993c19b3ce02e5190f252f01f...
Log Message: ----------- Fix double context menu in Terminal tab
This was introduced in 1f71ccd because the VTE widget's existing button-press handler didn't return `TRUE` and so the event propogated up to the notebook showing both of their context menus.
Modified Paths: -------------- src/vte.c
Modified: src/vte.c 1 lines changed, 1 insertions(+), 0 deletions(-) =================================================================== @@ -536,6 +536,7 @@ static gboolean vte_button_pressed(GtkWidget *widget, GdkEventButton *event, gpo { gtk_widget_grab_focus(vc->vte); gtk_menu_popup(GTK_MENU(vc->menu), NULL, NULL, NULL, NULL, event->button, event->time); + return TRUE; } else if (event->button == 2) {
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).