source-dialog: better name the modes

Since we're not creating a calendar
as the default state, rename the mode
to NORMAL as it better describes the
dialog state.
This commit is contained in:
Georges Basile Stavracas Neto
2015-05-25 12:35:30 -04:00
committed by Erick Pérez Castellanos
parent ab46c242ae
commit 102b5431fd
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -894,7 +894,7 @@ show_source_dialog (GtkButton *button,
{
GcalWindowPrivate *priv = gcal_window_get_instance_private (GCAL_WINDOW (user_data));
gcal_source_dialog_set_mode (GCAL_SOURCE_DIALOG (priv->source_dialog), GCAL_SOURCE_DIALOG_MODE_CREATE);
gcal_source_dialog_set_mode (GCAL_SOURCE_DIALOG (priv->source_dialog), GCAL_SOURCE_DIALOG_MODE_NORMAL);
gtk_widget_hide (priv->calendar_popover);