[gnome-software] trivial: Also look for svgz image files
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] trivial: Also look for svgz image files
- Date: Tue, 25 Mar 2014 15:07:33 +0000 (UTC)
commit 2ef67bd23aa617a1269df3f72164015243c87841
Author: Richard Hughes <richard hughsie com>
Date: Tue Mar 25 15:06:12 2014 +0000
trivial: Also look for svgz image files
This is required for Ubuntu.
src/plugins/gs-plugin-appstream.c | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/gs-plugin-appstream.c b/src/plugins/gs-plugin-appstream.c
index 3747ed8..e27444c 100644
--- a/src/plugins/gs-plugin-appstream.c
+++ b/src/plugins/gs-plugin-appstream.c
@@ -199,7 +199,13 @@ gs_plugin_refine_search_pixbuf (GsPlugin *plugin,
const gchar *icon_dir,
const gchar *icon)
{
- const gchar *exensions[] = { "png", "svg", "gif", "ico", "xcf", NULL };
+ const gchar *exensions[] = { "png",
+ "svg",
+ "svgz",
+ "gif",
+ "ico",
+ "xcf",
+ NULL };
gchar *icon_path;
guint i;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]