[gnome-terminal] window: Fixup the letter menu accelerator



commit 5ef1e959b541666503bbee3fcbeb9d2466a5e6bb
Author: Yanko Kaneti <yaneti declera com>
Date:   Thu Feb 19 02:14:32 2015 +0200

    window: Fixup the letter menu accelerator
    
    Broke this unintentionally in the last commit

 src/terminal-window.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/terminal-window.c b/src/terminal-window.c
index 65e8227..12cae4f 100644
--- a/src/terminal-window.c
+++ b/src/terminal-window.c
@@ -1209,10 +1209,10 @@ profile_visible_name_notify_cb (GSettings  *profile,
         display_name = g_strdup_printf (_("_%u. %s"), num, display_name);
       else if (num < 36)
         /* Translators: This is the label of a menu item to choose a profile.
-         * _%u is used as the accelerator (it will be a character between A and Z),
+         * _%c is used as the accelerator (it will be a character between A and Z),
          * and the %s is the name of the terminal profile.
          */
-        display_name = g_strdup_printf (_("_%u. %s"), ('A' + num - 10), display_name);
+        display_name = g_strdup_printf (_("_%c. %s"), (guchar)('A' + num - 10), display_name);
       else
         free_me = NULL;
     }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]