From 253893c68f88ef288b70b809cbdde4964e7dbd87 Mon Sep 17 00:00:00 2001 From: Claudio Saavedra Date: Fri, 9 Sep 2011 17:11:31 +0300 Subject: web apps: Remove G_DIRECTORY_SEPARATOR chars from filenames To avoid nasty surprises https://bugzilla.gnome.org/show_bug.cgi?id=658028 --- embed/ephy-web-app-utils.c | 1 + 1 file changed, 1 insertion(+) diff --git a/embed/ephy-web-app-utils.c b/embed/ephy-web-app-utils.c index 76ddd138e..213d03b89 100644 --- a/embed/ephy-web-app-utils.c +++ b/embed/ephy-web-app-utils.c @@ -42,6 +42,7 @@ get_wm_class_from_app_title (const char *title) normal_title = g_utf8_strdown (title, -1); g_strdelimit (normal_title, " ", '-'); + g_strdelimit (normal_title, G_DIR_SEPARATOR_S, '-'); checksum = g_compute_checksum_for_string (G_CHECKSUM_SHA1, title, -1); wm_class = g_strconcat (EPHY_WEB_APP_DESKTOP_FILE_PREFIX, normal_title, "-", checksum, NULL); -- cgit v1.2.3