[gtk+/gtk-3-22] gtk-demo/theming: Don’t mislead about raised class



commit 1b08e34c11b3bfdc516bf9d2cfc8d78f46280769
Author: Daniel Boles <dboles src gnome org>
Date:   Wed Sep 13 14:47:40 2017 +0100

    gtk-demo/theming: Don’t mislead about raised class
    
    This class is not added by any widgets nor themed by Adwaita/HC.
    However, it is presented here as if it does something. It doesn’t.
    
    But we changed the 2 buttons with the .raised class to use symbolic
    icons, unlike their ‘unraised’ counterparts, which is unnecessarily
    confusing and might make people think .raised affects icons somehow.
    
    So, make them use the same icons in all cases; that way, if .raised is
    ever made to do anything, 6 years later, what it does will be clear.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=644248

 demos/gtk-demo/theming.ui |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/demos/gtk-demo/theming.ui b/demos/gtk-demo/theming.ui
index 617a2f7..b60677c 100644
--- a/demos/gtk-demo/theming.ui
+++ b/demos/gtk-demo/theming.ui
@@ -61,7 +61,7 @@
             <property name="label" translatable="yes">Raised</property>
             <property name="use_underline">1</property>
             <property name="is_important">1</property>
-            <property name="icon_name">edit-find-symbolic</property>
+            <property name="icon_name">edit-find</property>
             <style>
               <class name="raised"/>
             </style>
@@ -77,7 +77,7 @@
             <property name="label" translatable="yes">Raised Active</property>
             <property name="use_underline">1</property>
             <property name="is_important">1</property>
-            <property name="icon_name">edit-find-symbolic</property>
+            <property name="icon_name">edit-find</property>
             <property name="active">1</property>
             <style>
               <class name="raised"/>


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