[chrome-gnome-shell/feature/connector-update-check] connector: disable update check for system extensions.
- From: Yuri Konotopov <ykonotopov src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chrome-gnome-shell/feature/connector-update-check] connector: disable update check for system extensions.
- Date: Sun, 25 Sep 2016 13:58:38 +0000 (UTC)
commit 8e7347d6672aa56a8d1d45ef9dbe129ae5bc37ed
Author: Yuri Konotopov <ykonotopov gmail com>
Date: Sun Sep 25 16:58:27 2016 +0300
connector: disable update check for system extensions.
connector/chrome-gnome-shell.py | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/connector/chrome-gnome-shell.py b/connector/chrome-gnome-shell.py
index 664ac59..8518dc9 100755
--- a/connector/chrome-gnome-shell.py
+++ b/connector/chrome-gnome-shell.py
@@ -312,7 +312,9 @@ class ChromeGNOMEShell(Gio.Application):
}
for uuid in extensions:
- if isUUID(uuid):
+ # gnome-shell/js/misc/extensionUtils.js
+ # EXTENSION_TYPE.PER_USER = 2
+ if isUUID(uuid) and extensions[uuid]['type'] == 2:
try:
http_request['installed'][uuid] = {
'version': int(extensions[uuid]['version'])
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]