[chrome-gnome-shell/release/v10.0.1: 1/2] Revert "sync: whitelist Firefox"
- From: Yuri Konotopov <ykonotopov src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chrome-gnome-shell/release/v10.0.1: 1/2] Revert "sync: whitelist Firefox"
- Date: Sun, 18 Mar 2018 06:56:58 +0000 (UTC)
commit 8aa2cca3a6491b5e7be3df2ae4d4b8ed90adaebf
Author: Yuri Konotopov <ykonotopov gnome org>
Date: Sun Mar 18 10:54:48 2018 +0400
Revert "sync: whitelist Firefox"
This reverts commit 5d2a737e5eec5c2fe64a9cb355d9510c2c151a9f.
extension/include/compat-common.js | 4 ++--
extension/options.js | 5 +++++
2 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/extension/include/compat-common.js b/extension/include/compat-common.js
index 3606a31..61b7b13 100644
--- a/extension/include/compat-common.js
+++ b/extension/include/compat-common.js
@@ -1,6 +1,6 @@
/*
GNOME Shell integration for Chrome
- Copyright (C) 2016-2018 Yuri Konotopov <ykonotopov gnome org>
+ Copyright (C) 2016 Yuri Konotopov <ykonotopov gnome org>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -31,7 +31,7 @@ if(typeof(chrome.permissions) === 'undefined')
COMPAT.PERMISSIONS_CONTAINS = false;
}
-if(typeof(chrome.storage.sync) === 'undefined')
+if(typeof(chrome.storage.sync) === 'undefined' || COMPAT.IS_FIREFOX)
{
chrome.storage.sync = chrome.storage.local;
COMPAT.SYNC_STORAGE = false;
diff --git a/extension/options.js b/extension/options.js
index 0e8cf77..d61302e 100644
--- a/extension/options.js
+++ b/extension/options.js
@@ -194,6 +194,11 @@ function restore_options()
setLightIcon(items.useLightIcon);
});
+
+ if(COMPAT.IS_FIREFOX)
+ {
+ $('dialog').hide();
+ }
}
function retrieveUpdateTimes()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]