Commit 6c0cd1a1 authored by Matthias Clasen's avatar Matthias Clasen

Make gtk-encode-symbolic-svg work for icons with dotted names

We were producing org.symbolic.png from org.gnome.Recipes-symbolic.svg,
which is not useful. Look for the last dot in the original name, to
produce the expected org.gnome.Recipes-symbolic.symbolic.png instead.
parent 60530368
......@@ -282,7 +282,7 @@ main (int argc, char **argv)
basename = g_path_get_basename (path);
dot = strchr(basename, '.');
dot = strrchr (basename, '.');
if (dot != NULL)
*dot = 0;
pngfile = g_strconcat (basename, ".symbolic.png", NULL);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment