mirror of
https://github.com/brl/mutter.git
synced 2025-02-16 13:24:09 +00:00
fix stupid thinko which caused defaults to be incorrect "space" needs to
2008-10-23 Thomas Thurman <tthurman@gnome.org> * src/core/schema-bindings.c: fix stupid thinko which caused defaults to be incorrect * src/include/window-bindings.h: "space" needs to be lowercase svn path=/trunk/; revision=3992
This commit is contained in:
parent
ab9bdf228b
commit
bb539466d5
@ -1,3 +1,10 @@
|
|||||||
|
2008-10-23 Thomas Thurman <tthurman@gnome.org>
|
||||||
|
|
||||||
|
* src/core/schema-bindings.c: fix stupid thinko which
|
||||||
|
caused defaults to be incorrect
|
||||||
|
* src/include/window-bindings.h: "space" needs to be
|
||||||
|
lowercase
|
||||||
|
|
||||||
2008-10-23 Thomas Thurman <tthurman@gnome.org>
|
2008-10-23 Thomas Thurman <tthurman@gnome.org>
|
||||||
|
|
||||||
Support _NET_WM_STATE_STICKY (i.e. allow third-party apps to decide
|
Support _NET_WM_STATE_STICKY (i.e. allow third-party apps to decide
|
||||||
|
@ -48,21 +48,6 @@ char *about_keybindings, *about_reversible_keybindings;
|
|||||||
char *source_filename, *target_filename;
|
char *source_filename, *target_filename;
|
||||||
FILE *source_file, *target_file;
|
FILE *source_file, *target_file;
|
||||||
|
|
||||||
const char* window_string = \
|
|
||||||
" <schema>\n" \
|
|
||||||
" <key>/schemas/apps/metacity/%s_keybindings/%s%s</key>\n" \
|
|
||||||
" <applyto>/apps/metacity/%s_keybindings/%s%s</applyto>\n" \
|
|
||||||
" <owner>metacity</owner>\n" \
|
|
||||||
" <type>string</type>\n" \
|
|
||||||
" <default>%s</default>\n" \
|
|
||||||
" <locale name=\"C\">\n" \
|
|
||||||
" <short>%s</short>\n" \
|
|
||||||
" <long>\n" \
|
|
||||||
" %s %s\n" \
|
|
||||||
" </long>\n" \
|
|
||||||
" </locale>\n" \
|
|
||||||
" </schema>\n\n\n";
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
single_stanza (gboolean is_window, const char *name,
|
single_stanza (gboolean is_window, const char *name,
|
||||||
const char *default_value,
|
const char *default_value,
|
||||||
@ -77,7 +62,7 @@ single_stanza (gboolean is_window, const char *name,
|
|||||||
|
|
||||||
escaped_description = g_markup_escape_text (description, -1);
|
escaped_description = g_markup_escape_text (description, -1);
|
||||||
escaped_default_value = default_value==NULL? "disabled":
|
escaped_default_value = default_value==NULL? "disabled":
|
||||||
g_markup_escape_text (description, -1);
|
g_markup_escape_text (default_value, -1);
|
||||||
|
|
||||||
fprintf (target_file, " <schema>\n");
|
fprintf (target_file, " <schema>\n");
|
||||||
fprintf (target_file, " <key>/schemas/apps/metacity/%s_keybindings/%s</key>\n",
|
fprintf (target_file, " <key>/schemas/apps/metacity/%s_keybindings/%s</key>\n",
|
||||||
|
@ -44,7 +44,7 @@
|
|||||||
|
|
||||||
|
|
||||||
keybind (activate_window_menu, handle_activate_window_menu, 0,
|
keybind (activate_window_menu, handle_activate_window_menu, 0,
|
||||||
BINDING_PER_WINDOW, "<Alt>Space",
|
BINDING_PER_WINDOW, "<Alt>space",
|
||||||
_("Activate the window menu"))
|
_("Activate the window menu"))
|
||||||
keybind (toggle_fullscreen, handle_toggle_fullscreen, 0, BINDING_PER_WINDOW,
|
keybind (toggle_fullscreen, handle_toggle_fullscreen, 0, BINDING_PER_WINDOW,
|
||||||
NULL,
|
NULL,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user