GNOME Bugzilla – Bug 639572
doesn't emit property change notifications over dbus
Last modified: 2020-11-06 20:13:39 UTC
org.gnome.PowerManager has two properties Icon and Tooltip. It would be good if these emitted change notifications so that the client side proxy can cache them. Seems like something similar to the following is needed: GVariantBuilder *builder; GError *error; error = NULL; builder = g_variant_builder_new (G_VARIANT_TYPE_ARRAY); g_variant_builder_add (builder, "{sv}", "Icon", g_variant_new_string (icon_string)); g_dbus_connection_emit_signal (connection, NULL, object_path, "org.freedesktop.DBus.Properties", "PropertiesChanged", g_variant_new ("(sa{sv}as)", interface_name, builder, NULL), &error);
bugzilla.gnome.org is being replaced by gitlab.gnome.org. We are closing all old bug reports in Bugzilla which have not seen updates for many years. If you can still reproduce this issue in a currently supported version of GNOME (currently that would be 3.38), then please feel free to report it at https://gitlab.gnome.org/GNOME/gnome-power-manager/-/issues/ Thank you for reporting this issue and we are sorry it could not be fixed.