Re: GSettings are not saved



The reason was also that my schema did not have a path set. But for some reason panel_applet_settings_new() does not warn about this, when I switched to g_settings_new() i got a Gtk-Critical exception, thats when I noticed my schema needs a path.

On 26/08/12 20:21, Vincent Untz wrote:
Le dimanche 26 août 2012, à 19:15 +0200, Lanoxx a écrit :
Maybe panel_applet_settings_new should get the comment in the docs,
that it does not retain the settings.
Not sure what you mean -- the settings should definitely be saved.
panel_applet_settings_new() is simply a wrapper around
g_settings_new_with_path(), with a path provided by gnome-panel.

Vincent




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]