[gnome-software/wip/attente/dpkg: 1/2] Set managed mode if the permission doesn't exist
- From: William Hua <williamhua src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/attente/dpkg: 1/2] Set managed mode if the permission doesn't exist
- Date: Thu, 3 Mar 2016 16:22:32 +0000 (UTC)
commit c0832b8164b22d1f1f2c7059494d5e7451892865
Author: William Hua <william hua canonical com>
Date: Wed Mar 2 14:01:39 2016 -0500
Set managed mode if the permission doesn't exist
If the trigger-offline-update action doesn't exist, then assume we're
running in managed mode.
src/gs-update-monitor.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gs-update-monitor.c b/src/gs-update-monitor.c
index a37c13c..348d780 100644
--- a/src/gs-update-monitor.c
+++ b/src/gs-update-monitor.c
@@ -766,7 +766,7 @@ gs_update_monitor_is_managed (void)
permission = gs_update_monitor_permission_get ();
if (permission == NULL)
- return FALSE;
+ return TRUE;
managed = !g_permission_get_allowed (permission) &&
!g_permission_get_can_acquire (permission);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]