Remove comment re right way to keep menus visible - Happy with solution

This commit is contained in:
Stephen Boddy 2015-07-02 21:40:53 +02:00
parent 49f4f18f6d
commit 912545e5da
2 changed files with 2 additions and 2 deletions

View File

@ -403,7 +403,7 @@ class Terminal(Gtk.VBox):
def populate_group_menu(self): def populate_group_menu(self):
"""Fill out a group menu""" """Fill out a group menu"""
menu = Gtk.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 groupitem = None
item = Gtk.MenuItem(_('New group...')) item = Gtk.MenuItem(_('New group...'))

View File

@ -32,7 +32,7 @@ class TerminalPopupMenu(object):
terminal = self.terminal terminal = self.terminal
menu = Gtk.Menu() 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 url = None
button = None button = None
time = None time = None