8ae714eeae
2002-02-06 Havoc Pennington <hp@pobox.com> * src/main.c (main): disable custom log handler and fatal mask for now * src/theme.c (meta_draw_op_list_draw): Add META_DRAW_CLIP * src/main.c: load theme, monitor current theme setting * src/prefs.c: add "current theme" setting * src/stack.c (meta_stack_free): don't try to free last_root_children_stacked if it doesn't exist * src/themewidget.c: pluggable GtkMisc subclass to use for menu icons * src/screen.c (meta_screen_manage_all_windows): fix signed/unsigned warning * src/frames.c: port to theme system (meta_frames_style_set): chain up * theme-format.txt: new file * configure.in: add more compiler warnings * src/theme.c: add various stuff needed to get theme parser working. Remove the "spacer" concept from FrameLayout object. Add draw op that references a draw op list. * configure.in: require GTK 1.3.13 * src/Makefile.am: add theme-parser.[hc], implement loading a theme * src/theme.c: add "draw title" and "draw window icon" operations (meta_draw_op_draw): put object_width/object_height in expression environment before computing x/y. Handle out-of-memory when creating pixbufs. Assorted other cleanups.
165 lines
6 KiB
Text
165 lines
6 KiB
Text
<gconfschemafile>
|
|
<schemalist>
|
|
|
|
<!-- General preferences -->
|
|
|
|
<schema>
|
|
<key>/schemas/apps/metacity/general/focus_mode</key>
|
|
<applyto>/apps/metacity/general/focus_mode</applyto>
|
|
<owner>metacity</owner>
|
|
<type>string</type>
|
|
<default>click</default>
|
|
<locale name="C">
|
|
<short>Window focus mode</short>
|
|
<long>
|
|
The window focus mode indicates how windows are activated.
|
|
It has three possible values; "click" means windows must
|
|
be clicked in order to focus them, "sloppy" means windows
|
|
are focused when the mouse enters the window, and "mouse" means
|
|
windows are focused when the mouse enters the window and
|
|
unfocused when the mouse leaves the window.
|
|
</long>
|
|
</locale>
|
|
</schema>
|
|
|
|
<schema>
|
|
<key>/schemas/apps/metacity/general/theme</key>
|
|
<applyto>/apps/metacity/general/theme</applyto>
|
|
<owner>metacity</owner>
|
|
<type>string</type>
|
|
<default>Atlanta</default>
|
|
<locale name="C">
|
|
<short>Current theme</short>
|
|
<long>
|
|
The theme determines the appearance of window borders,
|
|
titlebar, and so forth.
|
|
</long>
|
|
</locale>
|
|
</schema>
|
|
|
|
<schema>
|
|
<key>/schemas/apps/metacity/general/titlebar_uses_desktop_font</key>
|
|
<applyto>/apps/metacity/general/titlebar_uses_desktop_font</applyto>
|
|
<owner>metacity</owner>
|
|
<type>bool</type>
|
|
<default>true</default>
|
|
<locale name="C">
|
|
<short>Use standard desktop font in window titles</short>
|
|
<long>
|
|
If true, ignore the titlebar_font and titlebar_font_size
|
|
options, and use the standard application font for window
|
|
titles.
|
|
</long>
|
|
</locale>
|
|
</schema>
|
|
|
|
<schema>
|
|
<key>/schemas/apps/metacity/general/titlebar_font</key>
|
|
<applyto>/apps/metacity/general/titlebar_font</applyto>
|
|
<owner>metacity</owner>
|
|
<type>string</type>
|
|
<!-- no default is deliberate - we want to be unset by default -->
|
|
<locale name="C">
|
|
<short>Window title font</short>
|
|
<long>
|
|
A font description string describing a font for window
|
|
titlebars. The size from the description
|
|
will only be used if the titlebar_font_size option is set
|
|
to 0, however. Also, this option is disabled if the
|
|
titlebar_uses_desktop_font option is set to true.
|
|
By default, titlebar_font is unset, causing Metacity to fall
|
|
back to the desktop font even if titlebar_uses_desktop_font
|
|
is false.
|
|
</long>
|
|
</locale>
|
|
</schema>
|
|
|
|
<schema>
|
|
<key>/schemas/apps/metacity/general/titlebar_font_size</key>
|
|
<applyto>/apps/metacity/general/titlebar_font_size</applyto>
|
|
<owner>metacity</owner>
|
|
<type>int</type>
|
|
<default>0</default>
|
|
<locale name="C">
|
|
<short>Window title font size</short>
|
|
<long>
|
|
The size of the font used in window titlebars, in points.
|
|
If set to 0, the size comes from the titlebar_font option
|
|
or from the desktop-wide default. If set to nonzero,
|
|
overrides those sizes.
|
|
</long>
|
|
</locale>
|
|
</schema>
|
|
|
|
<schema>
|
|
<key>/schemas/apps/metacity/general/num_workspaces</key>
|
|
<applyto>/apps/metacity/general/num_workspaces</applyto>
|
|
<owner>metacity</owner>
|
|
<type>int</type>
|
|
<default>4</default>
|
|
<locale name="C">
|
|
<short>Number of workspaces</short>
|
|
<long>
|
|
Number of workspaces. Must be more than zero, and
|
|
has a fixed maximum (to prevent accidentally destroying
|
|
your desktop by asking for 34 million workspaces).
|
|
</long>
|
|
</locale>
|
|
</schema>
|
|
|
|
<!-- Keybindings -->
|
|
|
|
<schema>
|
|
<key>/schemas/apps/metacity/keybindings/activate_window_menu</key>
|
|
<applyto>/apps/metacity/keybindings/activate_window_menu</applyto>
|
|
<owner>metacity</owner>
|
|
<type>string</type>
|
|
<default><Alt>space</default>
|
|
<locale name="C">
|
|
<short>Activate window menu</short>
|
|
<long>
|
|
The keybinding used to activate the window menu.
|
|
The format looks like "<Control>a" or "<Shift><Alt>F1" or
|
|
"<Release>z" (the last one is for key release). The parser is
|
|
fairly liberal and allows lower or upper case, and also
|
|
abbreviations such as "<Ctl>" and "<Ctrl>". This option can be
|
|
set to a single string, or a list of strings; if a list,
|
|
all of the given keybindings will be present. If you set
|
|
the option to the special string "disabled", then there
|
|
will be no keybinding for this action.
|
|
</long>
|
|
</locale>
|
|
</schema>
|
|
|
|
<schema>
|
|
<key>/schemas/apps/metacity/general/application_based</key>
|
|
<applyto>/apps/metacity/general/application_based</applyto>
|
|
<owner>metacity</owner>
|
|
<type>bool</type>
|
|
<default>false</default>
|
|
<locale name="C">
|
|
<short>Navigation works in terms of applications not windows</short>
|
|
<long>
|
|
If true, then Metacity works in terms of applications rather
|
|
than windows. The concept is a bit abstract, but
|
|
in general an application-based setup is more like
|
|
the Mac and less like Windows. When you focus a window
|
|
in application-based mode, all the windows in the
|
|
application will be raised. Also, in application-based
|
|
mode, focus clicks are not passed through to windows
|
|
in other applications.
|
|
The existence of this setting is somewhat questionable.
|
|
But it's better than having settings for all the specific
|
|
details of application-based vs. window-based, e.g.
|
|
whether to pass through clicks. Also, application-based mode
|
|
is largely unimplemented at the moment.
|
|
</long>
|
|
</locale>
|
|
</schema>
|
|
|
|
</schemalist>
|
|
</gconfschemafile>
|
|
|
|
|
|
|
|
|