diff options
author | Milan Crha <mcrha@redhat.com> | 2012-01-18 00:15:23 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2012-01-18 00:16:28 +0800 |
commit | 415bf5d50888b6ffbbe8ef21b1fbe3e2a50b759d (patch) | |
tree | 1f1cdf30ba99b1dc697635fe8d74bddeef798c4a | |
parent | 9575c65bc3547786b2362223381a83e3db79ae60 (diff) | |
download | gsoc2013-evolution-415bf5d50888b6ffbbe8ef21b1fbe3e2a50b759d.tar gsoc2013-evolution-415bf5d50888b6ffbbe8ef21b1fbe3e2a50b759d.tar.gz gsoc2013-evolution-415bf5d50888b6ffbbe8ef21b1fbe3e2a50b759d.tar.bz2 gsoc2013-evolution-415bf5d50888b6ffbbe8ef21b1fbe3e2a50b759d.tar.lz gsoc2013-evolution-415bf5d50888b6ffbbe8ef21b1fbe3e2a50b759d.tar.xz gsoc2013-evolution-415bf5d50888b6ffbbe8ef21b1fbe3e2a50b759d.tar.zst gsoc2013-evolution-415bf5d50888b6ffbbe8ef21b1fbe3e2a50b759d.zip |
Bug #661535 - "Current View" tooltip uses string with mnemonic underscore
-rw-r--r-- | shell/e-shell-window-actions.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/shell/e-shell-window-actions.c b/shell/e-shell-window-actions.c index 6807472b90..4dc1e1cda9 100644 --- a/shell/e-shell-window-actions.c +++ b/shell/e-shell-window-actions.c @@ -2317,13 +2317,15 @@ e_shell_window_update_view_menu (EShellWindow *shell_window) for (ii = 0; ii < count; ii++) { GalViewCollectionItem *item; gchar *action_name; - gchar *tooltip; + gchar *tooltip, *title; item = gal_view_collection_get_view_item (view_collection, ii); action_name = g_strdup_printf ( "gal-view-%s-%d", view_name, ii); - tooltip = g_strdup_printf (_("Select view: %s"), item->title); + title = e_str_without_underscores (item->title); + tooltip = g_strdup_printf (_("Select view: %s"), title); + g_free (title); radio_action = gtk_radio_action_new ( action_name, item->title, tooltip, NULL, ii); |