Merge lp:~dpm/quickly/bug-890318 into lp:quickly

Proposed by David Planella
Status: Merged
Merged at revision: 640
Proposed branch: lp:~dpm/quickly/bug-890318
Merge into: lp:quickly
Diff against target: 11 lines (+1/-0)
1 file modified
data/templates/ubuntu-application/project_root/python_lib/Builder.py (+1/-0)
To merge this branch: bzr merge lp:~dpm/quickly/bug-890318
Reviewer Review Type Date Requested Status
Didier Roche-Tolomelli Approve
Review via email: mp+82195@code.launchpad.net

Description of the change

Make signal autoconnect work with signal names with hyphens (lp:890318)

To post a comment you must log in.
Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

Looks good, thanks David and merging :)

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'data/templates/ubuntu-application/project_root/python_lib/Builder.py'
2--- data/templates/ubuntu-application/project_root/python_lib/Builder.py 2011-09-06 07:47:36 +0000
3+++ data/templates/ubuntu-application/project_root/python_lib/Builder.py 2011-11-14 17:18:05 +0000
4@@ -247,6 +247,7 @@
5 # Now, automatically find any the user didn't specify in glade
6 for sig in signal_names:
7 # using convention suggested by glade
8+ sig = sig.replace("-", "_")
9 handler_names = ["on_%s_%s" % (widget_name, sig)]
10
11 # Using the convention that the top level window is not

Subscribers

People subscribed via source and target branches