[epiphany] web apps: Remove G_DIRECTORY_SEPARATOR chars from filenames
- From: Claudio Saavedra <csaavedra src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] web apps: Remove G_DIRECTORY_SEPARATOR chars from filenames
- Date: Mon, 12 Sep 2011 10:45:35 +0000 (UTC)
commit 253893c68f88ef288b70b809cbdde4964e7dbd87
Author: Claudio Saavedra <csaavedra igalia com>
Date: Fri Sep 9 17:11:31 2011 +0300
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 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/embed/ephy-web-app-utils.c b/embed/ephy-web-app-utils.c
index 76ddd13..213d03b 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]