source-dialog: refactor mode handling code

This commit introduce changes of
how GcalSourceDialog handles the
creation of new sources.

At the moment, only file sources
are add-able.
This commit is contained in:
Georges Basile Stavracas Neto
2015-05-25 12:35:32 -04:00
committed by Erick Pérez Castellanos
parent c49b306f7a
commit 378d4c8c81
2 changed files with 49 additions and 22 deletions
+1 -1
View File
@@ -806,7 +806,7 @@
<property name="label" translatable="yes">Cancel</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<signal name="clicked" handler="action_widget_activated" object="GcalSourceDialog" swapped="no"/>
<signal name="clicked" handler="cancel_button_clicked" object="GcalSourceDialog" swapped="no"/>
</object>
<packing>
<property name="position">2</property>