diff options
author | Milan Crha <mcrha@redhat.com> | 2009-04-08 01:21:08 +0800 |
---|---|---|
committer | Milan Crha <mcrha@src.gnome.org> | 2009-04-08 01:21:08 +0800 |
commit | 4d40aee55684753f23410cf6219f6c20aa3b6cf8 (patch) | |
tree | a8e057919363066ae6b8c734bdc94fd05df66a2f /calendar/gui/e-tasks.c | |
parent | 7b76c88e4d1a4a510ac88c2e1f177fd8c9c3f830 (diff) | |
download | gsoc2013-evolution-4d40aee55684753f23410cf6219f6c20aa3b6cf8.tar.gz gsoc2013-evolution-4d40aee55684753f23410cf6219f6c20aa3b6cf8.tar.zst gsoc2013-evolution-4d40aee55684753f23410cf6219f6c20aa3b6cf8.zip |
** Fix for bug #523802
2009-04-07 Milan Crha <mcrha@redhat.com>
** Fix for bug #523802
* gui/e-tasks.h: (e_tasks_get_preview):
* gui/e-tasks.c: (e_tasks_get_preview):
* gui/e-cal-component-preview.h: (e_cal_component_preview_get_html):
* gui/e-cal-component-preview.c: (e_cal_component_preview_get_html):
* gui/tasks-control.c: (tasks_control_new), (tasks_sensitize_table[]),
(tasks_control_sensitize_commands), (tasks_control_focus_changed),
(tasks_control_copy_cmd):
* gui/e-memos.h: (e_memos_get_preview):
* gui/e-memos.c: (e_memos_get_preview):
* gui/e-cal-component-memo-preview.h:
* gui/e-cal-component-memo-preview.c:
(e_cal_component_memo_preview_get_html):
* gui/memos-control.c: (memos_control_new),
(memos_control_sensitize_commands), (memos_control_focus_changed),
(memos_control_copy_cmd):
Use copy of the preview panel, when focused, and events' copy otherwise.
svn path=/trunk/; revision=37502
Diffstat (limited to 'calendar/gui/e-tasks.c')
-rw-r--r-- | calendar/gui/e-tasks.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/calendar/gui/e-tasks.c b/calendar/gui/e-tasks.c index 1483a06203..f617a1bbd3 100644 --- a/calendar/gui/e-tasks.c +++ b/calendar/gui/e-tasks.c @@ -1563,3 +1563,18 @@ e_tasks_get_calendar_table (ETasks *tasks) priv = tasks->priv; return E_CALENDAR_TABLE (priv->tasks_view); } + +/** + * e_tasks_get_preview: + * @tasks: A tasks widget. + * + * Queries the #ECalComponentPreview contained in a tasks widget. + **/ +GtkWidget * +e_tasks_get_preview (ETasks *tasks) +{ + g_return_val_if_fail (tasks != NULL, NULL); + g_return_val_if_fail (E_IS_TASKS (tasks), NULL); + + return tasks->priv->preview; +} |