window: correctly set the source and mode
Cannot change to edit mode without actually give the source to edit.
This commit is contained in:
committed by
Erick Pérez Castellanos
parent
55613280cc
commit
f70702a885
+1
-1
@@ -917,8 +917,8 @@ source_row_activated (GtkListBox *listbox,
|
|||||||
if (source == NULL)
|
if (source == NULL)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
gcal_source_dialog_set_mode (GCAL_SOURCE_DIALOG (priv->source_dialog), GCAL_SOURCE_DIALOG_MODE_EDIT);
|
|
||||||
gcal_source_dialog_set_source (GCAL_SOURCE_DIALOG (priv->source_dialog), source);
|
gcal_source_dialog_set_source (GCAL_SOURCE_DIALOG (priv->source_dialog), source);
|
||||||
|
gcal_source_dialog_set_mode (GCAL_SOURCE_DIALOG (priv->source_dialog), GCAL_SOURCE_DIALOG_MODE_EDIT);
|
||||||
|
|
||||||
gtk_widget_hide (priv->calendar_popover);
|
gtk_widget_hide (priv->calendar_popover);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user