[gnome-calendar/calendar-editor] source-dialog: hide itself on response event
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar/calendar-editor] source-dialog: hide itself on response event
- Date: Sat, 23 May 2015 01:49:56 +0000 (UTC)
commit dbca98c0332f72a4460506cdec68c0e4f99cf040
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Fri May 22 22:49:32 2015 -0300
source-dialog: hide itself on response event
src/gcal-source-dialog.c | 2 ++
src/gcal-window.c | 3 ---
2 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/gcal-source-dialog.c b/src/gcal-source-dialog.c
index 7ff02a4..bc2bcf0 100644
--- a/src/gcal-source-dialog.c
+++ b/src/gcal-source-dialog.c
@@ -757,6 +757,8 @@ response_signal (GtkDialog *dialog,
g_list_free_full (priv->remote_sources, g_object_unref);
priv->remote_sources = NULL;
}
+
+ gtk_widget_hide (GTK_WIDGET (dialog));
}
static gboolean
diff --git a/src/gcal-window.c b/src/gcal-window.c
index 8097895..fd1c004 100644
--- a/src/gcal-window.c
+++ b/src/gcal-window.c
@@ -909,7 +909,6 @@ show_source_dialog (GtkButton *button,
gtk_widget_hide (priv->calendar_popover);
gtk_dialog_run (GTK_DIALOG (priv->source_dialog));
- gtk_widget_hide (priv->source_dialog);
}
static void
@@ -932,8 +931,6 @@ source_row_activated (GtkListBox *listbox,
gtk_widget_hide (priv->calendar_popover);
gtk_dialog_run (GTK_DIALOG (priv->source_dialog));
-
- gtk_widget_hide (priv->source_dialog);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]