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:
Thomas Thurman 2008-10-23 04:27:31 +00:00 committed by Thomas James Alexander Thurman
parent ab9bdf228b
commit bb539466d5
3 changed files with 9 additions and 17 deletions

View File

@ -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>
Support _NET_WM_STATE_STICKY (i.e. allow third-party apps to decide

View File

@ -48,21 +48,6 @@ char *about_keybindings, *about_reversible_keybindings;
char *source_filename, *target_filename;
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
single_stanza (gboolean is_window, const char *name,
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_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, " <key>/schemas/apps/metacity/%s_keybindings/%s</key>\n",

View File

@ -44,7 +44,7 @@
keybind (activate_window_menu, handle_activate_window_menu, 0,
BINDING_PER_WINDOW, "<Alt>Space",
BINDING_PER_WINDOW, "<Alt>space",
_("Activate the window menu"))
keybind (toggle_fullscreen, handle_toggle_fullscreen, 0, BINDING_PER_WINDOW,
NULL,