[gnome-software] Do not hide the origin when installing/removing an app
- From: Joaquim Manuel Pereira Rocha <jrocha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] Do not hide the origin when installing/removing an app
- Date: Mon, 5 Sep 2016 14:24:13 +0000 (UTC)
commit 4e7db054825f2de9bc422231498406555c0b5e30
Author: Joaquim Rocha <jrocha endlessm com>
Date: Mon Sep 5 16:15:27 2016 +0200
Do not hide the origin when installing/removing an app
src/gs-shell-details.c | 11 -----------
1 files changed, 0 insertions(+), 11 deletions(-)
---
diff --git a/src/gs-shell-details.c b/src/gs-shell-details.c
index 513279c..b4703ac 100644
--- a/src/gs-shell-details.c
+++ b/src/gs-shell-details.c
@@ -892,17 +892,6 @@ gs_shell_details_refresh_all (GsShellDetails *self)
} else {
gtk_label_set_label (GTK_LABEL (self->label_details_origin_value), tmp);
}
- switch (gs_app_get_state (self->app)) {
- case AS_APP_STATE_INSTALLED:
- case AS_APP_STATE_UPDATABLE:
- case AS_APP_STATE_AVAILABLE:
- case AS_APP_STATE_AVAILABLE_LOCAL:
- gtk_widget_set_visible (self->label_details_origin_value, TRUE);
- break;
- default:
- gtk_widget_set_visible (self->label_details_origin_value, FALSE);
- break;
- }
/* set MyLanguage kudo */
kudos = gs_app_get_kudos (self->app);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]