diff options
author | Claudio Saavedra <csaavedra@igalia.com> | 2011-09-09 22:11:31 +0800 |
---|---|---|
committer | Claudio Saavedra <csaavedra@igalia.com> | 2011-09-12 18:45:09 +0800 |
commit | 253893c68f88ef288b70b809cbdde4964e7dbd87 (patch) | |
tree | 1cdb3080230ca6592c80b9f4e51f98b68628c96d /embed | |
parent | 66e093c5012edb5278d81ba18f8b11ab34b2370c (diff) | |
download | gsoc2013-epiphany-253893c68f88ef288b70b809cbdde4964e7dbd87.tar gsoc2013-epiphany-253893c68f88ef288b70b809cbdde4964e7dbd87.tar.gz gsoc2013-epiphany-253893c68f88ef288b70b809cbdde4964e7dbd87.tar.bz2 gsoc2013-epiphany-253893c68f88ef288b70b809cbdde4964e7dbd87.tar.lz gsoc2013-epiphany-253893c68f88ef288b70b809cbdde4964e7dbd87.tar.xz gsoc2013-epiphany-253893c68f88ef288b70b809cbdde4964e7dbd87.tar.zst gsoc2013-epiphany-253893c68f88ef288b70b809cbdde4964e7dbd87.zip |
web apps: Remove G_DIRECTORY_SEPARATOR chars from filenames
To avoid nasty surprises
https://bugzilla.gnome.org/show_bug.cgi?id=658028
Diffstat (limited to 'embed')
-rw-r--r-- | embed/ephy-web-app-utils.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |