[gnome-games/wip/exalm/controller-preferences: 3/6] ui: Remove style class from Cancel button in preferences



commit b436cbafc3f3b1522f1fe6ca720ce809299addd4
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date:   Tue Sep 11 13:09:58 2018 +0500

    ui: Remove style class from Cancel button in preferences
    
    Destructive action buttons don't have any special style inside a
    .selection-mode headerbar, so the button flickers from red to blue on
    transition. Hence remove the style class to prevent that.

 data/ui/gamepad-configurer.ui  | 3 ---
 data/ui/keyboard-configurer.ui | 3 ---
 2 files changed, 6 deletions(-)
---
diff --git a/data/ui/gamepad-configurer.ui b/data/ui/gamepad-configurer.ui
index b4ce0a00..5197e586 100644
--- a/data/ui/gamepad-configurer.ui
+++ b/data/ui/gamepad-configurer.ui
@@ -90,9 +90,6 @@
         <property name="visible">True</property>
         <property name="label" translatable="yes">Cancel</property>
         <signal name="clicked" handler="on_cancel_clicked"/>
-        <style>
-          <class name="destructive-action"/>
-        </style>
       </object>
       <packing>
         <property name="pack-type">end</property>
diff --git a/data/ui/keyboard-configurer.ui b/data/ui/keyboard-configurer.ui
index 4648cac0..573aa75f 100644
--- a/data/ui/keyboard-configurer.ui
+++ b/data/ui/keyboard-configurer.ui
@@ -91,9 +91,6 @@
         <property name="visible">True</property>
         <property name="label" translatable="yes">Cancel</property>
         <signal name="clicked" handler="on_cancel_clicked"/>
-        <style>
-          <class name="destructive-action"/>
-        </style>
       </object>
       <packing>
         <property name="pack-type">end</property>


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