[gnome-calendar] source-dialog: hide itself on response event
- From: Erick Pérez Castellanos <erickpc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar] source-dialog: hide itself on response event
- Date: Mon, 25 May 2015 17:04:52 +0000 (UTC)
commit 87c02b520aa3f1f92d35623dcda1630b97f3108f
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 7b5824e..744ab1c 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 4db92e5..97e6075 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]