From 5d9264aff6d7bcdd2f0595bfdf2a3a7a23330d46 Mon Sep 17 00:00:00 2001 From: Arnavion Date: Sat, 3 Nov 2012 10:24:25 -0700 Subject: Initial commit for utf8 everywhere. --- src/fe-gtk/menu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/fe-gtk/menu.c') diff --git a/src/fe-gtk/menu.c b/src/fe-gtk/menu.c index 8b25f4ed..dbdd1997 100644 --- a/src/fe-gtk/menu.c +++ b/src/fe-gtk/menu.c @@ -286,8 +286,8 @@ menu_quick_item (char *cmd, char *label, GtkWidget * menu, int flags, img = gtk_image_new_from_file (icon); else { - /* try relative to ~/.xchat2 */ - path = g_strdup_printf ("%s/%s", get_xdir_fs (), icon); + /* try relative to */ + path = g_strdup_printf ("%s" G_DIR_SEPARATOR_S "%s", get_xdir (), icon); if (access (path, R_OK) == 0) img = gtk_image_new_from_file (path); else -- cgit 1.4.1