[gnome-calendar] window: add a GcalSourceDialog instance
- From: Erick Pérez Castellanos <erickpc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar] window: add a GcalSourceDialog instance
- Date: Mon, 25 May 2015 16:46:14 +0000 (UTC)
commit ee2c22b950d47c2155af119cbdc3092e46ed4812
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Mon Feb 9 11:51:38 2015 -0200
window: add a GcalSourceDialog instance
data/ui/window.ui | 5 +++++
src/gcal-window.c | 3 +++
2 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/data/ui/window.ui b/data/ui/window.ui
index 13c0b6f..cf1d68d 100644
--- a/data/ui/window.ui
+++ b/data/ui/window.ui
@@ -485,4 +485,9 @@
</object>
</child>
</object>
+ <object class="GcalSourceDialog" id="source_dialog">
+ <property name="visible">False</property>
+ <property name="can_focus">False</property>
+ <property name="transient_for">GcalWindow</property>
+ </object>
</interface>
diff --git a/src/gcal-window.c b/src/gcal-window.c
index 43cafd0..75885c5 100644
--- a/src/gcal-window.c
+++ b/src/gcal-window.c
@@ -29,6 +29,7 @@
#include "gcal-event-widget.h"
#include "gcal-edit-dialog.h"
#include "gcal-enum-types.h"
+#include "gcal-source-dialog.h"
#include <glib/gi18n.h>
@@ -110,6 +111,7 @@ typedef struct
/* calendar management */
GtkWidget *calendar_popover;
GtkWidget *calendar_listbox;
+ GtkWidget *source_dialog;
gint refresh_timeout;
gint refresh_timeout_id;
@@ -1288,6 +1290,7 @@ gcal_window_class_init(GcalWindowClass *klass)
gtk_widget_class_bind_template_child_private (widget_class, GcalWindow, calendars_button);
gtk_widget_class_bind_template_child_private (widget_class, GcalWindow, calendar_listbox);
gtk_widget_class_bind_template_child_private (widget_class, GcalWindow, calendar_popover);
+ gtk_widget_class_bind_template_child_private (widget_class, GcalWindow, source_dialog);
gtk_widget_class_bind_template_child_private (widget_class, GcalWindow, search_entry);
gtk_widget_class_bind_template_child_private (widget_class, GcalWindow, back_button);
gtk_widget_class_bind_template_child_private (widget_class, GcalWindow, today_button);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]