[gnome-software/wip/jrocha/category-redesign: 7/7] Fix displaying the info bar for the Shell Extensions category
- From: Joaquim Manuel Pereira Rocha <jrocha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/jrocha/category-redesign: 7/7] Fix displaying the info bar for the Shell Extensions category
- Date: Sun, 13 Aug 2017 17:07:54 +0000 (UTC)
commit e413d53ee73c426338a2175c234daca3cf771373
Author: Joaquim Rocha <jrocha endlessm com>
Date: Sun Aug 13 17:57:30 2017 +0100
Fix displaying the info bar for the Shell Extensions category
The name that was being checked in order to set the info bar as visible
was not the right one anymore. This patch uses the right name thus
fixing this issue.
src/gs-category-page.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gs-category-page.c b/src/gs-category-page.c
index cc914b9..cb5a667 100644
--- a/src/gs-category-page.c
+++ b/src/gs-category-page.c
@@ -303,8 +303,8 @@ gs_category_page_reload (GsPage *page)
gs_category_get_id (self->subcategory));
/* show the shell extensions header */
- if (g_strcmp0 (gs_category_get_id (self->category), "Addon") == 0 &&
- g_strcmp0 (gs_category_get_id (self->subcategory), "ShellExtension") == 0) {
+ if (g_strcmp0 (gs_category_get_id (self->category), "addons") == 0 &&
+ g_strcmp0 (gs_category_get_id (self->subcategory), "shell-extensions") == 0) {
gtk_widget_set_visible (self->infobar_category_shell_extensions, TRUE);
} else {
gtk_widget_set_visible (self->infobar_category_shell_extensions, FALSE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]