[gnome-terminal] app: Turn profile sequence numbers into mnemonics
- From: Egmont Koblinger <egmontkob src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-terminal] app: Turn profile sequence numbers into mnemonics
- Date: Thu, 2 Nov 2017 23:06:10 +0000 (UTC)
commit fd1d562f57f1d0033130a39a5ed49e6d3d6fe133
Author: Egmont Koblinger <egmont gmail com>
Date: Fri Nov 3 00:05:07 2017 +0100
app: Turn profile sequence numbers into mnemonics
src/terminal-app.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/terminal-app.c b/src/terminal-app.c
index 5790e6b..a98ea82 100644
--- a/src/terminal-app.c
+++ b/src/terminal-app.c
@@ -446,9 +446,9 @@ menu_append_numbered (GMenu *menu,
str = g_string_sized_new (strlen (label) + 4 + 1 + 8);
if (num < 10)
- g_string_append_printf (str, "%Id. ", num);
+ g_string_append_printf (str, "_%Id. ", num);
else if (num < 36)
- g_string_append_printf (str, "%c. ", (char)('A' + num - 10));
+ g_string_append_printf (str, "_%c. ", (char)('A' + num - 10));
/* Append the label with underscores elided */
for (p = label; *p; p++) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]