[Bugs] #4729 Sugar UNSP: convert to new style gobject signal format
Sugar Labs Bugs
bugtracker-noreply at sugarlabs.org
Mon Feb 17 11:54:56 EST 2014
#4729: convert to new style gobject signal format
---------------------------------------------+--------------------------
Reporter: walter | Owner:
Type: task | Status: new
Priority: Unspecified by Maintainer | Milestone: Unspecified
Component: Sugar | Version: Unspecified
Severity: Unspecified | Keywords:
Distribution/OS: Unspecified | Bug Status: Unconfirmed
---------------------------------------------+--------------------------
\
\
We should probably convert the signals from the old-style to the new
style:
e.g.,
__gsignals__ = {
'color-changed': (GObject.SignalFlags.RUN_FIRST,
None,
([object])),
and
self.emit('color-changed', self._color)
to
color_changed_signal = GObject.Signal('color-changed',
arg_types=([object]))
and
self.color_changed_signal.emit(self._color)
\
\
\
--
Ticket URL: <http://bugs.sugarlabs.org/ticket/4729>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system
More information about the Bugs
mailing list