[gnome-calendar] window: hide calendar popover when the dialog is trigged
- From: Erick Pérez Castellanos <erickpc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar] window: hide calendar popover when the dialog is trigged
- Date: Mon, 25 May 2015 16:47:30 +0000 (UTC)
commit c91d5bbb597234a550fc0e23c659ae2f240b01c5
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Mon Feb 9 14:21:08 2015 -0200
window: hide calendar popover when the dialog is trigged
src/gcal-window.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/gcal-window.c b/src/gcal-window.c
index a4aa620..9ce9982 100644
--- a/src/gcal-window.c
+++ b/src/gcal-window.c
@@ -868,6 +868,8 @@ show_source_dialog (GtkButton *button,
gcal_source_dialog_set_mode (GCAL_SOURCE_DIALOG (priv->source_dialog), GCAL_SOURCE_DIALOG_MODE_CREATE);
+ gtk_widget_hide (priv->calendar_popover);
+
gtk_dialog_run (GTK_DIALOG (priv->source_dialog));
gtk_widget_hide (priv->source_dialog);
}
@@ -900,6 +902,8 @@ source_row_activated (GtkListBox *listbox,
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);
+ gtk_widget_hide (priv->calendar_popover);
+
gtk_dialog_run (GTK_DIALOG (priv->source_dialog));
gtk_widget_hide (priv->source_dialog);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]