summaryrefslogtreecommitdiff
path: root/src/terminal-accels.c
diff options
context:
space:
mode:
authorLaszlo Boros <[email protected]>2013-08-02 14:22:42 +0200
committerStefano Karapetsas <[email protected]>2013-08-11 16:53:33 +0200
commit9537fb9c0567157ca181c106c9c79756cee541bd (patch)
tree2aaa7562a71c5405bac3b170f568c3bd5929bb19 /src/terminal-accels.c
parentff67cbbd09a93cd247a0228896a354181f564691 (diff)
downloadmate-terminal-9537fb9c0567157ca181c106c9c79756cee541bd.tar.bz2
mate-terminal-9537fb9c0567157ca181c106c9c79756cee541bd.tar.xz
GTK3 support
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 44b003b..499a2f5 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
@@ -814,7 +818,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);