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/urlgrab.c | |
parent | d9351978958dcf137cdf2979d7614ac7a63da367 (diff) |
Use localized "HexChat" in window titles
Also allow rearranging of "HexChat" in window titles
Diffstat (limited to 'src/fe-gtk/urlgrab.c')
-rw-r--r-- | src/fe-gtk/urlgrab.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/fe-gtk/urlgrab.c b/src/fe-gtk/urlgrab.c index c2eb3b5b..fd8d8d91 100644 --- a/src/fe-gtk/urlgrab.c +++ b/src/fe-gtk/urlgrab.c @@ -187,6 +187,7 @@ void url_opengui () { GtkWidget *vbox, *hbox, *view; + char buf[128]; if (urlgrabberwindow) { @@ -194,9 +195,10 @@ url_opengui () return; } + g_snprintf(buf, sizeof(buf), _("URL Grabber - %s"), _(DISPLAY_NAME)); urlgrabberwindow = - mg_create_generic_tab ("UrlGrabber", _("URL Grabber - "DISPLAY_NAME), FALSE, - TRUE, url_closegui, NULL, 400, 256, &vbox, 0); + mg_create_generic_tab ("UrlGrabber", buf, FALSE, TRUE, url_closegui, NULL, + 400, 256, &vbox, 0); gtkutil_destroy_on_esc (urlgrabberwindow); view = url_treeview_new (vbox); g_object_set_data (G_OBJECT (urlgrabberwindow), "model", |