summary refs log tree commit diff stats
path: root/src/common
diff options
context:
space:
mode:
authortorhus <torhu@yahoo.com>2017-08-18 21:59:31 +0200
committerTingPing <tingping@tingping.se>2017-08-18 15:59:31 -0400
commitda0635c960abba59bb592ce67230daca75352773 (patch)
tree9356c4822786f21896defa4103529803b30087da /src/common
parentc6f3fbd15c7e164f9cd46de5c912e551481a8e6c (diff)
Adjust use of ellipsis (...) in menus according to Gnome HIG (#2035)
* Adjust use of ellipses (...) in menus according to Gnome HIG

https://developer.gnome.org/hig/stable/writing-style.html.en
Diffstat (limited to 'src/common')
-rw-r--r--src/common/hexchat.c4
-rw-r--r--src/common/util.h2
2 files changed, 4 insertions, 2 deletions
diff --git a/src/common/hexchat.c b/src/common/hexchat.c
index c34c7c57..1c5adeb2 100644
--- a/src/common/hexchat.c
+++ b/src/common/hexchat.c
@@ -883,9 +883,9 @@ xchat_init (void)
 		"NAME ENDSUB\n"				"CMD \n\n",
 
 		_("_Open Dialog Window"), "gtk-go-up",
-		_("_Send a File"), "gtk-floppy",
+		_("_Send a File" ELLIPSIS), "gtk-floppy",
 		_("_User Info (WhoIs)"), "gtk-info",
-		_("_Add to Friends List"), "gtk-add",
+		_("_Add to Friends List" ELLIPSIS), "gtk-add",
 		_("_Ignore"), "gtk-stop",
 		_("O_perator Actions"),
 
diff --git a/src/common/util.h b/src/common/util.h
index 947b1a8a..2ec1fa92 100644
--- a/src/common/util.h
+++ b/src/common/util.h
@@ -35,6 +35,8 @@
 
 #define rfc_tolower(c) (rfc_tolowertab[(unsigned char)(c)])
 
+#define ELLIPSIS "\xe2\x80\xa6"
+
 extern const unsigned char rfc_tolowertab[];
 
 char *expand_homedir (char *file);