[gnome-software] Never show the size of installed compulsory applications
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] Never show the size of installed compulsory applications
- Date: Mon, 28 Nov 2016 15:15:28 +0000 (UTC)
commit bbcf61d07ada226b0caaf21ad16675697bc73fc8
Author: Richard Hughes <richard hughsie com>
Date: Mon Nov 28 15:15:15 2016 +0000
Never show the size of installed compulsory applications
src/gs-shell-installed.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/src/gs-shell-installed.c b/src/gs-shell-installed.c
index 357642b..21a459d 100644
--- a/src/gs-shell-installed.c
+++ b/src/gs-shell-installed.c
@@ -190,9 +190,10 @@ gs_shell_installed_add_app (GsShellInstalled *self, GsAppList *list, GsApp *app)
self->sizegroup_image,
self->sizegroup_name);
- gs_app_row_set_show_installed_size (GS_APP_ROW (app_row),
- should_show_installed_size (self));
-
+ if (!gs_app_has_quirk (app, AS_APP_QUIRK_COMPULSORY)) {
+ gs_app_row_set_show_installed_size (GS_APP_ROW (app_row),
+ should_show_installed_size (self));
+ }
gs_app_row_set_selectable (GS_APP_ROW (app_row),
self->selection_mode);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]