diff options
author | Rodney Dawes <dobey@novell.com> | 2005-02-04 23:49:15 +0800 |
---|---|---|
committer | Rodney Dawes <dobey@src.gnome.org> | 2005-02-04 23:49:15 +0800 |
commit | afbb1fd44d098899205335e45267979c8681ed4a (patch) | |
tree | b34830cc8f02b4cd66961edf90dad5474368581f /calendar/gui/dialogs/comp-editor.h | |
parent | cd399f7a4065d4a5091d63a35564d1a3807caa11 (diff) | |
download | gsoc2013-evolution-afbb1fd44d098899205335e45267979c8681ed4a.tar gsoc2013-evolution-afbb1fd44d098899205335e45267979c8681ed4a.tar.gz gsoc2013-evolution-afbb1fd44d098899205335e45267979c8681ed4a.tar.bz2 gsoc2013-evolution-afbb1fd44d098899205335e45267979c8681ed4a.tar.lz gsoc2013-evolution-afbb1fd44d098899205335e45267979c8681ed4a.tar.xz gsoc2013-evolution-afbb1fd44d098899205335e45267979c8681ed4a.tar.zst gsoc2013-evolution-afbb1fd44d098899205335e45267979c8681ed4a.zip |
Add a string to CompEditorPrivate to store the name of the help section we
2005-02-04 Rodney Dawes <dobey@novell.com>
* gui/dialogs/comp-editor.[ch]: Add a string to CompEditorPrivate to
store the name of the help section we need to refer for derived dialogs
(response_cb): Handle the GTK_RESPONSE_HELP response and show help
(setup_widgets): Add a button to the dialog for Help
(comp_editor_init): Default to the "usage-calendar" help section
(comp_editor_finalize): Free the help_section variable
(comp_editor_show_help): Add a new method to actually open the help
(comp_editor_set_help_section): Add a method for derivatives to set the
help section they want to open
* gui/dialogs/event-editor.c (event_editor_init): Set the help section
we want to open for the event editor to "usage-calendar-apts"
* gui/dialogs/task-editor.c (task_editor_init): Set the help section
we want to open for the event editor to "usage-calendar-todo"
svn path=/trunk/; revision=28710
Diffstat (limited to 'calendar/gui/dialogs/comp-editor.h')
-rw-r--r-- | calendar/gui/dialogs/comp-editor.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/calendar/gui/dialogs/comp-editor.h b/calendar/gui/dialogs/comp-editor.h index ea6811e5a3..7203b3e722 100644 --- a/calendar/gui/dialogs/comp-editor.h +++ b/calendar/gui/dialogs/comp-editor.h @@ -81,6 +81,8 @@ void comp_editor_show_page (CompEditor *editor, CompEditorPage *page); void comp_editor_set_e_cal (CompEditor *editor, ECal *client); +void comp_editor_set_help_section (CompEditor *editor, + const char *section); ECal *comp_editor_get_e_cal (CompEditor *editor); void comp_editor_edit_comp (CompEditor *ee, ECalComponent *comp); |