Remove comment re right way to keep menus visible - Happy with solution
This commit is contained in:
parent
49f4f18f6d
commit
912545e5da
|
@ -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...'))
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue