[gtk+] file chooser button: Add a style class
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] file chooser button: Add a style class
- Date: Mon, 2 Nov 2015 17:29:46 +0000 (UTC)
commit f2434e7cea0c5194f03c9ca4e357bec4a4f1bc6e
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Nov 2 12:27:36 2015 -0500
file chooser button: Add a style class
Unfortunately, GtkFileChooserButton is different from the other
pickers in that it is not a button, but rather has a button.
We ignore the difference for styling purposes, and just add
a .file style class to the button.
gtk/ui/gtkfilechooserbutton.ui | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gtk/ui/gtkfilechooserbutton.ui b/gtk/ui/gtkfilechooserbutton.ui
index 0bba090..b546af2 100644
--- a/gtk/ui/gtkfilechooserbutton.ui
+++ b/gtk/ui/gtkfilechooserbutton.ui
@@ -8,6 +8,9 @@
<property name="can_focus">1</property>
<property name="receives_default">1</property>
<signal name="clicked" handler="button_clicked_cb" swapped="no"/>
+ <style>
+ <class name="file"/>
+ </style>
<child>
<object class="GtkBox" id="box2">
<property name="visible">1</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]