~timo-jyrinki/ubuntu/trusty/pitivi/backport_utopic_fixes

« back to all changes in this revision

Viewing changes to pitivi/signalinterface.py

  • Committer: Bazaar Package Importer
  • Author(s): Jeremy Bicha
  • Date: 2011-08-15 02:32:20 UTC
  • mfrom: (1.5.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20110815023220-x2n5l0i4deiqn7dn
Tags: 0.14.2-0ubuntu1
* New upstream version.
  - New Mallard format help
* debian/control:
  - Add gnome-doc-utils to build-depends
  - Bump pygtk minimum to 2.24
* debian/patches/01_lpi.patch
  - Move LPI items below User Manual in Help menu
* debian/watch: Watch for 0.14.* tar.bz2

Show diffs side-by-side

added added

removed removed

Lines of Context:
111
111
            # will concatenate the given args/kwargs with
112
112
            # the ones supplied in .connect()
113
113
            res = None
114
 
            for sigid in self.handlers[signame]:
 
114
            # Create a copy because if the handler being executed disconnects,
 
115
            # the next handler will not be called.
 
116
            signame_handlers = list(self.handlers[signame])
 
117
            for sigid in signame_handlers:
 
118
                if sigid not in self.handlers[signame]:
 
119
                    # The handler has been disconnected in the meantime!
 
120
                    continue
115
121
                # cb: callable
116
122
                cb, orar, kwar = self.ids[sigid]
117
123
                ar = args[:] + orar