GNOME Bugzilla – Bug 726484
Setting Gio.Application().props.flags in Python does not work
Last modified: 2017-03-29 08:01:52 UTC
from gi.repository import Gio Gio.Application().props.flags = Gio.ApplicationFlags.HANDLES_OPEN Notice it raises: NotImplementedError: Setting properties of type 'GApplicationFlags' is not implemented
Pretty sure this is a PyGObject bug. Also note calling "set_flags" works fine: app.set_flags(Gio.ApplicationFlags.HANDLES_OPEN)
Created attachment 348893 [details] [review] property: support setting flags This also adds some tests for setting flags and enum properties which depend on some properties being added in g-i's gimarshallingtests: https://bugzilla.gnome.org/show_bug.cgi?id=780652