Fedora 18 backport - GObject.ParamFlags does not have READWRITE

This commit is contained in:
James Cameron
2018-11-19 14:09:18 +11:00
parent c7a7dcea7d
commit 85fc4680e9
5 changed files with 25 additions and 0 deletions
+5
View File
@@ -64,6 +64,11 @@ from sugar3.graphics.icon import Icon
_ = lambda msg: gettext.dgettext('sugar-toolkit-gtk3', msg)
if not hasattr(GObject.ParamFlags, 'READWRITE'):
GObject.ParamFlags.READWRITE = GObject.ParamFlags.WRITABLE | \
GObject.ParamFlags.READABLE
class Alert(Gtk.EventBox):
"""
Alerts are inside the activity window instead of being a