------------------------------------------------------------ revno: 1469 committer: James Hunt <[email protected]> branch nick: upstart timestamp: Thu 2013-03-28 09:52:16 +0000 message: * scripts/upstart-monitor.py: on_button_press_event(): Handle path_info being None (LP: #1161098). modified: ChangeLog scripts/upstart-monitor.py
-- lp:upstart https://code.launchpad.net/~upstart-devel/upstart/trunk Your team Upstart Reviewers is subscribed to branch lp:upstart. To unsubscribe from this branch go to https://code.launchpad.net/~upstart-devel/upstart/trunk/+edit-subscription
=== modified file 'ChangeLog' --- ChangeLog 2013-03-25 12:55:08 +0000 +++ ChangeLog 2013-03-28 09:52:16 +0000 @@ -1,3 +1,8 @@ +2013-03-28 James Hunt <[email protected]> + + * scripts/upstart-monitor.py: on_button_press_event(): + Handle path_info being None (LP: #1161098). + 2013-03-25 James Hunt <[email protected]> * extra/man/socket-event.7: Correct section number. === modified file 'scripts/upstart-monitor.py' --- scripts/upstart-monitor.py 2013-03-21 12:07:34 +0000 +++ scripts/upstart-monitor.py 2013-03-28 09:52:16 +0000 @@ -454,8 +454,10 @@ x = int(event.x) y = int(event.y) path_info = treeview.get_path_at_pos(x, y) - if path_info: - path, col, cell_x, cell_y = path_info + if not path_info: + return + + path, col, cell_x, cell_y = path_info model = treeview.get_model() model_iter = model.get_iter(path)
-- upstart-devel mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/upstart-devel
