| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=676816
|
| |
|
|
|
|
|
|
| |
g_settings_create_action() will create a GAction for the named key,
allowing it to be added to the action group of the application (so that
the setting can be directly manipulated from menus, for example).
https://bugzilla.gnome.org/show_bug.cgi?id=668279
|
| | |
|
| |
|
|
|
| |
Clean up our parameter naming and documentation to draw a clearer line
between a schema and its identifier.
|
| | |
|
| |
|
|
|
|
|
|
| |
Without getting into a debate about the reasons why you may or may not
want to use unsigned integers, it's sufficient to note that people have
been using them and requesting this functionality.
Bug #641755.
|
| | |
|
| |
|
|
| |
'Settings' GIO group contains GSettings and GSettingsBackend.
|
| |
|
|
| |
Checks if a given value is within the correct range for a key.
|
| |
|
|
|
|
|
| |
Add g_settings_get_range() to describe the possible values that may be
provided to g_settings_set_value() without causing an error.
Add a test case.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
In its previous form, g_settings_list_schemas() was not useful as a tool
to prevent aborts due to using g_settings_new() with an invalid schema
name. This is because g_settings_list_scheams() also listed relocatable
schemas, and calling g_settings_new() for those would abort just the
same as if you called it for a non-existent schema.
Modify g_settings_list_schemas() so that it only returns schemas for
which it is safe to call g_settings_new(). Add another call for sake of
completeness: g_settings_list_relocatable_schemas().
|
| |
|
|
|
| |
A couple of extra function prototypes snuck into commit
77e3badcf3f15c7ac235904160d775febfcebcb5. Take those out.
|
| |
|
|
| |
This is an incompatible public API/ABI change.
|
| |
|
|
|
|
|
|
|
|
| |
When binding a boolean setting to a boolean property, invert the values.
This avoids the requirement for writing a pair of mapping functions for
this extremely common case.
Add a test.
https://bugzilla.gnome.org/show_bug.cgi?id=625833
|
| |
|
|
| |
Resets a key to its default value.
|
| | |
|
| |
|
|
|
|
|
|
| |
Add a <flags> tag to the schema file format and a flags='' attribute to
go along with. Add some extra test cases for those.
Add new g_settings_{get,set}_flags() calls and support binding to
GParamSpecFlags properties. Add test cases.
|
| |
|
|
| |
This function returns children as well.
|
| |
|
|
|
| |
First shot at attempting to implement this in a reasonable way. See
the bug for more information about why this is needed.
|
| | |
|
| |
|
|
| |
Second half of bug #622554.
|
| |
|
|
| |
Solves half of #622554.
|
| | |
|
| |
|
|
|
| |
Remove the concept of "context" in favour of dealing with
GSettingsBackend directly.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
As pointed out by Christian Persch in bug 620173, all the new
gdbus and gsettings headers were missing these.
|
| |
|
|
|
|
|
|
| |
Length of the array is redundant since it's NULL-terminated. This is not
consistent with many GLib and GTK+ functions, and adds complexity with
no real gain, while these convenience functions should be kept simple.
Closes bug #620312
|
| |
|
|
| |
And document readability/writability requirements for binding flags.
|
| | |
|
| | |
|
| |
|