* on all platforms, notably the command key on OS X.
*/
- return gtk_accelerator_get_label (key(), (GdkModifierType) state());
+ uint32_t mod = state();
+
+#ifdef __APPLE__
+ /* We use both bits (MOD2|META) for Primary on OS X,
+ * but we don't want MOD2 showing up in listings.
+ */
+
+ if (mod & GDK_MOD2_MASK) {
+ mod &= ~GDK_MOD2_MASK;
+ }
+#endif
+
+ return gtk_accelerator_get_label (key(), (GdkModifierType) mod);
}
string
conf.define ('HAVE_COREAUDIO', 1)
conf.define ('AUDIOUNIT_SUPPORT', 1)
- Conf.define ('TOP_MENUBAR',1)
+ conf.define ('TOP_MENUBAR',1)
# It would be nice to be able to use this to force back-compatibility with 10.4
# but even by the time of 11, the 10.4 SDK is no longer available in any normal