diff options
author | Milan Crha <mcrha@redhat.com> | 2009-10-27 03:33:48 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2009-10-27 03:33:48 +0800 |
commit | b2b518a8ed5949d1a110336bb3f2733a028018dd (patch) | |
tree | 85e58e0bba4646f95bad2608a6d0106034249a6c | |
parent | 7263df12faea202f05f7843a393814ec6083f714 (diff) | |
download | gsoc2013-evolution-b2b518a8ed5949d1a110336bb3f2733a028018dd.tar.gz gsoc2013-evolution-b2b518a8ed5949d1a110336bb3f2733a028018dd.tar.zst gsoc2013-evolution-b2b518a8ed5949d1a110336bb3f2733a028018dd.zip |
Bug #598519 - Cannot open task/memo by double click in calendar day view
-rw-r--r-- | modules/calendar/e-cal-shell-content.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/modules/calendar/e-cal-shell-content.c b/modules/calendar/e-cal-shell-content.c index d1c9d8fbcc..d784ce7dc6 100644 --- a/modules/calendar/e-cal-shell-content.c +++ b/modules/calendar/e-cal-shell-content.c @@ -38,6 +38,8 @@ #include "calendar/gui/e-day-view.h" #include "calendar/gui/e-week-view.h" +#include "e-cal-shell-view-private.h" + #define E_CAL_SHELL_CONTENT_GET_PRIVATE(obj) \ (G_TYPE_INSTANCE_GET_PRIVATE \ ((obj), E_TYPE_CAL_SHELL_CONTENT, ECalShellContentPrivate)) @@ -434,6 +436,11 @@ cal_shell_content_constructed (GObject *object) e_calendar_table_load_state (E_CALENDAR_TABLE (widget), filename); g_free (filename); + g_signal_connect_swapped ( + widget, "open-component", + G_CALLBACK (e_cal_shell_view_taskpad_open_task), + shell_view); + container = priv->vpaned; widget = gtk_vbox_new (FALSE, 0); @@ -458,6 +465,11 @@ cal_shell_content_constructed (GObject *object) e_memo_table_load_state (E_MEMO_TABLE (widget), filename); g_free (filename); + g_signal_connect_swapped ( + widget, "open-component", + G_CALLBACK (e_cal_shell_view_memopad_open_memo), + shell_view); + /* Load the view instance. */ view_instance = e_shell_view_new_view_instance (shell_view, NULL); |