gnome-commander r1693 - trunk/src
- From: epiotr svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-commander r1693 - trunk/src
- Date: Mon, 7 Apr 2008 21:52:42 +0100 (BST)
Author: epiotr
Date: Mon Apr 7 21:52:41 2008
New Revision: 1693
URL: http://svn.gnome.org/viewvc/gnome-commander?rev=1693&view=rev
Log:
Support for <super>, <hyper> and <meta> modifiers (since GTK+ 2.10)
Modified:
trunk/src/eggcellrendererkeys.cc
Modified: trunk/src/eggcellrendererkeys.cc
==============================================================================
--- trunk/src/eggcellrendererkeys.cc (original)
+++ trunk/src/eggcellrendererkeys.cc Mon Apr 7 21:52:41 2008
@@ -238,11 +238,17 @@
static const gchar text_mod1[] = "Alt+";
static const gchar text_mod2[] = "Mod2+";
static const gchar text_mod3[] = "Mod3+";
+#ifdef HAVE_GTK_2_10
static const gchar text_mod4[] = "Mod4+";
+#else
+ static const gchar text_mod4[] = "Super+";
+#endif
static const gchar text_mod5[] = "Mod5+";
+#ifdef HAVE_GTK_2_10
static const gchar text_meta[] = "Meta+";
static const gchar text_super[] = "Super+";
static const gchar text_hyper[] = "Hyper+";
+#endif
gchar *keyval_name = gdk_keyval_name (gdk_keyval_to_upper (accel_key));
if (!keyval_name)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]