profilelist is a list, not a callable object

This commit is contained in:
Chris Jones 2010-01-08 01:04:06 +00:00
parent 4aa1b50fe6
commit c14e955310

View File

@ -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: