aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs/task-page.c
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@novell.com>2010-08-11 20:41:25 +0800
committerMichael Meeks <michael.meeks@novell.com>2010-08-11 20:42:08 +0800
commitf2fba09301e6e4eaf26556a61d3b6d99cf769f30 (patch)
treefc78427418721178e1b2d2eaac9c05c5a41f10d7 /calendar/gui/dialogs/task-page.c
parent46c2fbd4f76a8048a3bdf07e273a8a884583700e (diff)
downloadgsoc2013-evolution-f2fba09301e6e4eaf26556a61d3b6d99cf769f30.tar
gsoc2013-evolution-f2fba09301e6e4eaf26556a61d3b6d99cf769f30.tar.gz
gsoc2013-evolution-f2fba09301e6e4eaf26556a61d3b6d99cf769f30.tar.bz2
gsoc2013-evolution-f2fba09301e6e4eaf26556a61d3b6d99cf769f30.tar.lz
gsoc2013-evolution-f2fba09301e6e4eaf26556a61d3b6d99cf769f30.tar.xz
gsoc2013-evolution-f2fba09301e6e4eaf26556a61d3b6d99cf769f30.tar.zst
gsoc2013-evolution-f2fba09301e6e4eaf26556a61d3b6d99cf769f30.zip
Ensure widgets are registered, without relying on config dialog setup at startup.
Diffstat (limited to 'calendar/gui/dialogs/task-page.c')
-rw-r--r--calendar/gui/dialogs/task-page.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/calendar/gui/dialogs/task-page.c b/calendar/gui/dialogs/task-page.c
index 9bb57de918..b0f175140e 100644
--- a/calendar/gui/dialogs/task-page.c
+++ b/calendar/gui/dialogs/task-page.c
@@ -2045,6 +2045,11 @@ task_page_construct (TaskPage *tpage, EMeetingStore *model, ECal *client)
priv->model = model;
priv->client = client;
+ /* Make sure our custom widget classes are registered with
+ * GType before we load the GtkBuilder definition file. */
+ E_TYPE_DATE_EDIT;
+ E_TYPE_TIMEZONE_ENTRY;
+
priv->builder = gtk_builder_new ();
e_load_ui_builder_definition (priv->builder, "task-page.ui");