shortcuts: Follow changes of accels

Desktop / GNOME / GTK - Matthias Clasen [redhat.com] - 17 April 2016 12:42 UTC

Add a way to associate a detailed action name with a shortcut. If the action name is set, update the accelerator whenever accels change on the window that the shortcuts window is associated with.

https://bugzilla.gnome.org/show_bug.cgi?id=764975

50f041b shortcuts: Follow changes of accels
gtk/Makefile.am | 2 ++
gtk/gtkapplicationwindow.c | 3 ++
gtk/gtkshortcutsshortcut.c | 64 +++++++++++++++++++++++++++++++++++++
gtk/gtkshortcutsshortcutprivate.h | 37 +++++++++++++++++++++
gtk/gtkshortcutswindow.c | 62 ++++++++++++++++++++++++++++++++++-
gtk/gtkshortcutswindowprivate.h | 38 ++++++++++++++++++++++
6 files changed, 205 insertions(+), 1 deletion(-)

Upstream: git.gnome.org


  • Share