[extensions-web] dbus-api: added missing VersionValidationEnabled property.



commit 0b35b647bdab4127ae43d79f5810c4387b49db01
Author: Yuri Konotopov <ykonotopov gnome org>
Date:   Sun Mar 26 01:44:48 2017 +0400

    dbus-api: added missing VersionValidationEnabled property.
    
    This property was added to browser plugin in commit [1] without API version
    bump mistakenly.
    Let's assume that it is true if not exposed by API.
    
    [1] 
https://git.gnome.org/browse/gnome-shell/commit/browser-plugin/browser-plugin.c?id=6512a5fd6bebdd3a46810061350fd6cb9295e5a4

 sweettooth/static/js/versions/5/main.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/sweettooth/static/js/versions/5/main.js b/sweettooth/static/js/versions/5/main.js
index 0ee6763..53010d0 100644
--- a/sweettooth/static/js/versions/5/main.js
+++ b/sweettooth/static/js/versions/5/main.js
@@ -16,6 +16,7 @@ define(['jquery', 'dbus!API', 'versions/common/common'], function($, API, common
         LaunchExtensionPrefs: common.LaunchExtensionPrefs,
 
         ShellVersion: API.shellVersion,
+        VersionValidationEnabled: typeof(API.versionValidationEnabled) == 'undefined' || 
API.versionValidationEnabled,
 
         extensionStateChangedHandler: null,
         shellRestartHandler: null


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]