From 912545e5da3f11cf5a9edd1f933b49d8599fb5e3 Mon Sep 17 00:00:00 2001 From: Stephen Boddy Date: Thu, 2 Jul 2015 21:40:53 +0200 Subject: [PATCH] Remove comment re right way to keep menus visible - Happy with solution --- terminatorlib/terminal.py | 2 +- terminatorlib/terminal_popup_menu.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/terminatorlib/terminal.py b/terminatorlib/terminal.py index 44dfa064..a79f365d 100755 --- a/terminatorlib/terminal.py +++ b/terminatorlib/terminal.py @@ -403,7 +403,7 @@ class Terminal(Gtk.VBox): def populate_group_menu(self): """Fill out a group menu""" menu = Gtk.Menu() - self.group_menu = menu # from http://stackoverflow.com/questions/21960298/python-gtk3-right-click-menu -- is this the right way? + self.group_menu = menu groupitem = None item = Gtk.MenuItem(_('New group...')) diff --git a/terminatorlib/terminal_popup_menu.py b/terminatorlib/terminal_popup_menu.py index 71894d10..322f6be2 100755 --- a/terminatorlib/terminal_popup_menu.py +++ b/terminatorlib/terminal_popup_menu.py @@ -32,7 +32,7 @@ class TerminalPopupMenu(object): terminal = self.terminal menu = Gtk.Menu() - self.popup_menu = menu # from http://stackoverflow.com/questions/21960298/python-gtk3-right-click-menu -- is this the right way? + self.popup_menu = menu url = None button = None time = None