e88f08072c
The Shell is the only user of the magnifier, so there's no reason to keep using GConf for its settings. Since it's a session-wide tool, use a distinct schema, org.gnome.accessibility.magnifier, stored in /desktop/gnome/accessibility/magnifier just like before. Put these settings in a separate schema file for clarity. Old enums in GConf were stored as integers, we now use the facilities provided by GSettings to save them as strings, and convert them to integers automatically thanks to the mapping stored in the schemas. Remove hard-coded default values, which we can get from the schemas. https://bugzilla.gnome.org/show_bug.cgi?id=622414
33 lines
1.2 KiB
Plaintext
33 lines
1.2 KiB
Plaintext
<gconfschemafile>
|
|
<schemalist>
|
|
|
|
<!-- Metacity overrides -->
|
|
<schema>
|
|
<key>/schemas/desktop/gnome/shell/windows/button_layout</key>
|
|
<applyto>/desktop/gnome/shell/windows/button_layout</applyto>
|
|
<owner>gnome-shell</owner>
|
|
<type>string</type>
|
|
<default>:minimize,maximize,close</default>
|
|
<locale name="C">
|
|
<short>Arrangement of buttons on the titlebar</short>
|
|
<long>
|
|
Arrangement of buttons on the titlebar. The
|
|
value should be a string, such as
|
|
"menu:minimize,maximize,spacer,close"; the colon separates the
|
|
left corner of the window from the right corner, and
|
|
the button names are comma-separated. Duplicate buttons
|
|
are not allowed. Unknown button names are silently ignored
|
|
so that buttons can be added in future gnome-shell versions
|
|
without breaking older versions.
|
|
A special spacer tag can be used to insert some space between
|
|
two adjacent buttons.
|
|
|
|
This key overrides /apps/metacity/general/button_layout when
|
|
running GNOME Shell.
|
|
</long>
|
|
</locale>
|
|
</schema>
|
|
|
|
</schemalist>
|
|
</gconfschemafile>
|