[gtk+] gtk-demo/theming: Don’t mislead about raised class
- From: Daniel Boles <dboles src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] gtk-demo/theming: Don’t mislead about raised class
- Date: Thu, 14 Sep 2017 17:47:32 +0000 (UTC)
commit 4cb00d95465c47e30b0790f506956d5310ed3d0c
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 ed25cb0..8d1e97a 100644
--- a/demos/gtk-demo/theming.ui
+++ b/demos/gtk-demo/theming.ui
@@ -55,7 +55,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>
@@ -70,7 +70,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]