[gnome-software] Fix the state of flatpak sources
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] Fix the state of flatpak sources
- Date: Thu, 1 Sep 2016 08:13:51 +0000 (UTC)
commit a1d49c9ce42ae78d22d96182459f28957fa96d0f
Author: Richard Hughes <richard hughsie com>
Date: Thu Sep 1 09:13:42 2016 +0100
Fix the state of flatpak sources
src/plugins/gs-flatpak.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/gs-flatpak.c b/src/plugins/gs-flatpak.c
index 58374ca..51d564f 100644
--- a/src/plugins/gs-flatpak.c
+++ b/src/plugins/gs-flatpak.c
@@ -476,7 +476,7 @@ gs_flatpak_add_sources (GsFlatpak *self, GsAppList *list,
gs_app_set_management_plugin (app, gs_plugin_get_name (self->plugin));
gs_app_set_kind (app, AS_APP_KIND_SOURCE);
gs_app_set_state (app, flatpak_remote_get_disabled (xremote) ?
- AS_APP_STATE_INSTALLED : AS_APP_STATE_AVAILABLE);
+ AS_APP_STATE_AVAILABLE : AS_APP_STATE_INSTALLED);
gs_app_add_quirk (app, AS_APP_QUIRK_NOT_LAUNCHABLE);
gs_app_set_name (app,
GS_APP_QUALITY_LOWEST,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]