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