[gnome-calendar] window: set source dialog to create mode
- From: Erick Pérez Castellanos <erickpc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar] window: set source dialog to create mode
- Date: Mon, 25 May 2015 16:46:34 +0000 (UTC)
commit 7e9d722206270fb7f98a39b233beb132c99c15f4
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Mon Feb 9 12:24:24 2015 -0200
window: set source dialog to create mode
src/gcal-window.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/gcal-window.c b/src/gcal-window.c
index 76b4277..6966bc2 100644
--- a/src/gcal-window.c
+++ b/src/gcal-window.c
@@ -861,6 +861,8 @@ show_source_dialog (GtkButton *button,
{
GcalWindowPrivate *priv = gcal_window_get_instance_private (GCAL_WINDOW (user_data));
+ gcal_source_dialog_set_mode (GCAL_SOURCE_DIALOG (priv->source_dialog), GCAL_SOURCE_DIALOG_MODE_CREATE);
+
gtk_window_present (GTK_WINDOW (priv->source_dialog));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]