source-dialog: use GtkFileChooserButton

This commit is contained in:
Georges Basile Stavracas Neto
2015-05-25 12:35:28 -04:00
committed by Erick Pérez Castellanos
parent 8ff530b66a
commit 1a495b28c7
2 changed files with 47 additions and 60 deletions
+4 -3
View File
@@ -207,13 +207,14 @@
<property name="border_width">18</property>
<property name="row_spacing">12</property>
<child>
<object class="GtkButton" id="select_file_button">
<property name="label" translatable="yes">Select Calendar File…</property>
<object class="GtkFileChooserButton" id="select_file_button">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="hexpand">True</property>
<signal name="clicked" handler="select_calendar_file" object="GcalSourceDialog" swapped="no"/>
<property name="action">GTK_FILE_CHOOSER_ACTION_OPEN</property>
<property name="local_only">True</property>
<signal name="file_set" handler="calendar_file_selected" object="GcalSourceDialog" swapped="no"/>
</object>
<packing>
<property name="left_attach">0</property>