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-memos.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-memos.c')
-rw-r--r-- | calendar/gui/e-memos.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/calendar/gui/e-memos.c b/calendar/gui/e-memos.c index fa92195121..71cfb4e4c1 100644 --- a/calendar/gui/e-memos.c +++ b/calendar/gui/e-memos.c @@ -1222,3 +1222,18 @@ e_memos_get_calendar_table (EMemos *memos) priv = memos->priv; return E_MEMO_TABLE (priv->memos_view); } + +/** + * e_memos_get_preview: + * @memos: A memos widget. + * + * Queries the #ECalComponentMemoPreview contained in a memos widget. + **/ +GtkWidget * +e_memos_get_preview (EMemos *memos) +{ + g_return_val_if_fail (memos != NULL, NULL); + g_return_val_if_fail (E_IS_MEMOS (memos), NULL); + + return memos->priv->preview; +} |