[glade] Webkit plugin: add missing displayable values



commit 0a948e4fd3169954c20d2af84d7e3b5e9323ec77
Author: Juan Pablo Ugarte <juanpablougarte gmail com>
Date:   Tue Jun 16 19:26:10 2020 -0300

    Webkit plugin: add missing displayable values

 plugins/webkit2gtk/webkit2gtk.xml | 26 +++++++++++++++++++++++---
 1 file changed, 23 insertions(+), 3 deletions(-)
---
diff --git a/plugins/webkit2gtk/webkit2gtk.xml b/plugins/webkit2gtk/webkit2gtk.xml
index 361a917c..4f7b5af7 100644
--- a/plugins/webkit2gtk/webkit2gtk.xml
+++ b/plugins/webkit2gtk/webkit2gtk.xml
@@ -22,7 +22,15 @@
          <tooltip>The URL to load in Glade (this property will not be saved)</tooltip>
        </property>
         <property id="user-content-manager" disabled="True" />
-        <property id="web-context" disabled="True" /> 
+        <property id="web-context" disabled="True" />
+        <property id="automation-presentation-type">  
+          <displayable-values>
+            <!-- WebKitAutomationBrowsingContextPresentation enumeration value -->
+            <value id="WEBKIT_AUTOMATION_BROWSING_CONTEXT_PRESENTATION_WINDOW" name="Window"/>
+            <!-- WebKitAutomationBrowsingContextPresentation enumeration value -->
+            <value id="WEBKIT_AUTOMATION_BROWSING_CONTEXT_PRESENTATION_TAB" name="Tab"/>
+            </displayable-values>
+        </property>
       </properties>
     </glade-widget-class>
 
@@ -30,8 +38,20 @@
                         generic-name="settings"
                         title="WebKit Settings"
                         toplevel="True"
-                        get-type-function="webkit_settings_get_type"/>
-
+                        get-type-function="webkit_settings_get_type">
+      <properties>
+        <property id="hardware-acceleration-policy">  
+          <displayable-values>
+            <!-- WebKitHardwareAccelerationPolicy enumeration value -->
+            <value id="WEBKIT_HARDWARE_ACCELERATION_POLICY_ON_DEMAND" name="On Demand"/>
+            <!-- WebKitHardwareAccelerationPolicy enumeration value -->
+            <value id="WEBKIT_HARDWARE_ACCELERATION_POLICY_ALWAYS" name="Always"/>
+            <!-- WebKitHardwareAccelerationPolicy enumeration value -->
+            <value id="WEBKIT_HARDWARE_ACCELERATION_POLICY_NEVER" name="Never"/>
+          </displayable-values>
+        </property>
+      </properties>
+    </glade-widget-class>
   </glade-widget-classes>
   
   <glade-widget-group name="webkit2gtk" title="WebKit2GTK+ Widgets">


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