source-dialog: hide itself on response event
This commit is contained in:
committed by
Erick Pérez Castellanos
parent
bb67518418
commit
87c02b520a
@@ -757,6 +757,8 @@ response_signal (GtkDialog *dialog,
|
|||||||
g_list_free_full (priv->remote_sources, g_object_unref);
|
g_list_free_full (priv->remote_sources, g_object_unref);
|
||||||
priv->remote_sources = NULL;
|
priv->remote_sources = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
gtk_widget_hide (GTK_WIDGET (dialog));
|
||||||
}
|
}
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
|
|||||||
@@ -909,7 +909,6 @@ show_source_dialog (GtkButton *button,
|
|||||||
gtk_widget_hide (priv->calendar_popover);
|
gtk_widget_hide (priv->calendar_popover);
|
||||||
|
|
||||||
gtk_dialog_run (GTK_DIALOG (priv->source_dialog));
|
gtk_dialog_run (GTK_DIALOG (priv->source_dialog));
|
||||||
gtk_widget_hide (priv->source_dialog);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
@@ -932,8 +931,6 @@ source_row_activated (GtkListBox *listbox,
|
|||||||
gtk_widget_hide (priv->calendar_popover);
|
gtk_widget_hide (priv->calendar_popover);
|
||||||
|
|
||||||
gtk_dialog_run (GTK_DIALOG (priv->source_dialog));
|
gtk_dialog_run (GTK_DIALOG (priv->source_dialog));
|
||||||
|
|
||||||
gtk_widget_hide (priv->source_dialog);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|||||||
Reference in New Issue
Block a user