diff options
author | Juan Pablo Ugarte <juanpablougarte@gmail.com> | 2013-07-29 11:46:14 -0300 |
---|---|---|
committer | Juan Pablo Ugarte <juanpablougarte@gmail.com> | 2013-10-03 17:23:16 -0300 |
commit | 403c9a4a0255ccbdbc2292b9391affef1fa2da5c (patch) | |
tree | 5190bf2b9cd6a25b35290b4f1a623607dce61ce7 /gladeui/glade-project-properties.ui | |
parent | 17746c25db08700745747c01299b396c205b8a18 (diff) | |
download | glade-403c9a4a0255ccbdbc2292b9391affef1fa2da5c.tar.gz |
Added project css property support
Diffstat (limited to 'gladeui/glade-project-properties.ui')
-rw-r--r-- | gladeui/glade-project-properties.ui | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/gladeui/glade-project-properties.ui b/gladeui/glade-project-properties.ui index 2a6605cb..eac2896c 100644 --- a/gladeui/glade-project-properties.ui +++ b/gladeui/glade-project-properties.ui @@ -3,6 +3,14 @@ <interface domain="glade"> <!-- interface-requires gtk+ 3.8 --> <object class="GtkTextBuffer" id="license_textbuffer"/> + <object class="GtkFileFilter" id="css_filter"> + <mime-types> + <mime-type>text/css</mime-type> + </mime-types> + <patterns> + <pattern>*.css</pattern> + </patterns> + </object> <template class="GladeProjectProperties" parent="GtkDialog"> <property name="can_focus">False</property> <property name="border_width">5</property> @@ -110,6 +118,38 @@ <property name="height">1</property> </packing> </child> + <child> + <object class="GtkFileChooserButton" id="css_filechooser"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="filter">css_filter</property> + <property name="title" translatable="yes">Select a CSS to use as custom style provider</property> + <signal name="file-set" handler="on_css_filechooser_file_set" swapped="no"/> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">2</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + <child> + <object class="GtkCheckButton" id="css_checkbutton"> + <property name="label" translatable="yes">Custom CSS style provider:</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="xalign">0</property> + <property name="draw_indicator">True</property> + <signal name="toggled" handler="on_css_checkbutton_toggled" swapped="no"/> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">2</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> </object> </child> <child type="label"> |