[chrome-gnome-shell] sync: whitelist Firefox



commit 5d2a737e5eec5c2fe64a9cb355d9510c2c151a9f
Author: Yuri Konotopov <ykonotopov gnome org>
Date:   Sun Jan 28 21:30:01 2018 +0400

    sync: whitelist Firefox

 extension/include/compat-common.js |    4 ++--
 extension/options.js               |    5 -----
 2 files changed, 2 insertions(+), 7 deletions(-)
---
diff --git a/extension/include/compat-common.js b/extension/include/compat-common.js
index 61b7b13..3606a31 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  Yuri Konotopov <ykonotopov gnome org>
+    Copyright (C) 2016-2018  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' || COMPAT.IS_FIREFOX)
+if(typeof(chrome.storage.sync) === 'undefined')
 {
        chrome.storage.sync = chrome.storage.local;
        COMPAT.SYNC_STORAGE = false;
diff --git a/extension/options.js b/extension/options.js
index d61302e..0e8cf77 100644
--- a/extension/options.js
+++ b/extension/options.js
@@ -194,11 +194,6 @@ 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]