Skip to content

WIP: Migrate settings to xfconf

It's a lot based on this xfce4-weather-plugin@b666d4fa

Doesn't work perfectly, for example, changes done via the xfce4-settings-editor are not applied, so they are kinda read-only from that side. This also applies to weather-plugin so I don't know if it's a big issue or not.

There is another way to do this based on a GObject config (like pulseaudio-plugin and notes-plugin) but this might require a lot more refactoring, perhaps of the whole plugin. I did make an attempt to make it based on GObject config but it was buggier and didn't work any better.

Possible improvements for now might be to change the types of struct param_t to gboolean, gchar, guint32. Mostly for the booleans to be shown as checkboxes instead of integers with 0 and 1.

Merge request reports

Loading