summaryrefslogtreecommitdiff
path: root/src/terminal-accels.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/terminal-accels.c')
-rw-r--r--src/terminal-accels.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/terminal-accels.c b/src/terminal-accels.c
index 4516be6..9dad3fc 100644
--- a/src/terminal-accels.c
+++ b/src/terminal-accels.c
@@ -29,6 +29,10 @@
#include "terminal-profile.h"
#include "terminal-util.h"
+#if GTK_CHECK_VERSION(3, 0, 0)
+ #include <gdk/gdkkeysyms-compat.h>
+#endif
+
/* NOTES
*
* There are two sources of keybindings changes, from GSettings and from
@@ -826,7 +830,7 @@ accel_edited_callback (GtkCellRendererAccel *cell,
GTK_BUTTONS_OK,
_("The shortcut key ā€œ%sā€ is already bound to the ā€œ%sā€ action"),
name,
-
+
other_key->user_visible_name ? _(other_key->user_visible_name) : other_key->gsettings_key);
g_free (name);