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
This commit is contained in:
Giovanni Campagna 2013-02-17 21:50:08 +01:00
parent 491c5b622e
commit 027593faa5

View File

@ -1815,6 +1815,8 @@ update_binding (MetaKeyPref *binding,
binding->name, keysym, keycode, mods); binding->name, keysym, keycode, mods);
} }
binding->bindings = g_slist_reverse (binding->bindings);
return changed; return changed;
} }