diff options
author | Chase Patterson <robert@rcpatterson.net> | 2017-09-15 17:36:02 -0400 |
---|---|---|
committer | TingPing <tingping@tingping.se> | 2017-09-15 19:18:29 -0400 |
commit | 18b741804c7e9d92dbe13960ac5cc89d912bb616 (patch) | |
tree | e28a19e653130165c6f96241e36741a06e33862e /src/fe-gtk/ignoregui.c | |
parent | d9351978958dcf137cdf2979d7614ac7a63da367 (diff) |
Use localized "HexChat" in window titles
Also allow rearranging of "HexChat" in window titles
Diffstat (limited to 'src/fe-gtk/ignoregui.c')
-rw-r--r-- | src/fe-gtk/ignoregui.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/fe-gtk/ignoregui.c b/src/fe-gtk/ignoregui.c index d935822b..6c74253c 100644 --- a/src/fe-gtk/ignoregui.c +++ b/src/fe-gtk/ignoregui.c @@ -339,6 +339,7 @@ ignore_gui_open () GSList *temp = ignore_list; char *mask; gboolean private, chan, notice, ctcp, dcc, invite, unignore; + char buf[128]; if (ignorewin) { @@ -346,9 +347,10 @@ ignore_gui_open () return; } + g_snprintf(buf, sizeof(buf), _("Ignore list - %s"), _(DISPLAY_NAME)); ignorewin = - mg_create_generic_tab ("IgnoreList", _("Ignore list - "DISPLAY_NAME), - FALSE, TRUE, close_ignore_gui_callback, + mg_create_generic_tab ("IgnoreList", buf, FALSE, TRUE, + close_ignore_gui_callback, NULL, 700, 300, &vbox, 0); gtkutil_destroy_on_esc (ignorewin); |