[gtk+] GtkScaleButton: Add a style class to the scale button popover
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] GtkScaleButton: Add a style class to the scale button popover
- Date: Tue, 8 Jul 2014 14:47:07 +0000 (UTC)
commit 88a86fa044d50491d51274d8baa462ef1f4b89be
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Jul 8 10:44:30 2014 -0400
GtkScaleButton: Add a style class to the scale button popover
Set the .scale-popup style class on the popover of scale buttons.
This lets us select the +/- buttons and style them appropriately.
gtk/resources/ui/gtkscalebutton.ui | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gtk/resources/ui/gtkscalebutton.ui b/gtk/resources/ui/gtkscalebutton.ui
index f64ebd8..c48c052 100644
--- a/gtk/resources/ui/gtkscalebutton.ui
+++ b/gtk/resources/ui/gtkscalebutton.ui
@@ -23,6 +23,9 @@
</object>
<object class="GtkPopover" id="dock">
<signal name="map" handler="cb_popup_mapped" swapped="no"/>
+ <style>
+ <class name="scale-popup"/>
+ </style>
<child>
<object class="GtkBox" id="box">
<property name="visible">True</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]