[gnome-software] trivial: Allow refining the icon in gnome-software-cmd
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] trivial: Allow refining the icon in gnome-software-cmd
- Date: Thu, 2 Jun 2016 11:14:31 +0000 (UTC)
commit b64735c30522597abf22969e2fd0f0c31b4ff321
Author: Richard Hughes <richard hughsie com>
Date: Thu Jun 2 11:33:16 2016 +0100
trivial: Allow refining the icon in gnome-software-cmd
src/gs-cmd.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/gs-cmd.c b/src/gs-cmd.c
index 38eea44..8c5d1a1 100644
--- a/src/gs-cmd.c
+++ b/src/gs-cmd.c
@@ -148,6 +148,8 @@ gs_cmd_refine_flag_from_string (const gchar *flag, GError **error)
return GS_PLUGIN_REFINE_FLAGS_REQUIRE_REVIEW_RATINGS;
if (g_strcmp0 (flag, "key-colors") == 0)
return GS_PLUGIN_REFINE_FLAGS_REQUIRE_KEY_COLORS;
+ if (g_strcmp0 (flag, "icon") == 0)
+ return GS_PLUGIN_REFINE_FLAGS_REQUIRE_ICON;
g_set_error (error,
GS_PLUGIN_ERROR,
GS_PLUGIN_ERROR_NOT_SUPPORTED,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]