[gnome-software] Adapt the colors of the secondary categories to the new specs
- From: Joaquim Manuel Pereira Rocha <jrocha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] Adapt the colors of the secondary categories to the new specs
- Date: Sat, 26 Nov 2016 19:03:42 +0000 (UTC)
commit 1a1a9dbc8f625b4ec60264bdd80cda8d0e335c2d
Author: Joaquim Rocha <jrocha endlessm com>
Date: Sat Nov 26 20:01:29 2016 +0100
Adapt the colors of the secondary categories to the new specs
src/gs-shell-overview.c | 2 +-
src/plugins/gs-desktop-common.c | 10 +++++-----
2 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/gs-shell-overview.c b/src/gs-shell-overview.c
index 534fb2f..65ee29f 100644
--- a/src/gs-shell-overview.c
+++ b/src/gs-shell-overview.c
@@ -391,9 +391,9 @@ gs_shell_overview_get_categories_cb (GObject *source_object,
tile = gs_category_tile_new (cat);
g_signal_connect (tile, "clicked",
G_CALLBACK (category_tile_clicked), self);
+ gs_category_tile_set_colorful (GS_CATEGORY_TILE (tile), TRUE);
if (added_cnt < MAX_CATS_PER_SECTION) {
flowbox = GTK_FLOW_BOX (priv->flowbox_categories);
- gs_category_tile_set_colorful (GS_CATEGORY_TILE (tile), TRUE);
} else {
flowbox = GTK_FLOW_BOX (priv->flowbox_categories2);
}
diff --git a/src/plugins/gs-desktop-common.c b/src/plugins/gs-desktop-common.c
index 368ec07..f8f93d2 100644
--- a/src/plugins/gs-desktop-common.c
+++ b/src/plugins/gs-desktop-common.c
@@ -327,10 +327,10 @@ static const GsDesktopData msdata[] = {
"folder-music-symbolic", "#215d9c", 100 },
/* TRANSLATORS: this is the menu spec main category for Development */
{ "developer-tools", map_developertools, N_("Developer Tools"),
- "applications-engineering-symbolic", "#297bcc", 40 },
+ "applications-engineering-symbolic", "#d3d7c7", 40 },
/* TRANSLATORS: this is the menu spec main category for Education */
{ "education", map_education, N_("Education"),
- "system-help-symbolic", "#29cc5d", 30 },
+ "system-help-symbolic", "#d3d7c7", 30 },
/* TRANSLATORS: this is the menu spec main category for Game */
{ "games", map_games, N_("Games"),
"applications-games-symbolic", "#c4a000", 70 },
@@ -345,16 +345,16 @@ static const GsDesktopData msdata[] = {
"application-x-addon-symbolic", "#4e9a06", 50 },
/* TRANSLATORS: this is the menu spec main category for Science */
{ "science", map_science, N_("Science"),
- "applications-science-symbolic", "#9c29ca", 20 },
+ "applications-science-symbolic", "#d3d7c7", 20 },
/* TRANSLATORS: this is the menu spec main category for Communication */
{ "communication", map_communication, N_("Communication & News"),
"user-available-symbolic", "#729fcf", 90 },
/* TRANSLATORS: this is the menu spec main category for Reference */
{ "reference", map_reference, N_("Reference"),
- "view-dual-symbolic", "#ac5500", 0 },
+ "view-dual-symbolic", "#d3d7c7", 0 },
/* TRANSLATORS: this is the menu spec main category for Utilities */
{ "utilities", map_utilities, N_("Utilities"),
- "applications-utilities-symbolic", "#2944cc", 10 },
+ "applications-utilities-symbolic", "#d3d7c7", 10 },
{ NULL }
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]