From da0635c960abba59bb592ce67230daca75352773 Mon Sep 17 00:00:00 2001 From: torhus Date: Fri, 18 Aug 2017 21:59:31 +0200 Subject: 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 --- src/common/hexchat.c | 4 ++-- src/common/util.h | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'src/common') 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); -- cgit 1.4.1