[gnome-calendar/calendar-editor] window: set source dialog to create mode



commit 2fa250b3616efcc877aa20c3b71fcc94209b209b
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 a703f3f..49f4e06 100644
--- a/src/gcal-window.c
+++ b/src/gcal-window.c
@@ -818,6 +818,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]