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.
This commit is contained in:
Matthias Clasen 2015-11-02 12:27:36 -05:00
parent 957135a57c
commit f2434e7cea

View File

@ -8,6 +8,9 @@
<property name="can_focus">1</property> <property name="can_focus">1</property>
<property name="receives_default">1</property> <property name="receives_default">1</property>
<signal name="clicked" handler="button_clicked_cb" swapped="no"/> <signal name="clicked" handler="button_clicked_cb" swapped="no"/>
<style>
<class name="file"/>
</style>
<child> <child>
<object class="GtkBox" id="box2"> <object class="GtkBox" id="box2">
<property name="visible">1</property> <property name="visible">1</property>