Skip to content

Commit

Permalink
Wired in click handler to task click
Browse files Browse the repository at this point in the history
  • Loading branch information
tomwardill committed Mar 17, 2011
1 parent b115bd5 commit 4566690
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion harvest-notifier.py
Expand Up @@ -32,6 +32,7 @@ def __init__(self):

for task in project['tasks']:
t = gtk.MenuItem(task['name'])
t.connect('activate', self.task_cb, self.menu)
task_menu.append(t)

p.set_submenu(task_menu)
Expand All @@ -53,7 +54,7 @@ def __init__(self):

gtk.main()

def execute_cb(self, widget, event, data = None):
def task_cb(self, widget, event, data = None):
window = gtk.Window(gtk.WINDOW_TOPLEVEL)
window.set_border_width(10)

Expand Down

0 comments on commit 4566690

Please sign in to comment.