Make GConf sync after deleting a custom binding so that the removed
directory actually gets pruned and doesn't come back when restarting
the application (bug 596351).
Mutter shares most (currently all) its keybindings with Metacity, and uses
the same /apps/metacity GConf keys. For 2.28, the schemas stay in Metacity;
the eventual plan is to have a gnome-wm-data package.
This patch allows a window manager to put a _GNOME_WM_KEYBINDINGS property
on its _NET_SUPPORTING_WM_CHECK window to provide a comma separated list of
window manager names to use for keybinding lookup instead of _NET_WM_NAME.
http://bugzilla.gnome.org/show_bug.cgi?id=594066
These changes were proposed in bug 580792:
- Make the apply button the default
- Don't let the cancel button grab the default
- Make both entries activate the default widget
- Grab the focus to the first entry when presenting the dialog
2009-04-02 Jens Granseuer <jensgr@gmx.net>
* gnome-keybinding-properties.c: (start_editing_kb_cb): make
activating a section header row expand or collapse the section as
expected instead of crashing (bug #577474)
svn path=/trunk/; revision=9400
2009-02-23 Jens Granseuer <jensgr@gmx.net>
* gnome-keybinding-properties.c: (append_keys_to_tree),
(update_custom_shortcut): for shortcuts without a description simply
show "<Unknown Action>" instead of (unhelpful) parts of its GConf
path (bug #572808)
svn path=/trunk/; revision=9285
2009-02-20 Jens Granseuer <jensgr@gmx.net>
* gnome-keybinding-properties.c: (update_custom_shortcut): don't
forget to save the shortcut command, too (bug #572501)
svn path=/trunk/; revision=9280
2009-01-28 Bastien Nocera <hadess@hadess.net>
* gnome-keybinding-properties.c (setup_dialog): Make Enter
work as expected in the custom key shortcut edit dialogue
svn path=/trunk/; revision=9216
2009-01-28 Bastien Nocera <hadess@hadess.net>
* gnome-keybinding-properties.c (append_keys_to_tree),
(edit_custom_shortcut), (update_custom_shortcut): Only print
warnings for non-custom keybindings, Set the GConf key for
the description when editing existing custom key shortcuts,
Avoid warnings when the description for a custom key shortcut
is empty
svn path=/trunk/; revision=9215
2009-01-28 Bastien Nocera <hadess@hadess.net>
* gnome-keybinding-properties.c (append_keys_to_tree):
Print a warning when a key doesn't have a schema, so no
description, makes debugging things like:
https://bugzilla.redhat.com/show_bug.cgi?id=482813
easier
svn path=/trunk/; revision=9214
2009-01-25 Jens Granseuer <jensgr@gmx.net>
* gnome-keybinding-properties.c: (add_custom_shortcut): fix argument
type warnings by casting to appropriate type
svn path=/trunk/; revision=9209
+
+ * Get rid of a number of unnecessary gnome.h includes
+
+ * capplets/keybindings/gnome-keybinding-properties.c: Use
+ gtk_init() instead of gnome_program_init().
+
+ * A couple of formatting fixes
+
svn path=/trunk/; revision=9098
2008-10-19 Matthias Clasen <mclasen@redhat.com>
Bug 556977 – avoid duplicate custom keybindings
* capplets/keybindings/gnome-keybinding-properties.c: Filter
out custom keybindings that are also listed in xml files.
svn path=/trunk/; revision=9083
2008-07-26 Jens Granseuer <jensgr@gmx.net>
Based on a patch by: Denis Washington <denisw@svn.gnome.org>
* gnome-keybinding-properties.c: (binding_name), (show_error),
(accel_edited_callback): when trying to assign a shortcut that is
already in use, ask the user whether to reassign it instead of
refusing to do anything (bug #133318)
svn path=/trunk/; revision=8796
2008-03-31 Bastien Nocera <hadess@hadess.net>
* gnome-keybinding-properties.c (append_keys_to_tree_from_file):
Fix category headers not appearing properly in the
treeview when using a non-UTF-8 locale (Closes: #513988)
svn path=/trunk/; revision=8613
2008-03-15 Jens Granseuer <jensgr@gmx.net>
* gnome-keybinding-properties.c: (accel_edited_callback),
(accel_cleared_callback), (start_editing_cb),
(maybe_block_accels), (setup_dialog): stop widget accelerators
from activating while the user is entering a new shortcut. This
allows binding shortcuts that are used as accels in the capplet
dialog, e.g. for the Help and Close buttons (bug #313228)
svn path=/trunk/; revision=8581
2007-03-21 Bastien Nocera <hadess@hadess.net>
* gnome-keybinding-properties.c: (reload_key_entries):
Prepend the directory name before loading the files, otherwise, we're
loading them from the current directory, spotted by Fernando Herrera
<fherrera@onirica.com> (Closes: #420796)
svn path=/trunk/; revision=7411
2007-03-19 Bastien Nocera <hadess@hadess.net>
* capplets/keybindings/00-multimedia-key.xml.in:
* capplets/keybindings/01-desktop-key.xml.in:
* capplets/keybindings/50-metacity-desktop-key.xml.in:
* capplets/keybindings/50-metacity-key.xml.in:
* capplets/keybindings/Makefile.am:
* capplets/keybindings/gnome-keybinding-properties.c:
(create_dialog), (should_show_key), (count_rows_foreach),
(ensure_scrollbar), (append_keys_to_tree), (parse_start_tag),
(append_keys_to_tree_from_file), (reload_key_entries),
(setup_dialog):
* po/POTFILES.in: Make all the keybindings be external to the keybindings
capplet itself. This allows applications to add their own keybindings
without recompilation (Closes: #410758)
svn path=/trunk/; revision=7397
2007-02-19 Jens Granseuer <jensgr@gmx.net>
* gnome-keybinding-properties.c: (clear_old_model): clear GConf client
cache before reloading since cached values don't pass the schema name
along which can make entries vanish from the list (fixes bug 394776)
svn path=/trunk/; revision=7309
2007-02-07 Mariano Suárez-Alvarez <mariano@gnome.org>
* gnome-keybinding-properties.c (clear_old_model, reload_key_entries,
cb_dialog_response, setup_dialog, main): organize the way things a cleared
at exit time so as to avoid warnings. (fixes bug 405175)
svn path=/trunk/; revision=7255
2007-02-04 Jens Granseuer <jensgr@gmx.net>
* gnome-keybinding-properties.c: (keyentry_sort_func),
(clear_old_model), (setup_dialog): clean up sorting to not use an
imaginary column; change accel sort order to move disabled actions
to the back of the list and also speed up sorting a bit
svn path=/trunk/; revision=7243
2007-02-03 Jens Granseuer <jensgr@gmx.net>
* gnome-keybinding-properties.c: (accel_edited_callback): filter
out CapsLock modifiers since it's otherwise possible to set the
same accel for several actions (fixes#350424)
svn path=/trunk/; revision=7232
2007-01-31 Jens Granseuer <jensgr@gmx.net>
* gnome-keybinding-properties.c: (main): remove left-over call to
gnome_theme_init(). The rest of the code dealing with (key) themes
has been removed back in 2004... (fixes#157452)
svn path=/trunk/; revision=7220
2007-01-08 Rodrigo Moya <rodrigo@novell.com>
* gnome-keybinding-properties.c (create_dialog, clear_old_model):
moved gtk_scrolled_window_ call back to its correct place.
svn path=/trunk/; revision=7103