[mutter] Keybindings: reverse key combination read from settings
- From: Giovanni Campagna <gcampagna src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] Keybindings: reverse key combination read from settings
- Date: Sun, 17 Feb 2013 20:54:03 +0000 (UTC)
commit 027593faa529f6de2746d8309a9c21d640c4a048
Author: Giovanni Campagna <gcampagna src gnome org>
Date: Sun Feb 17 21:50:08 2013 +0100
Keybindings: reverse key combination read from settings
Window menus use the first key combination for a binding to show the
acceleration, so the list must be in the right configured order, which
is the opposite of what's built by g_slist_prepend()
https://bugzilla.gnome.org/show_bug.cgi?id=694045
src/core/prefs.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/core/prefs.c b/src/core/prefs.c
index cce1820..363bccd 100644
--- a/src/core/prefs.c
+++ b/src/core/prefs.c
@@ -1815,6 +1815,8 @@ update_binding (MetaKeyPref *binding,
binding->name, keysym, keycode, mods);
}
+ binding->bindings = g_slist_reverse (binding->bindings);
+
return changed;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]