[gtk+/gtk-3-12] example: Make search button square
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-12] example: Make search button square
- Date: Mon, 12 May 2014 12:38:45 +0000 (UTC)
commit ce1938651af0bd228a53fb8bc874282862086015
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Apr 17 12:37:51 2014 -0700
example: Make search button square
The image-button style class takes care of it.
examples/application10/window.ui | 3 +++
examples/application7/window.ui | 3 +++
examples/application8/window.ui | 3 +++
examples/application9/window.ui | 3 +++
4 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/examples/application10/window.ui b/examples/application10/window.ui
index c91fb12..1c9eeab 100644
--- a/examples/application10/window.ui
+++ b/examples/application10/window.ui
@@ -37,6 +37,9 @@
<object class="GtkToggleButton" id="search">
<property name="visible">True</property>
<property name="sensitive">False</property>
+ <style>
+ <class name="image-button"/>
+ </style>
<child>
<object class="GtkImage" id="search-icon">
<property name="visible">True</property>
diff --git a/examples/application7/window.ui b/examples/application7/window.ui
index 16e71a9..589acd5 100644
--- a/examples/application7/window.ui
+++ b/examples/application7/window.ui
@@ -23,6 +23,9 @@
<object class="GtkToggleButton" id="search">
<property name="visible">True</property>
<property name="sensitive">False</property>
+ <style>
+ <class name="image-button"/>
+ </style>
<child>
<object class="GtkImage" id="search-icon">
<property name="visible">True</property>
diff --git a/examples/application8/window.ui b/examples/application8/window.ui
index 0513fe9..36a8ca4 100644
--- a/examples/application8/window.ui
+++ b/examples/application8/window.ui
@@ -23,6 +23,9 @@
<object class="GtkToggleButton" id="search">
<property name="visible">True</property>
<property name="sensitive">False</property>
+ <style>
+ <class name="image-button"/>
+ </style>
<child>
<object class="GtkImage" id="search-icon">
<property name="visible">True</property>
diff --git a/examples/application9/window.ui b/examples/application9/window.ui
index 1735f0c..d3f54d1 100644
--- a/examples/application9/window.ui
+++ b/examples/application9/window.ui
@@ -40,6 +40,9 @@
<object class="GtkToggleButton" id="search">
<property name="visible">True</property>
<property name="sensitive">False</property>
+ <style>
+ <class name="image-button"/>
+ </style>
<child>
<object class="GtkImage" id="search-icon">
<property name="visible">True</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]