Review: Port from GObject to GLib
Fix new flake8 issues introduced by cb0d6e2.
This commit is contained in:
parent
13a2282e5e
commit
84a7286986
@ -236,8 +236,7 @@ class ActivityCreationHandler(GObject.GObject):
|
|||||||
|
|
||||||
GLib.child_watch_add(child.pid,
|
GLib.child_watch_add(child.pid,
|
||||||
_child_watch_cb,
|
_child_watch_cb,
|
||||||
(log_file,
|
(log_file, self._handle.activity_id))
|
||||||
self._handle.activity_id))
|
|
||||||
|
|
||||||
def _no_reply_handler(self, *args):
|
def _no_reply_handler(self, *args):
|
||||||
pass
|
pass
|
||||||
|
@ -37,8 +37,10 @@ class _TrayViewport(Gtk.Viewport):
|
|||||||
|
|
||||||
__gproperties__ = {
|
__gproperties__ = {
|
||||||
'scrollable': (bool, None, None, False, GObject.ParamFlags.READABLE),
|
'scrollable': (bool, None, None, False, GObject.ParamFlags.READABLE),
|
||||||
'can-scroll-prev': (bool, None, None, False, GObject.ParamFlags.READABLE),
|
'can-scroll-prev': (bool, None, None, False,
|
||||||
'can-scroll-next': (bool, None, None, False, GObject.ParamFlags.READABLE),
|
GObject.ParamFlags.READABLE),
|
||||||
|
'can-scroll-next': (bool, None, None, False,
|
||||||
|
GObject.ParamFlags.READABLE),
|
||||||
}
|
}
|
||||||
|
|
||||||
def __init__(self, orientation):
|
def __init__(self, orientation):
|
||||||
@ -333,7 +335,8 @@ class VTray(Gtk.EventBox):
|
|||||||
|
|
||||||
__gproperties__ = {
|
__gproperties__ = {
|
||||||
'align': (int, None, None, 0, 1, ALIGN_TO_START,
|
'align': (int, None, None, 0, 1, ALIGN_TO_START,
|
||||||
GObject.ParamFlags.READWRITE | GObject.ParamFlags.CONSTRUCT_ONLY),
|
GObject.ParamFlags.READWRITE |
|
||||||
|
GObject.ParamFlags.CONSTRUCT_ONLY),
|
||||||
'drag-active': (bool, None, None, False, GObject.ParamFlags.READWRITE),
|
'drag-active': (bool, None, None, False, GObject.ParamFlags.READWRITE),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user