profilelist is a list, not a callable object
This commit is contained in:
parent
4aa1b50fe6
commit
c14e955310
@ -149,7 +149,7 @@ class TerminalPopupMenu(object):
|
||||
|
||||
group = None
|
||||
|
||||
for profile in profilelist():
|
||||
for profile in profilelist:
|
||||
item = gtk.RadioMenuItem(group, profile.capitalize())
|
||||
item.connect('activate', terminal.set_profile, profile)
|
||||
if profile == current:
|
||||
|
Loading…
Reference in New Issue
Block a user