[gnome-games/wip/exalm/controller-preferences: 1/4] ui: Remove .destructive-action from Cancel buttons in preferences



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

    ui: Remove .destructive-action from Cancel buttons in preferences
    
    This style class doesn't change anything when in .selection-mode headerbar,
    and the only thing it causes is flickering when changing state.

 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]