[evince/hildon-2-28] Don't show mnemonics in menus
- From: Christian Persch <chpe src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [evince/hildon-2-28] Don't show mnemonics in menus
- Date: Mon, 26 Oct 2009 12:12:29 +0000 (UTC)
commit 6fad33b6309b13567a4ba4a75f488a105f450115
Author: Christian Persch <chpe gnome org>
Date: Sat Jun 6 16:17:20 2009 +0200
Don't show mnemonics in menus
shell/ev-application.c | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/shell/ev-application.c b/shell/ev-application.c
index bdc1b80..7775107 100644
--- a/shell/ev-application.c
+++ b/shell/ev-application.c
@@ -1050,6 +1050,18 @@ ev_application_init (EvApplication *ev_application)
g_signal_connect (ev_application->program, "notify::is-topmost",
G_CALLBACK(sync_is_topmost_cb), ev_application);
+
+ /* FIXMEchpe sort of strange that maemo doesn't all of this out-of-the-box... */
+ g_object_set (gtk_settings_get_for_screen (gdk_screen_get_default ()),
+ "gtk-alternative-button-order", TRUE,
+ "gtk-enable-mnemonics", FALSE,
+
+ /* We want the default of FALSE for this property, but to work
+ * around https://bugs.maemo.org/show_bug.cgi?id=2278 we have
+ * to set this to TRUE.
+ */
+ "gtk-enable-accels", TRUE,
+ NULL);
#endif /* PLATFORM_HILDON */
#ifndef PLATFORM_HILDON
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]