diff options
author | Matthew Barnes <mbarnes@src.gnome.org> | 2008-10-01 11:48:51 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2008-10-01 11:48:51 +0800 |
commit | c6795be3a8b7b17ced9e99e17db9ac6cbed6e018 (patch) | |
tree | 9623c989150fd850c5ca9dc6cfb61f599efae573 | |
parent | b639d1ed02e9788d98f2a202fc53105ff4bc4387 (diff) | |
download | gsoc2013-evolution-c6795be3a8b7b17ced9e99e17db9ac6cbed6e018.tar.gz gsoc2013-evolution-c6795be3a8b7b17ced9e99e17db9ac6cbed6e018.tar.zst gsoc2013-evolution-c6795be3a8b7b17ced9e99e17db9ac6cbed6e018.zip |
Continue documenting the new shell API.
svn path=/branches/kill-bonobo/; revision=36511
-rw-r--r-- | doc/reference/shell/eshell-docs.sgml | 10 | ||||
-rw-r--r-- | doc/reference/shell/eshell-sections.txt | 130 | ||||
-rw-r--r-- | doc/reference/shell/tmpl/e-shell-module.sgml | 9 | ||||
-rw-r--r-- | doc/reference/shell/tmpl/e-shell-view.sgml | 45 | ||||
-rw-r--r-- | doc/reference/shell/tmpl/e-shell-window.sgml | 10 | ||||
-rw-r--r-- | doc/reference/shell/tmpl/eshell-unused.sgml | 2173 | ||||
-rw-r--r-- | shell/e-shell-content.c | 6 | ||||
-rw-r--r-- | shell/e-shell-content.h | 12 | ||||
-rw-r--r-- | shell/e-shell-module.c | 43 | ||||
-rw-r--r-- | shell/e-shell-module.h | 12 | ||||
-rw-r--r-- | shell/e-shell-sidebar.h | 12 | ||||
-rw-r--r-- | shell/e-shell-switcher.c | 22 | ||||
-rw-r--r-- | shell/e-shell-switcher.h | 12 | ||||
-rw-r--r-- | shell/e-shell-taskbar.c | 6 | ||||
-rw-r--r-- | shell/e-shell-taskbar.h | 12 | ||||
-rw-r--r-- | shell/e-shell-view.c | 22 | ||||
-rw-r--r-- | shell/e-shell-view.h | 16 | ||||
-rw-r--r-- | shell/e-shell-window-actions.c | 311 | ||||
-rw-r--r-- | shell/e-shell-window-actions.h | 14 | ||||
-rw-r--r-- | shell/e-shell-window-private.c | 1 | ||||
-rw-r--r-- | shell/e-shell-window.h | 12 | ||||
-rw-r--r-- | shell/e-shell.h | 12 |
22 files changed, 633 insertions, 2269 deletions
diff --git a/doc/reference/shell/eshell-docs.sgml b/doc/reference/shell/eshell-docs.sgml index 452a53cabf..6baba61429 100644 --- a/doc/reference/shell/eshell-docs.sgml +++ b/doc/reference/shell/eshell-docs.sgml @@ -12,22 +12,22 @@ </bookinfo> <chapter> - <title>Shell</title> + <title>The Shell</title> <xi:include href="xml/e-shell.xml"/> <xi:include href="xml/e-shell-module.xml"/> <xi:include href="xml/e-shell-window.xml"/> - <xi:include href="xml/e-shell-switcher.xml"/> <xi:include href="xml/e-shell-view.xml"/> <xi:include href="xml/e-shell-content.xml"/> <xi:include href="xml/e-shell-sidebar.xml"/> <xi:include href="xml/e-shell-taskbar.xml"/> - <xi:include href="xml/e-activity-handler.xml"/> + <xi:include href="xml/e-shell-switcher.xml"/> <xi:include href="xml/e-shell-importer.xml"/> </chapter> <chapter> - <title>Actions by Group</title> - <xi:include href="xml/e-shell-window-actions.xml"/> + <title>Actions</title> + <xi:include href="xml/shell-actions.xml"/> + <xi:include href="xml/action-groups.xml"/> </chapter> <index> diff --git a/doc/reference/shell/eshell-sections.txt b/doc/reference/shell/eshell-sections.txt index 86321592a6..fc9a599558 100644 --- a/doc/reference/shell/eshell-sections.txt +++ b/doc/reference/shell/eshell-sections.txt @@ -1,4 +1,37 @@ <SECTION> +<FILE>e-shell</FILE> +<TITLE>EShell</TITLE> +EShell +EShellLineStatus +e_shell_new +e_shell_list_modules +e_shell_get_canonical_name +e_shell_get_module_by_name +e_shell_get_module_by_scheme +e_shell_create_window +e_shell_handle_uri +e_shell_send_receive +e_shell_get_online_mode +e_shell_set_online_mode +e_shell_get_line_status +e_shell_set_line_status +e_shell_get_preferences_window +e_shell_is_busy +e_shell_do_quit +e_shell_quit +<SUBSECTION Standard> +E_SHELL +E_IS_SHELL +E_TYPE_SHELL +e_shell_get_type +E_SHELL_CLASS +E_IS_SHELL_CLASS +E_SHELL_GET_CLASS +<SUBSECTION Private> +EShellPrivate +</SECTION> + +<SECTION> <FILE>e-shell-view</FILE> <TITLE>EShellView</TITLE> EShellView @@ -9,12 +42,16 @@ e_shell_view_set_title e_shell_view_get_view_id e_shell_view_set_view_id e_shell_view_is_active +e_shell_view_add_activity e_shell_view_get_page_num +e_shell_view_get_size_group e_shell_view_get_shell_content e_shell_view_get_shell_sidebar e_shell_view_get_shell_taskbar e_shell_view_get_shell_window -e_shell_view_changed +e_shell_view_get_shell_module +e_shell_view_update_actions +e_shell_view_show_popup_menu <SUBSECTION Standard> E_SHELL_VIEW E_IS_SHELL_VIEW @@ -69,35 +106,6 @@ EShellSidebarPrivate </SECTION> <SECTION> -<FILE>e-activity-handler</FILE> -<TITLE>EActivityHandler</TITLE> -EAH_ICON_INFO -EAH_ICON_ERROR -EActivityHandler -e_activity_handler_new -e_activity_handler_attach_task_bar -e_activity_handler_set_message -e_activity_handler_unset_message -e_activity_handler_operation_started -e_activity_handler_cancelable_operation_started -e_activity_handler_operation_progressing -e_activity_handler_operation_finished -e_activity_handler_set_logger -e_activity_handler_make_error -e_activity_handler_operation_set_error -e_activity_handler_set_error_flush_time -<SUBSECTION Standard> -E_ACTIVITY_HANDLER -E_IS_ACTIVITY_HANDLER -E_TYPE_ACTIVITY_HANDLER -e_activity_handler_get_type -E_ACTIVITY_HANDLER_CLASS -E_IS_ACTIVITY_HANDLER_CLASS -<SUBSECTION Private> -EActivityHandlerPrivate -</SECTION> - -<SECTION> <FILE>e-shell-taskbar</FILE> <TITLE>EShellTaskbar</TITLE> EShellTaskbar @@ -126,6 +134,7 @@ e_shell_module_get_data_dir e_shell_module_get_filename e_shell_module_get_searches e_shell_module_get_shell +e_shell_module_add_activity e_shell_module_is_busy e_shell_module_shutdown e_shell_module_set_info @@ -159,45 +168,12 @@ EShellContentPrivate </SECTION> <SECTION> -<FILE>e-shell</FILE> -<TITLE>EShell</TITLE> -EShell -EShellLineStatus -e_shell_new -e_shell_list_modules -e_shell_get_canonical_name -e_shell_get_module_by_name -e_shell_get_module_by_scheme -e_shell_create_window -e_shell_handle_uri -e_shell_send_receive -e_shell_get_online_mode -e_shell_set_online_mode -e_shell_get_line_status -e_shell_set_line_status -e_shell_get_preferences_window -e_shell_is_busy -e_shell_do_quit -e_shell_quit -<SUBSECTION Standard> -E_SHELL -E_IS_SHELL -E_TYPE_SHELL -e_shell_get_type -E_SHELL_CLASS -E_IS_SHELL_CLASS -E_SHELL_GET_CLASS -<SUBSECTION Private> -EShellPrivate -</SECTION> - -<SECTION> <FILE>e-shell-window</FILE> <TITLE>EShellWindow</TITLE> EShellWindow e_shell_window_new -e_shell_window_get_view e_shell_window_get_shell +e_shell_window_get_shell_view e_shell_window_get_ui_manager e_shell_window_get_action e_shell_window_get_action_group @@ -218,6 +194,8 @@ E_IS_SHELL_WINDOW_CLASS E_SHELL_WINDOW_GET_CLASS <SUBSECTION Private> EShellWindowPrivate +E_SHELL_WINDOW_ACTION +E_SHELL_WINDOW_ACTION_GROUP </SECTION> <SECTION> @@ -226,18 +204,16 @@ e_shell_importer_start_import </SECTION> <SECTION> -<FILE>e-shell-window-actions</FILE> -<TITLE>Global Actions</TITLE> -E_SHELL_WINDOW_ACTION -E_SHELL_WINDOW_ACTION_GROUP +<FILE>shell-actions</FILE> +<TITLE>Shell Actions</TITLE> E_SHELL_WINDOW_ACTION_ABOUT E_SHELL_WINDOW_ACTION_CLOSE +E_SHELL_WINDOW_ACTION_CONTENTS E_SHELL_WINDOW_ACTION_FAQ E_SHELL_WINDOW_ACTION_FORGET_PASSWORDS E_SHELL_WINDOW_ACTION_GAL_CUSTOM_VIEW E_SHELL_WINDOW_ACTION_GAL_DEFINE_VIEWS E_SHELL_WINDOW_ACTION_GAL_SAVE_CUSTOM_VIEW -E_SHELL_WINDOW_ACTION_GAL_VIEW_MENU E_SHELL_WINDOW_ACTION_IMPORT E_SHELL_WINDOW_ACTION_NEW_WINDOW E_SHELL_WINDOW_ACTION_PAGE_SETUP @@ -248,6 +224,7 @@ E_SHELL_WINDOW_ACTION_SEARCH_ADVANCED E_SHELL_WINDOW_ACTION_SEARCH_CLEAR E_SHELL_WINDOW_ACTION_SEARCH_EDIT E_SHELL_WINDOW_ACTION_SEARCH_EXECUTE +E_SHELL_WINDOW_ACTION_SEARCH_OPTIONS E_SHELL_WINDOW_ACTION_SEARCH_SAVE E_SHELL_WINDOW_ACTION_SEND_RECEIVE E_SHELL_WINDOW_ACTION_SHOW_SIDEBAR @@ -255,13 +232,22 @@ E_SHELL_WINDOW_ACTION_SHOW_STATUSBAR E_SHELL_WINDOW_ACTION_SHOW_SWITCHER E_SHELL_WINDOW_ACTION_SHOW_TOOLBAR E_SHELL_WINDOW_ACTION_SUBMIT_BUG +E_SHELL_WINDOW_ACTION_SWITCHER_STYLE_BOTH E_SHELL_WINDOW_ACTION_SWITCHER_STYLE_ICONS +E_SHELL_WINDOW_ACTION_SWITCHER_STYLE_TEXT +E_SHELL_WINDOW_ACTION_SWITCHER_STYLE_USER E_SHELL_WINDOW_ACTION_SYNC_OPTIONS E_SHELL_WINDOW_ACTION_WORK_OFFLINE E_SHELL_WINDOW_ACTION_WORK_ONLINE -E_SHELL_WINDOW_ACTION_GROUP_GAL_VIEW +</SECTION> + +<SECTION> +<FILE>action-groups</FILE> +<TITLE>Action Groups</TITLE> +E_SHELL_WINDOW_ACTION_GROUP_SHELL +E_SHELL_WINDOW_ACTION_GROUP_SWITCHER E_SHELL_WINDOW_ACTION_GROUP_NEW_ITEM E_SHELL_WINDOW_ACTION_GROUP_NEW_SOURCE -E_SHELL_WINDOW_ACTION_GROUP_SHELL -E_SHELL_WINDOW_ACTION_GROUP_SHELL_VIEW +E_SHELL_WINDOW_ACTION_GROUP_CUSTOM_RULES +E_SHELL_WINDOW_ACTION_GROUP_GAL_VIEW </SECTION> diff --git a/doc/reference/shell/tmpl/e-shell-module.sgml b/doc/reference/shell/tmpl/e-shell-module.sgml index f4fe9ca069..3b9b642688 100644 --- a/doc/reference/shell/tmpl/e-shell-module.sgml +++ b/doc/reference/shell/tmpl/e-shell-module.sgml @@ -119,6 +119,15 @@ EShellModule @Returns: +<!-- ##### FUNCTION e_shell_module_add_activity ##### --> +<para> + +</para> + +@shell_module: +@activity: + + <!-- ##### FUNCTION e_shell_module_is_busy ##### --> <para> diff --git a/doc/reference/shell/tmpl/e-shell-view.sgml b/doc/reference/shell/tmpl/e-shell-view.sgml index d36370c321..b6d35b18be 100644 --- a/doc/reference/shell/tmpl/e-shell-view.sgml +++ b/doc/reference/shell/tmpl/e-shell-view.sgml @@ -140,6 +140,15 @@ EShellView @Returns: +<!-- ##### FUNCTION e_shell_view_add_activity ##### --> +<para> + +</para> + +@shell_view: +@activity: + + <!-- ##### FUNCTION e_shell_view_get_page_num ##### --> <para> @@ -149,6 +158,15 @@ EShellView @Returns: +<!-- ##### FUNCTION e_shell_view_get_size_group ##### --> +<para> + +</para> + +@shell_view: +@Returns: + + <!-- ##### FUNCTION e_shell_view_get_shell_content ##### --> <para> @@ -185,3 +203,30 @@ EShellView @Returns: +<!-- ##### FUNCTION e_shell_view_get_shell_module ##### --> +<para> + +</para> + +@shell_view: +@Returns: + + +<!-- ##### FUNCTION e_shell_view_update_actions ##### --> +<para> + +</para> + +@shell_view: + + +<!-- ##### FUNCTION e_shell_view_show_popup_menu ##### --> +<para> + +</para> + +@shell_view: +@widget_path: +@event: + + diff --git a/doc/reference/shell/tmpl/e-shell-window.sgml b/doc/reference/shell/tmpl/e-shell-window.sgml index 988e2f039c..50349dae87 100644 --- a/doc/reference/shell/tmpl/e-shell-window.sgml +++ b/doc/reference/shell/tmpl/e-shell-window.sgml @@ -57,6 +57,16 @@ EShellWindow @Returns: +<!-- ##### FUNCTION e_shell_window_get_shell_view ##### --> +<para> + +</para> + +@shell_window: +@view_name: +@Returns: + + <!-- ##### FUNCTION e_shell_window_get_ui_manager ##### --> <para> diff --git a/doc/reference/shell/tmpl/eshell-unused.sgml b/doc/reference/shell/tmpl/eshell-unused.sgml index 358b76071a..9360a7003c 100644 --- a/doc/reference/shell/tmpl/eshell-unused.sgml +++ b/doc/reference/shell/tmpl/eshell-unused.sgml @@ -1,2176 +1,7 @@ -<!-- ##### SECTION ./tmpl/Evolution-DataServer.sgml:Long_Description ##### --> -<para> - -</para> - - -<!-- ##### SECTION ./tmpl/Evolution-DataServer.sgml:See_Also ##### --> -<para> - -</para> - - -<!-- ##### SECTION ./tmpl/Evolution-DataServer.sgml:Short_Description ##### --> - - - -<!-- ##### SECTION ./tmpl/Evolution-DataServer.sgml:Stability_Level ##### --> - - - -<!-- ##### SECTION ./tmpl/Evolution-DataServer.sgml:Title ##### --> -Evolution-DataServer - - -<!-- ##### SECTION ./tmpl/e-config-upgrade.sgml:Long_Description ##### --> -<para> - -</para> - - -<!-- ##### SECTION ./tmpl/e-config-upgrade.sgml:See_Also ##### --> -<para> - -</para> - - -<!-- ##### SECTION ./tmpl/e-config-upgrade.sgml:Short_Description ##### --> - - - -<!-- ##### SECTION ./tmpl/e-config-upgrade.sgml:Stability_Level ##### --> - - - -<!-- ##### SECTION ./tmpl/e-config-upgrade.sgml:Title ##### --> -e-config-upgrade - - -<!-- ##### SECTION ./tmpl/e-shell-common.sgml:Long_Description ##### --> -<para> - -</para> - - -<!-- ##### SECTION ./tmpl/e-shell-common.sgml:See_Also ##### --> -<para> - -</para> - - -<!-- ##### SECTION ./tmpl/e-shell-common.sgml:Short_Description ##### --> - - - -<!-- ##### SECTION ./tmpl/e-shell-common.sgml:Stability_Level ##### --> - - - -<!-- ##### SECTION ./tmpl/e-shell-common.sgml:Title ##### --> -e-shell-common - - -<!-- ##### SECTION ./tmpl/e-shell-constants.sgml:Long_Description ##### --> -<para> - -</para> - - -<!-- ##### SECTION ./tmpl/e-shell-constants.sgml:See_Also ##### --> -<para> - -</para> - - -<!-- ##### SECTION ./tmpl/e-shell-constants.sgml:Short_Description ##### --> - - - -<!-- ##### SECTION ./tmpl/e-shell-constants.sgml:Stability_Level ##### --> - - - -<!-- ##### SECTION ./tmpl/e-shell-constants.sgml:Title ##### --> -e-shell-constants - - -<!-- ##### SECTION ./tmpl/e-shell-marshal.sgml:Long_Description ##### --> -<para> - -</para> - - -<!-- ##### SECTION ./tmpl/e-shell-marshal.sgml:See_Also ##### --> -<para> - -</para> - - -<!-- ##### SECTION ./tmpl/e-shell-marshal.sgml:Short_Description ##### --> - - - -<!-- ##### SECTION ./tmpl/e-shell-marshal.sgml:Stability_Level ##### --> - - - -<!-- ##### SECTION ./tmpl/e-shell-marshal.sgml:Title ##### --> -e-shell-marshal - - -<!-- ##### SECTION ./tmpl/e-shell-window-private.sgml:Long_Description ##### --> -<para> - -</para> - - -<!-- ##### SECTION ./tmpl/e-shell-window-private.sgml:See_Also ##### --> -<para> - -</para> - - -<!-- ##### SECTION ./tmpl/e-shell-window-private.sgml:Short_Description ##### --> - - - -<!-- ##### SECTION ./tmpl/e-shell-window-private.sgml:Stability_Level ##### --> - - - -<!-- ##### SECTION ./tmpl/e-shell-window-private.sgml:Title ##### --> -e-shell-window-private - - -<!-- ##### SECTION ./tmpl/e-test-shell-view.sgml:Long_Description ##### --> -<para> - -</para> - - -<!-- ##### SECTION ./tmpl/e-test-shell-view.sgml:See_Also ##### --> -<para> - -</para> - - -<!-- ##### SECTION ./tmpl/e-test-shell-view.sgml:Short_Description ##### --> - - - -<!-- ##### SECTION ./tmpl/e-test-shell-view.sgml:Stability_Level ##### --> - - - -<!-- ##### SECTION ./tmpl/e-test-shell-view.sgml:Title ##### --> -ETestShellView - - -<!-- ##### SECTION ./tmpl/es-event.sgml:Long_Description ##### --> -<para> - -</para> - - -<!-- ##### SECTION ./tmpl/es-event.sgml:See_Also ##### --> -<para> - -</para> - - -<!-- ##### SECTION ./tmpl/es-event.sgml:Short_Description ##### --> - - - -<!-- ##### SECTION ./tmpl/es-event.sgml:Stability_Level ##### --> - - - -<!-- ##### SECTION ./tmpl/es-event.sgml:Title ##### --> -ESEventHook - - -<!-- ##### SECTION ./tmpl/evolution-importer-client.sgml:Long_Description ##### --> -<para> - -</para> - - -<!-- ##### SECTION ./tmpl/evolution-importer-client.sgml:See_Also ##### --> -<para> - -</para> - - -<!-- ##### SECTION ./tmpl/evolution-importer-client.sgml:Short_Description ##### --> - - - -<!-- ##### SECTION ./tmpl/evolution-importer-client.sgml:Stability_Level ##### --> - - - -<!-- ##### SECTION ./tmpl/evolution-importer-client.sgml:Title ##### --> -EvolutionImporterClient - - -<!-- ##### SECTION ./tmpl/evolution-importer-listener.sgml:Long_Description ##### --> -<para> - -</para> - - -<!-- ##### SECTION ./tmpl/evolution-importer-listener.sgml:See_Also ##### --> -<para> - -</para> - - -<!-- ##### SECTION ./tmpl/evolution-importer-listener.sgml:Short_Description ##### --> - - - -<!-- ##### SECTION ./tmpl/evolution-importer-listener.sgml:Stability_Level ##### --> - - - -<!-- ##### SECTION ./tmpl/evolution-importer-listener.sgml:Title ##### --> -EvolutionImporterListener - - -<!-- ##### SECTION ./tmpl/evolution-importer.sgml:Long_Description ##### --> -<para> - -</para> - - -<!-- ##### SECTION ./tmpl/evolution-importer.sgml:See_Also ##### --> -<para> - -</para> - - -<!-- ##### SECTION ./tmpl/evolution-importer.sgml:Short_Description ##### --> - - - -<!-- ##### SECTION ./tmpl/evolution-importer.sgml:Stability_Level ##### --> - - - -<!-- ##### SECTION ./tmpl/evolution-importer.sgml:Title ##### --> -EvolutionImporter - - -<!-- ##### SECTION ./tmpl/evolution-intelligent-importer.sgml:Long_Description ##### --> -<para> - -</para> - - -<!-- ##### SECTION ./tmpl/evolution-intelligent-importer.sgml:See_Also ##### --> -<para> - -</para> - - -<!-- ##### SECTION ./tmpl/evolution-intelligent-importer.sgml:Short_Description ##### --> - - - -<!-- ##### SECTION ./tmpl/evolution-intelligent-importer.sgml:Stability_Level ##### --> - - - -<!-- ##### SECTION ./tmpl/evolution-intelligent-importer.sgml:Title ##### --> -EvolutionIntelligentImporter - - -<!-- ##### SECTION ./tmpl/intelligent.sgml:Long_Description ##### --> -<para> - -</para> - - -<!-- ##### SECTION ./tmpl/intelligent.sgml:See_Also ##### --> -<para> - -</para> - - -<!-- ##### SECTION ./tmpl/intelligent.sgml:Short_Description ##### --> - - - -<!-- ##### SECTION ./tmpl/intelligent.sgml:Stability_Level ##### --> - - - -<!-- ##### SECTION ./tmpl/intelligent.sgml:Title ##### --> -intelligent - - -<!-- ##### MACRO ACTION ##### --> -<para> - -</para> - -@name: - -<!-- ##### MACRO ACTION_GROUP ##### --> -<para> - -</para> - -@name: - -<!-- ##### MACRO DISPOSE ##### --> -<para> - -</para> - -@obj: - -<!-- ##### MACRO EAH_ICON_ERROR ##### --> -<para> - -</para> - - -<!-- ##### MACRO EAH_ICON_INFO ##### --> -<para> - -</para> - - -<!-- ##### STRUCT EActivityHandler ##### --> -<para> - -</para> - - -<!-- ##### STRUCT EActivityHandlerPrivate ##### --> -<para> - -</para> - - -<!-- ##### STRUCT ESEvent ##### --> -<para> - -</para> - - -<!-- ##### STRUCT ESEventHook ##### --> -<para> - -</para> - - -<!-- ##### TYPEDEF ESEventItem ##### --> -<para> - -</para> - - -<!-- ##### STRUCT ESEventTargetComponent ##### --> -<para> - -</para> - -@target: -@id: - -<!-- ##### STRUCT ESEventTargetShell ##### --> -<para> - -</para> - -@target: - -<!-- ##### STRUCT ESEventTargetState ##### --> -<para> - -</para> - -@target: -@state: - -<!-- ##### STRUCT ESEventTargetUpgrade ##### --> -<para> - -</para> - -@target: -@major: -@minor: -@revision: - -<!-- ##### ARG EShellContent:search-action ##### --> -<para> - -</para> - - -<!-- ##### STRUCT EShellContentPrivate ##### --> -<para> - -</para> - - -<!-- ##### STRUCT EShellModulePrivate ##### --> -<para> - -</para> - - -<!-- ##### STRUCT EShellPrivate ##### --> -<para> - -</para> - - -<!-- ##### STRUCT EShellSidebarPrivate ##### --> -<para> - -</para> - - -<!-- ##### STRUCT EShellSwitcherPrivate ##### --> -<para> - -</para> - - -<!-- ##### STRUCT EShellTaskbarPrivate ##### --> -<para> - -</para> - - -<!-- ##### SIGNAL EShellView::changed ##### --> -<para> - -</para> - -@eshellview: the object which received the signal. - -<!-- ##### ARG EShellView:view-instance ##### --> -<para> - -</para> - - -<!-- ##### STRUCT EShellViewPrivate ##### --> -<para> - -</para> - - -<!-- ##### ARG EShellWindow:current-view ##### --> -<para> - -</para> - - -<!-- ##### STRUCT EShellWindowPrivate ##### --> -<para> - -</para> - - -<!-- ##### STRUCT ETestShellView ##### --> -<para> - -</para> - -@parent: -@priv: - -<!-- ##### STRUCT ETestShellViewPrivate ##### --> -<para> - -</para> - - -<!-- ##### MACRO E_LOCAL_CALENDAR_URI ##### --> -<para> - -</para> - - -<!-- ##### MACRO E_LOCAL_CONTACTS_URI ##### --> -<para> - -</para> - - -<!-- ##### MACRO E_LOCAL_INBOX_URI ##### --> -<para> - -</para> - - -<!-- ##### MACRO E_LOCAL_STORAGE_NAME ##### --> -<para> - -</para> - - -<!-- ##### MACRO E_LOCAL_TASKS_URI ##### --> -<para> - -</para> - - -<!-- ##### MACRO E_PATH_SEPARATOR ##### --> -<para> - -</para> - - -<!-- ##### MACRO E_PATH_SEPARATOR_S ##### --> -<para> - -</para> - - -<!-- ##### MACRO E_SHELL_DEFAULTURI_PREFIX ##### --> -<para> - -</para> - - -<!-- ##### MACRO E_SHELL_DEFAULTURI_PREFIX_LEN ##### --> -<para> - -</para> - - -<!-- ##### MACRO E_SHELL_ICON_SIZE ##### --> -<para> - -</para> - - -<!-- ##### MACRO E_SHELL_MINI_ICON_SIZE ##### --> -<para> - -</para> - - -<!-- ##### MACRO E_SHELL_MINI_ICON_SUFFIX ##### --> -<para> - -</para> - - -<!-- ##### MACRO E_SHELL_MINI_ICON_SUFFIX_LEN ##### --> -<para> - -</para> - - -<!-- ##### MACRO E_SHELL_SWITCHER_DEFAULT_TOOLBAR_STYLE ##### --> -<para> - -</para> - - -<!-- ##### MACRO E_SHELL_URI_PREFIX ##### --> -<para> - -</para> - - -<!-- ##### MACRO E_SHELL_URI_PREFIX_LEN ##### --> -<para> - -</para> - - -<!-- ##### MACRO E_SHELL_WINDOW_GET_PRIVATE ##### --> -<para> - -</para> - -@obj: - -<!-- ##### MACRO E_SUMMARY_STORAGE_NAME ##### --> -<para> - -</para> - - -<!-- ##### MACRO E_SUMMARY_URI ##### --> -<para> - -</para> - - -<!-- ##### STRUCT EvolutionImporter ##### --> -<para> - -</para> - -@parent: -@priv: - -<!-- ##### STRUCT EvolutionImporterClient ##### --> -<para> - -</para> - -@parent_type: -@objref: - -<!-- ##### USER_FUNCTION EvolutionImporterCreateControlFn ##### --> -<para> - -</para> - -@importer: -@control: -@closure: - -<!-- ##### USER_FUNCTION EvolutionImporterGetErrorFn ##### --> -<para> - -</para> - -@importer: -@closure: -@Returns: - -<!-- ##### STRUCT EvolutionImporterListener ##### --> -<para> - -</para> - -@parent: -@priv: - -<!-- ##### USER_FUNCTION EvolutionImporterListenerCallback ##### --> -<para> - -</para> - -@listener: -@result: -@more_items: -@closure: - -<!-- ##### STRUCT EvolutionImporterListenerPrivate ##### --> -<para> - -</para> - - -<!-- ##### USER_FUNCTION EvolutionImporterLoadFileFn ##### --> -<para> - -</para> - -@importer: -@filename: -@closure: -@Returns: - -<!-- ##### STRUCT EvolutionImporterPrivate ##### --> -<para> - -</para> - - -<!-- ##### USER_FUNCTION EvolutionImporterProcessItemFn ##### --> -<para> - -</para> - -@importer: -@listener: -@closure: -@ev: - -<!-- ##### ENUM EvolutionImporterResult ##### --> -<para> - -</para> - -@EVOLUTION_IMPORTER_OK: -@EVOLUTION_IMPORTER_UNSUPPORTED_OPERATION: -@EVOLUTION_IMPORTER_INTERRUPTED: -@EVOLUTION_IMPORTER_BUSY: -@EVOLUTION_IMPORTER_NOT_READY: -@EVOLUTION_IMPORTER_UNKNOWN_DATA: -@EVOLUTION_IMPORTER_BAD_DATA: -@EVOLUTION_IMPORTER_BAD_FILE: -@EVOLUTION_IMPORTER_UNKNOWN_ERROR: - -<!-- ##### USER_FUNCTION EvolutionImporterSupportFormatFn ##### --> -<para> - -</para> - -@importer: -@filename: -@closure: -@Returns: - -<!-- ##### STRUCT EvolutionIntelligentImporter ##### --> -<para> - -</para> - -@parent: -@priv: - -<!-- ##### USER_FUNCTION EvolutionIntelligentImporterCanImportFn ##### --> -<para> - -</para> - -@ii: -@closure: -@Returns: - -<!-- ##### USER_FUNCTION EvolutionIntelligentImporterImportDataFn ##### --> -<para> - -</para> - -@ii: -@closure: - -<!-- ##### STRUCT EvolutionIntelligentImporterPrivate ##### --> -<para> - -</para> - - -<!-- ##### TYPEDEF GNOME_Evolution_DataServer_Config ##### --> -<para> - -</para> - - -<!-- ##### MACRO GNOME_Evolution_DataServer_Config_IMETHODS_LEN ##### --> -<para> - -</para> - - -<!-- ##### VARIABLE GNOME_Evolution_DataServer_Config__classid ##### --> -<para> - -</para> - - -<!-- ##### MACRO GNOME_Evolution_DataServer_Config__freekids ##### --> -<para> - -</para> - - -<!-- ##### MACRO GNOME_Evolution_DataServer_Config__imethods ##### --> -<para> - -</para> - - -<!-- ##### TYPEDEF GNOME_Evolution_DataServer_InterfaceCheck ##### --> -<para> - -</para> - - -<!-- ##### MACRO GNOME_Evolution_DataServer_InterfaceCheck_IMETHODS_LEN ##### --> -<para> - -</para> - - -<!-- ##### VARIABLE GNOME_Evolution_DataServer_InterfaceCheck__classid ##### --> -<para> - -</para> - - -<!-- ##### MACRO GNOME_Evolution_DataServer_InterfaceCheck__freekids ##### --> -<para> - -</para> - - -<!-- ##### FUNCTION GNOME_Evolution_DataServer_InterfaceCheck__get_interfaceVersion ##### --> -<para> - -</para> - -@_obj: -@ev: -@Returns: - -<!-- ##### ENUM GNOME_Evolution_DataServer_InterfaceCheck__imethods_index ##### --> -<para> - -</para> - -@GNOME_Evolution_DataServer_InterfaceCheck__get_interfaceVersion__imethods_index: - -<!-- ##### MACRO GNOME_Evolution_DataServer_InterfaceCheck_queryInterface ##### --> -<para> - -</para> - - -<!-- ##### MACRO GNOME_Evolution_DataServer_InterfaceCheck_ref ##### --> -<para> - -</para> - - -<!-- ##### MACRO GNOME_Evolution_DataServer_InterfaceCheck_unref ##### --> -<para> - -</para> - - -<!-- ##### TYPEDEF GNOME_Evolution_DataServer_Logging ##### --> -<para> - -</para> - - -<!-- ##### MACRO GNOME_Evolution_DataServer_Logging_IMETHODS_LEN ##### --> -<para> - -</para> - - -<!-- ##### ENUM GNOME_Evolution_DataServer_Logging_Level ##### --> -<para> - -</para> - -@GNOME_Evolution_DataServer_Logging_Error: -@GNOME_Evolution_DataServer_Logging_Critical: -@GNOME_Evolution_DataServer_Logging_Warning: -@GNOME_Evolution_DataServer_Logging_Message: -@GNOME_Evolution_DataServer_Logging_Info: -@GNOME_Evolution_DataServer_Logging_Debug: - -<!-- ##### TYPEDEF GNOME_Evolution_DataServer_Logging_LogEvent ##### --> -<para> - -</para> - - -<!-- ##### MACRO GNOME_Evolution_DataServer_Logging_LogEvent__alloc ##### --> -<para> - -</para> - - -<!-- ##### MACRO GNOME_Evolution_DataServer_Logging_LogEvent__freekids ##### --> -<para> - -</para> - -@m: -@d: - -<!-- ##### VARIABLE GNOME_Evolution_DataServer_Logging__classid ##### --> -<para> - -</para> - - -<!-- ##### MACRO GNOME_Evolution_DataServer_Logging__freekids ##### --> -<para> - -</para> - - -<!-- ##### MACRO GNOME_Evolution_DataServer_Logging__imethods ##### --> -<para> - -</para> - - -<!-- ##### MACRO GNOME_Evolution_DataServer_Logging_addListener ##### --> -<para> - -</para> - - -<!-- ##### MACRO GNOME_Evolution_DataServer_Logging_addListenerWithMask ##### --> -<para> - -</para> - - -<!-- ##### MACRO GNOME_Evolution_DataServer_Logging_queryInterface ##### --> -<para> - -</para> - - -<!-- ##### MACRO GNOME_Evolution_DataServer_Logging_ref ##### --> -<para> - -</para> - - -<!-- ##### MACRO GNOME_Evolution_DataServer_Logging_removeListener ##### --> -<para> - -</para> - - -<!-- ##### MACRO GNOME_Evolution_DataServer_Logging_unImplemented ##### --> -<para> - -</para> - - -<!-- ##### MACRO GNOME_Evolution_DataServer_Logging_unImplemented2 ##### --> -<para> - -</para> - - -<!-- ##### MACRO GNOME_Evolution_DataServer_Logging_unref ##### --> -<para> - -</para> - - -<!-- ##### MACRO ORBIT_DECL_GNOME_Evolution_DataServer_Config ##### --> -<para> - -</para> - - -<!-- ##### MACRO ORBIT_DECL_GNOME_Evolution_DataServer_InterfaceCheck ##### --> -<para> - -</para> - - -<!-- ##### MACRO ORBIT_DECL_GNOME_Evolution_DataServer_Logging ##### --> -<para> - -</para> - - -<!-- ##### MACRO ORBIT_IDL_SERIAL ##### --> -<para> - -</para> - - -<!-- ##### MACRO ORBIT_IMETHODS_INDEX ##### --> -<para> - -</para> - -@m: - -<!-- ##### STRUCT POA_GNOME_Evolution_DataServer_Config ##### --> -<para> - -</para> - -@_private: -@vepv: - -<!-- ##### STRUCT POA_GNOME_Evolution_DataServer_Config__epv ##### --> -<para> - -</para> - -@_private: - -<!-- ##### FUNCTION POA_GNOME_Evolution_DataServer_Config__fini ##### --> -<para> - -</para> - -@servant: -@ev: - -<!-- ##### FUNCTION POA_GNOME_Evolution_DataServer_Config__init ##### --> -<para> - -</para> - -@servant: -@ev: - -<!-- ##### STRUCT POA_GNOME_Evolution_DataServer_Config__vepv ##### --> -<para> - -</para> - -@_base_epv: -@GNOME_Evolution_DataServer_Config_epv: - -<!-- ##### STRUCT POA_GNOME_Evolution_DataServer_InterfaceCheck ##### --> -<para> - -</para> - -@_private: -@vepv: - -<!-- ##### STRUCT POA_GNOME_Evolution_DataServer_InterfaceCheck__epv ##### --> -<para> - -</para> - -@_private: -@_get_interfaceVersion: - -<!-- ##### FUNCTION POA_GNOME_Evolution_DataServer_InterfaceCheck__fini ##### --> -<para> - -</para> - -@servant: -@ev: - -<!-- ##### FUNCTION POA_GNOME_Evolution_DataServer_InterfaceCheck__init ##### --> -<para> - -</para> - -@servant: -@ev: - -<!-- ##### STRUCT POA_GNOME_Evolution_DataServer_InterfaceCheck__vepv ##### --> -<para> - -</para> - -@_base_epv: -@Bonobo_Unknown_epv: -@GNOME_Evolution_DataServer_InterfaceCheck_epv: - -<!-- ##### STRUCT POA_GNOME_Evolution_DataServer_Logging ##### --> -<para> - -</para> - -@_private: -@vepv: - -<!-- ##### STRUCT POA_GNOME_Evolution_DataServer_Logging__epv ##### --> -<para> - -</para> - -@_private: - -<!-- ##### FUNCTION POA_GNOME_Evolution_DataServer_Logging__fini ##### --> -<para> - -</para> - -@servant: -@ev: - -<!-- ##### FUNCTION POA_GNOME_Evolution_DataServer_Logging__init ##### --> -<para> - -</para> - -@servant: -@ev: - -<!-- ##### STRUCT POA_GNOME_Evolution_DataServer_Logging__vepv ##### --> -<para> - -</para> - -@_base_epv: -@Bonobo_Unknown_epv: -@Bonobo_EventSource_epv: -@GNOME_Evolution_DataServer_Logging_epv: - -<!-- ##### MACRO SWITCHER_FORMAT ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_GNOME_Evolution_DataServer_Config ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_GNOME_Evolution_DataServer_InterfaceCheck ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_GNOME_Evolution_DataServer_Logging ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_GNOME_Evolution_DataServer_Logging_Level ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_GNOME_Evolution_DataServer_Logging_LogEvent ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Config_0 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Config_1 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Config_10 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Config_11 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Config_12 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Config_13 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Config_14 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Config_15 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Config_16 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Config_17 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Config_18 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Config_19 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Config_2 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Config_3 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Config_4 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Config_5 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Config_6 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Config_7 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Config_8 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Config_9 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_InterfaceCheck_0 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_InterfaceCheck_1 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_InterfaceCheck_10 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_InterfaceCheck_11 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_InterfaceCheck_12 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_InterfaceCheck_13 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_InterfaceCheck_14 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_InterfaceCheck_15 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_InterfaceCheck_16 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_InterfaceCheck_17 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_InterfaceCheck_18 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_InterfaceCheck_19 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_InterfaceCheck_2 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_InterfaceCheck_3 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_InterfaceCheck_4 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_InterfaceCheck_5 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_InterfaceCheck_6 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_InterfaceCheck_7 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_InterfaceCheck_8 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_InterfaceCheck_9 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Logging_0 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Logging_1 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Logging_10 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Logging_11 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Logging_12 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Logging_13 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Logging_14 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Logging_15 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Logging_16 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Logging_17 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Logging_18 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Logging_19 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Logging_2 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Logging_3 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Logging_4 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Logging_5 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Logging_6 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Logging_7 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Logging_8 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Logging_9 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Logging_Level_0 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Logging_Level_1 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Logging_Level_10 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Logging_Level_11 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Logging_Level_12 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Logging_Level_13 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Logging_Level_14 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Logging_Level_15 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Logging_Level_16 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Logging_Level_17 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Logging_Level_18 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Logging_Level_19 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Logging_Level_2 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Logging_Level_3 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Logging_Level_4 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Logging_Level_5 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Logging_Level_6 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Logging_Level_7 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Logging_Level_8 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Logging_Level_9 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Logging_LogEvent_0 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Logging_LogEvent_1 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Logging_LogEvent_10 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Logging_LogEvent_11 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Logging_LogEvent_12 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Logging_LogEvent_13 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Logging_LogEvent_14 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Logging_LogEvent_15 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Logging_LogEvent_16 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Logging_LogEvent_17 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Logging_LogEvent_18 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Logging_LogEvent_19 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Logging_LogEvent_2 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Logging_LogEvent_3 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Logging_LogEvent_4 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Logging_LogEvent_5 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Logging_LogEvent_6 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Logging_LogEvent_7 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Logging_LogEvent_8 ##### --> -<para> - -</para> - - -<!-- ##### MACRO TC_IMPL_TC_GNOME_Evolution_DataServer_Logging_LogEvent_9 ##### --> -<para> - -</para> - - -<!-- ##### FUNCTION e_activity_handler_attach_task_bar ##### --> -<para> - -</para> - -@activity_hanlder: -@shell_taskbar: - -<!-- ##### FUNCTION e_activity_handler_cancelable_operation_started ##### --> -<para> - -</para> - -@activity_handler: -@information: -@cancellable: -@cancel_func: -@user_data: -@Returns: - -<!-- ##### FUNCTION e_activity_handler_make_error ##### --> -<para> - -</para> - -@activity_handler: -@error_type: -@error: -@Returns: - -<!-- ##### FUNCTION e_activity_handler_new ##### --> -<para> - -</para> - -@Returns: - -<!-- ##### FUNCTION e_activity_handler_operation_finished ##### --> -<para> - -</para> - -@activity_handler: -@activity_id: - -<!-- ##### FUNCTION e_activity_handler_operation_progressing ##### --> -<para> - -</para> - -@activity_handler: -@activity_id: -@information: -@progress: - -<!-- ##### FUNCTION e_activity_handler_operation_set_error ##### --> -<para> - -</para> - -@activity_handler: -@activity_id: -@error: - -<!-- ##### FUNCTION e_activity_handler_operation_started ##### --> -<para> - -</para> - -@activity_handler: -@information: -@cancellable: -@Returns: - -<!-- ##### FUNCTION e_activity_handler_set_error_flush_time ##### --> -<para> - -</para> - -@handler: -@time: - -<!-- ##### FUNCTION e_activity_handler_set_logger ##### --> -<para> - -</para> - -@handler: -@logger: - -<!-- ##### FUNCTION e_activity_handler_set_message ##### --> -<para> - -</para> - -@activity_handler: -@message: - -<!-- ##### FUNCTION e_activity_handler_unset_message ##### --> -<para> - -</para> - -@activity_handler: - -<!-- ##### FUNCTION e_config_upgrade ##### --> -<para> - -</para> - -@major: -@minor: -@revision: -@Returns: - -<!-- ##### FUNCTION e_shell_marshal_BOOLEAN__STRING ##### --> -<para> - -</para> - -@closure: -@return_value: -@n_param_values: -@param_values: -@invocation_hint: -@marshal_data: - -<!-- ##### MACRO e_shell_marshal_BOOL__STRING ##### --> -<para> - -</para> - - -<!-- ##### FUNCTION e_shell_view_changed ##### --> -<para> - -</para> - -@shell_view: - -<!-- ##### FUNCTION e_shell_view_get_view_instance ##### --> -<para> - -</para> - -@shell_view: -@Returns: - -<!-- ##### FUNCTION e_shell_view_is_selected ##### --> -<para> - -</para> - -@shell_view: -@Returns: - -<!-- ##### FUNCTION e_shell_view_set_view_instance ##### --> -<para> - -</para> - -@shell_view: -@instance: - -<!-- ##### FUNCTION e_shell_window_actions_init ##### --> -<para> - -</para> - -@shell_window: - -<!-- ##### FUNCTION e_shell_window_create_new_menu ##### --> -<para> - -</para> - -@shell_window: -@Returns: - -<!-- ##### FUNCTION e_shell_window_create_switcher_actions ##### --> -<para> - -</para> - -@shell_window: - -<!-- ##### FUNCTION e_shell_window_get_current_view ##### --> -<para> - -</para> - -@shell_window: -@Returns: - -<!-- ##### FUNCTION e_shell_window_get_view ##### --> -<para> - -</para> - -@shell_window: -@view_name: -@Returns: - -<!-- ##### FUNCTION e_shell_window_private_dispose ##### --> -<para> - -</para> - -@shell_window: - -<!-- ##### FUNCTION e_shell_window_private_finalize ##### --> -<para> - -</para> - -@shell_window: - -<!-- ##### FUNCTION e_shell_window_private_init ##### --> -<para> - -</para> - -@shell_window: - -<!-- ##### FUNCTION e_shell_window_set_current_view ##### --> -<para> - -</para> - -@shell_window: -@view_name: - -<!-- ##### FUNCTION e_shell_window_switch_to_view ##### --> -<para> - -</para> - -@shell_window: -@view_name: - -<!-- ##### FUNCTION e_shell_window_update_gal_view_menu ##### --> -<para> - -</para> - -@shell_window: - -<!-- ##### FUNCTION e_shell_window_update_icon ##### --> -<para> - -</para> - -@shell_window: - -<!-- ##### FUNCTION e_shell_window_update_new_menu ##### --> -<para> - -</para> - -@shell_window: - -<!-- ##### FUNCTION e_shell_window_update_title ##### --> -<para> - -</para> - -@shell_window: - -<!-- ##### VARIABLE e_test_shell_view_type ##### --> -<para> - -</para> - - -<!-- ##### FUNCTION es_event_get_type ##### --> -<para> - -</para> - -@Returns: - -<!-- ##### FUNCTION es_event_hook_get_type ##### --> -<para> - -</para> - -@Returns: - -<!-- ##### FUNCTION es_event_peek ##### --> -<para> - -</para> - -@Returns: - -<!-- ##### FUNCTION es_event_target_new ##### --> -<para> - -</para> - -@eme: -@Returns: - -<!-- ##### FUNCTION es_event_target_new_component ##### --> -<para> - -</para> - -@eme: -@id: -@Returns: - -<!-- ##### FUNCTION es_event_target_new_state ##### --> -<para> - -</para> - -@emp: -@state: -@Returns: - -<!-- ##### FUNCTION es_event_target_new_upgrade ##### --> -<para> - -</para> - -@emp: -@major: -@minor: -@revision: -@Returns: - -<!-- ##### ENUM es_event_target_t ##### --> -<para> - -</para> - -@ES_EVENT_TARGET_STATE: -@ES_EVENT_TARGET_UPGRADE: -@ES_EVENT_TARGET_SHELL: -@ES_EVENT_TARGET_COMPONENT: - -<!-- ##### FUNCTION evolution_importer_client_create_control ##### --> -<para> - -</para> - -@client: -@Returns: - -<!-- ##### FUNCTION evolution_importer_client_get_error ##### --> -<para> - -</para> - -@client: -@Returns: - -<!-- ##### FUNCTION evolution_importer_client_load_file ##### --> -<para> - -</para> - -@client: -@filename: -@Returns: - -<!-- ##### FUNCTION evolution_importer_client_new ##### --> -<para> - -</para> - -@objref: -@Returns: - -<!-- ##### FUNCTION evolution_importer_client_new_from_id ##### --> -<para> - -</para> - -@id: -@Returns: - -<!-- ##### FUNCTION evolution_importer_client_process_item ##### --> -<para> - -</para> - -@client: -@listener: - -<!-- ##### FUNCTION evolution_importer_client_support_format ##### --> -<para> - -</para> - -@client: -@filename: -@Returns: - -<!-- ##### FUNCTION evolution_importer_listener_new ##### --> -<para> - -</para> - -@callback: -@closure: -@Returns: - -<!-- ##### FUNCTION evolution_importer_new ##### --> -<para> - -</para> - -@create_control_fn: -@support_format_fn: -@load_file_fn: -@process_item_fn: -@get_error_fn: -@closure: -@Returns: - -<!-- ##### FUNCTION evolution_intelligent_importer_new ##### --> -<para> - -</para> - -@can_import_fn: -@import_data_fn: -@importername: -@message: -@closure: -@Returns: - -<!-- ##### FUNCTION intelligent_importer_init ##### --> +<!-- ##### MACRO E_SHELL_WINDOW_ACTION_GAL_VIEW_MENU ##### --> <para> </para> +@window: diff --git a/shell/e-shell-content.c b/shell/e-shell-content.c index f3685793b7..d331e839c1 100644 --- a/shell/e-shell-content.c +++ b/shell/e-shell-content.c @@ -208,7 +208,6 @@ shell_content_init_search_context (EShellContent *shell_content) { EShellView *shell_view; EShellModule *shell_module; - EShellViewClass *shell_view_class; RuleContext *context; FilterRule *rule; FilterPart *part; @@ -216,8 +215,7 @@ shell_content_init_search_context (EShellContent *shell_content) gchar *user_filename; shell_view = e_shell_content_get_shell_view (shell_content); - shell_view_class = E_SHELL_VIEW_GET_CLASS (shell_view); - shell_module = E_SHELL_MODULE (shell_view_class->type_module); + shell_module = e_shell_view_get_shell_module (shell_view); /* The filename for built-in searches is specified in a * module's EShellModuleInfo. All built-in search rules @@ -254,7 +252,7 @@ shell_content_init_search_context (EShellContent *shell_content) if (part == NULL) g_warning ( "Could not load %s search: no parts", - shell_view_class->type_module->name); + e_shell_view_get_name (shell_view)); else filter_rule_add_part (rule, filter_part_clone (part)); diff --git a/shell/e-shell-content.h b/shell/e-shell-content.h index ae9d0446ab..eab7576af2 100644 --- a/shell/e-shell-content.h +++ b/shell/e-shell-content.h @@ -18,6 +18,12 @@ * Boston, MA 02110-1301, USA. */ +/** + * SECTION: e-shell-content + * @short_description: the right side of the main window + * @include: shell/e-shell-content.h + **/ + #ifndef E_SHELL_CONTENT_H #define E_SHELL_CONTENT_H @@ -53,6 +59,12 @@ typedef struct _EShellContent EShellContent; typedef struct _EShellContentClass EShellContentClass; typedef struct _EShellContentPrivate EShellContentPrivate; +/** + * EShellContent: + * + * Contains only private data that should be read and manipulated using the + * functions below. + **/ struct _EShellContent { GtkBin parent; EShellContentPrivate *priv; diff --git a/shell/e-shell-module.c b/shell/e-shell-module.c index 1fdee61426..6c7829f160 100644 --- a/shell/e-shell-module.c +++ b/shell/e-shell-module.c @@ -403,6 +403,18 @@ e_shell_module_get_filename (EShellModule *shell_module) return shell_module->priv->filename; } +/** + * e_shell_module_get_searches: + * @shell_module: an #EShellModule + * + * Returns the base name of the XML file containing predefined search + * rules for @shell_module. The XML files are usually named something + * like <filename><emphasis>module</emphasis>types.xml</filename>. + * + * XXX This function is likely to change or disappear. + * + * Returns: the base name of the XML filter file + **/ const gchar * e_shell_module_get_searches (EShellModule *shell_module) { @@ -444,6 +456,21 @@ e_shell_module_add_activity (EShellModule *shell_module, g_signal_emit (shell_module, signals[ACTIVITY_ADDED], 0, activity); } +/** + * e_shell_module_is_busy: + * @shell_module: an #EShellModule + * + * Returns %TRUE if @shell_module is busy and cannot be shutdown at + * present. Each module must define what "busy" means to them and + * determine an appropriate response. + * + * XXX This function is likely to change or disappear. I'm toying with + * the idea of just having it check whether there are any unfinished + * #EActivity<!-- -->'s left, so we have a consistent and easily + * testable definition of what "busy" means. + * + * Returns: %TRUE if the module is busy + **/ gboolean e_shell_module_is_busy (EShellModule *shell_module) { @@ -459,6 +486,22 @@ e_shell_module_is_busy (EShellModule *shell_module) return FALSE; } +/** + * e_shell_module_shutdown: + * @shell_module: an #EShellModule + * + * Alerts @shell_module to begin shutdown procedures. If the module is + * busy and cannot immediately shut down, the function returns %FALSE. + * A %TRUE response implies @shell_module has successfully shut down. + * + * XXX This function is likely to change or disappear. I'm toying with + * the idea of just having it check whether there are any unfinished + * #EActivity<!-- -->'s left, so we have a consistent and easily + * testable definition of what "busy" means. + * + * Returns: %TRUE if the module has shut down, %FALSE if the module is + * busy and cannot immediately shut down + */ gboolean e_shell_module_shutdown (EShellModule *shell_module) { diff --git a/shell/e-shell-module.h b/shell/e-shell-module.h index b28b2f048a..4c4a45f957 100644 --- a/shell/e-shell-module.h +++ b/shell/e-shell-module.h @@ -18,6 +18,12 @@ * Boston, MA 02110-1301, USA. */ +/** + * SECTION: e-shell-module + * @short_description: dynamically loaded capabilities + * @include: shell/e-shell-module.h + **/ + #ifndef E_SHELL_MODULE_H #define E_SHELL_MODULE_H @@ -89,6 +95,12 @@ struct _EShellModuleInfo { gboolean (*shutdown) (EShellModule *shell_module); }; +/** + * EShellModule: + * + * Contains only private data that should be read and manipulated using the + * functions below. + **/ struct _EShellModule { GTypeModule parent; EShellModulePrivate *priv; diff --git a/shell/e-shell-sidebar.h b/shell/e-shell-sidebar.h index 7bc26e965b..b9463c2b13 100644 --- a/shell/e-shell-sidebar.h +++ b/shell/e-shell-sidebar.h @@ -18,6 +18,12 @@ * Boston, MA 02110-1301, USA. */ +/** + * SECTION: e-shell-sidebar + * @short_description: the left side of the main window + * @include: shell/e-shell-sidebar.h + **/ + #ifndef E_SHELL_SIDEBAR_H #define E_SHELL_SIDEBAR_H @@ -51,6 +57,12 @@ typedef struct _EShellSidebar EShellSidebar; typedef struct _EShellSidebarClass EShellSidebarClass; typedef struct _EShellSidebarPrivate EShellSidebarPrivate; +/** + * EShellSidebar: + * + * Contains only private data that should be read and manipulated using the + * functions below. + **/ struct _EShellSidebar { GtkBin parent; EShellSidebarPrivate *priv; diff --git a/shell/e-shell-switcher.c b/shell/e-shell-switcher.c index 2910e1d0a0..cbf283dc52 100644 --- a/shell/e-shell-switcher.c +++ b/shell/e-shell-switcher.c @@ -649,6 +649,18 @@ e_shell_switcher_unset_style (EShellSwitcher *switcher) switcher->priv->style_set = FALSE; } +/** + * e_shell_switcher_get_visible: + * @switcher: an #EShellSwitcher + * + * Returns %TRUE if the switcher buttons are visible. + * + * Note that switcher button visibility is different than + * @switcher<!-- -->'s GTK_VISIBLE flag, since #EShellSwitcher + * is actually a container widget for #EShellSidebar. + * + * Returns: %TRUE if the switcher buttons are visible + **/ gboolean e_shell_switcher_get_visible (EShellSwitcher *switcher) { @@ -657,6 +669,16 @@ e_shell_switcher_get_visible (EShellSwitcher *switcher) return switcher->priv->toolbar_visible; } +/** + * e_shell_switcher_set_visible: + * @switcher: an #EShellSwitcher + * + * Sets the switcher button visiblity to @visible. + * + * Note that switcher button visibility is different than + * @switcher<!-- -->'s GTK_VISIBLE flag, since #EShellSwitcher + * is actually a container widget for #EShellSidebar. + **/ void e_shell_switcher_set_visible (EShellSwitcher *switcher, gboolean visible) diff --git a/shell/e-shell-switcher.h b/shell/e-shell-switcher.h index 499372f81e..2fbd7e6dae 100644 --- a/shell/e-shell-switcher.h +++ b/shell/e-shell-switcher.h @@ -18,6 +18,12 @@ * Boston, MA 02110-1301, USA. */ +/** + * SECTION: e-shell-switcher + * @short_description: buttons for switching views + * @include: shell/e-shell-switcher.h + **/ + #ifndef E_SHELL_SWITCHER_H #define E_SHELL_SWITCHER_H @@ -50,6 +56,12 @@ typedef struct _EShellSwitcher EShellSwitcher; typedef struct _EShellSwitcherClass EShellSwitcherClass; typedef struct _EShellSwitcherPrivate EShellSwitcherPrivate; +/** + * EShellSwitcher: + * + * Contains only private data that should be read and manipulated using the + * functions below. + **/ struct _EShellSwitcher { GtkBin parent; EShellSwitcherPrivate *priv; diff --git a/shell/e-shell-taskbar.c b/shell/e-shell-taskbar.c index 3e5824f910..24ce2c9994 100644 --- a/shell/e-shell-taskbar.c +++ b/shell/e-shell-taskbar.c @@ -198,14 +198,12 @@ static void shell_taskbar_constructed (GObject *object) { EShellView *shell_view; - EShellViewClass *shell_view_class; - EShellTaskbar *shell_taskbar; EShellModule *shell_module; + EShellTaskbar *shell_taskbar; shell_taskbar = E_SHELL_TASKBAR (object); shell_view = e_shell_taskbar_get_shell_view (shell_taskbar); - shell_view_class = E_SHELL_VIEW_GET_CLASS (shell_view); - shell_module = E_SHELL_MODULE (shell_view_class->type_module); + shell_module = e_shell_view_get_shell_module (shell_view); g_signal_connect_swapped ( shell_module, "activity-added", diff --git a/shell/e-shell-taskbar.h b/shell/e-shell-taskbar.h index 466750dd77..7cbab96a43 100644 --- a/shell/e-shell-taskbar.h +++ b/shell/e-shell-taskbar.h @@ -18,6 +18,12 @@ * Boston, MA 02110-1301, USA. */ +/** + * SECTION: e-shell-taskbar + * @short_description: the bottom of the main window + * @include: shell/e-shell-taskbar.h + **/ + #ifndef E_SHELL_TASKBAR_H #define E_SHELL_TASKBAR_H @@ -51,6 +57,12 @@ typedef struct _EShellTaskbar EShellTaskbar; typedef struct _EShellTaskbarClass EShellTaskbarClass; typedef struct _EShellTaskbarPrivate EShellTaskbarPrivate; +/** + * EShellTaskbar: + * + * Contains only private data that should be read and manipulated using the + * functions below. + **/ struct _EShellTaskbar { GtkHBox parent; EShellTaskbarPrivate *priv; diff --git a/shell/e-shell-view.c b/shell/e-shell-view.c index ab1039b0e5..9273376f2d 100644 --- a/shell/e-shell-view.c +++ b/shell/e-shell-view.c @@ -458,7 +458,7 @@ shell_view_class_init (EShellViewClass *class) g_param_spec_string ( "view-id", _("Current View ID"), - _("The current view ID"), + _("The current GAL view ID"), NULL, G_PARAM_READWRITE)); @@ -602,6 +602,22 @@ e_shell_view_get_shell_window (EShellView *shell_view) return E_SHELL_WINDOW (shell_view->priv->shell_window); } +EShellModule * +e_shell_view_get_shell_module (EShellView *shell_view) +{ + EShellViewClass *shell_view_class; + + g_return_val_if_fail (E_IS_SHELL_VIEW (shell_view), NULL); + + /* Calling this function during the shell view's instance + * initialization function will return the wrong result, + * so catch that and emit a warning. */ + shell_view_class = E_SHELL_VIEW_GET_CLASS (shell_view); + g_return_val_if_fail (E_IS_SHELL_VIEW_CLASS (shell_view_class), NULL); + + return E_SHELL_MODULE (shell_view_class->type_module); +} + gboolean e_shell_view_is_active (EShellView *shell_view) { @@ -618,14 +634,12 @@ void e_shell_view_add_activity (EShellView *shell_view, EActivity *activity) { - EShellViewClass *shell_view_class; EShellModule *shell_module; g_return_if_fail (E_IS_SHELL_VIEW (shell_view)); g_return_if_fail (E_IS_ACTIVITY (activity)); - shell_view_class = E_SHELL_VIEW_GET_CLASS (shell_view); - shell_module = E_SHELL_MODULE (shell_view_class->type_module); + shell_module = e_shell_view_get_shell_module (shell_view); e_shell_module_add_activity (shell_module, activity); } diff --git a/shell/e-shell-view.h b/shell/e-shell-view.h index 7998326329..f9f027d0bb 100644 --- a/shell/e-shell-view.h +++ b/shell/e-shell-view.h @@ -19,11 +19,18 @@ * Boston, MA 02110-1301, USA. */ +/** + * SECTION: e-shell-view + * @short_description: views within the main window + * @include: shell/e-shell-view.h + **/ + #ifndef E_SHELL_VIEW_H #define E_SHELL_VIEW_H #include <shell/e-shell-common.h> #include <shell/e-shell-content.h> +#include <shell/e-shell-module.h> #include <shell/e-shell-sidebar.h> #include <shell/e-shell-taskbar.h> #include <shell/e-shell-window.h> @@ -56,6 +63,12 @@ typedef struct _EShellView EShellView; typedef struct _EShellViewClass EShellViewClass; typedef struct _EShellViewPrivate EShellViewPrivate; +/** + * EShellView: + * + * Contains only private data that should be read and manipulated using the + * functions below. + **/ struct _EShellView { GObject parent; EShellViewPrivate *priv; @@ -71,7 +84,7 @@ struct _EShellViewClass { /* Base name of the UI definition file. */ const gchar *ui_definition; - /* Path to the search entry popup menu. */ + /* Widget path to the search entry popup menu. */ const gchar *search_options; /* Subclasses should set this via the "class_data" field in @@ -109,6 +122,7 @@ EShellContent * e_shell_view_get_shell_content (EShellView *shell_view); EShellSidebar * e_shell_view_get_shell_sidebar (EShellView *shell_view); EShellTaskbar * e_shell_view_get_shell_taskbar (EShellView *shell_view); EShellWindow * e_shell_view_get_shell_window (EShellView *shell_view); +EShellModule * e_shell_view_get_shell_module (EShellView *shell_view); void e_shell_view_update_actions (EShellView *shell_view); void e_shell_view_show_popup_menu (EShellView *shell_view, const gchar *widget_path, diff --git a/shell/e-shell-window-actions.c b/shell/e-shell-window-actions.c index ab403c31dc..c13204942e 100644 --- a/shell/e-shell-window-actions.c +++ b/shell/e-shell-window-actions.c @@ -40,12 +40,12 @@ /* Authors and Documenters * - * The names below must be in UTF8. The breaking of escaped strings + * The names below must be in UTF-8. The breaking of escaped strings * is so the hexadecimal sequences don't swallow too many characters. * * SO THAT MEANS, FOR 8-BIT CHARACTERS USE \xXX HEX ENCODING ONLY! * - * Not all environments are UTF8 and not all editors can handle it. + * Not all environments are UTF-8 and not all editors can handle it. */ static const gchar *authors[] = { "Aaron Weber", @@ -623,6 +623,14 @@ static const gchar *documenters[] = { NULL }; +/** + * E_SHELL_WINDOW_ACTION_ABOUT: + * @window: an #EShellWindow + * + * Activation of this action displays the application's About dialog. + * + * Main menu item: Help -> About + **/ static void action_about_cb (GtkAction *action, EShellWindow *shell_window) @@ -651,6 +659,15 @@ action_about_cb (GtkAction *action, NULL); } +/** + * E_SHELL_WINDOW_ACTION_CLOSE: + * @window: an #EShellWindow + * + * Activation of this action closes @window. If this is the last window, + * the application initiates shutdown. + * + * Main menu item: File -> Close + **/ static void action_close_cb (GtkAction *action, EShellWindow *shell_window) @@ -666,6 +683,14 @@ action_close_cb (GtkAction *action, gdk_event_free (event); } +/** + * E_SHELL_WINDOW_ACTION_CONTENTS: + * @window: an #EShellWindow + * + * Activation of this action opens the application's user manual. + * + * Main menu item: Help -> Contents + **/ static void action_contents_cb (GtkAction *action, EShellWindow *shell_window) @@ -696,6 +721,15 @@ action_custom_rule_cb (GtkAction *action, gtk_action_activate (ACTION (SEARCH_EXECUTE)); } +/** + * E_SHELL_WINDOW_ACTION_FAQ: + * @window: an #EShellWindow + * + * Activation of this action opens a web page with answers to frequently + * asked questions about this application. + * + * Main menu item: Help -> Evolution FAQ + **/ static void action_faq_cb (GtkAction *action, EShellWindow *shell_window) @@ -711,6 +745,14 @@ action_faq_cb (GtkAction *action, } } +/** + * E_SHELL_WINDOW_ACTION_FORGET_PASSWORDS: + * @window: an #EShellWindow + * + * Activation of this action deletes all stored passwords. + * + * Main menu item: File -> Forget Passwords + **/ static void action_forget_passwords_cb (GtkAction *action, EShellWindow *shell_window) @@ -724,6 +766,15 @@ action_forget_passwords_cb (GtkAction *action, e_passwords_forget_passwords (); } +/** + * E_SHELL_WINDOW_ACTION_GAL_DEFINE_VIEWS: + * @window: an #EShellWindow + * + * Activation of this action opens a dialog for editing GAL views for + * the current shell view. + * + * Main menu item: View -> Current View -> Define Views... + **/ static void action_gal_define_views_cb (GtkAction *action, EShellWindow *shell_window) @@ -748,6 +799,15 @@ action_gal_define_views_cb (GtkAction *action, e_shell_window_update_view_menu (shell_window); } +/** + * E_SHELL_WINDOW_ACTION_GAL_CUSTOM_VIEW: + * @window: an #EShellWindow + * + * This radio action is selected when using a custom GAL view that has + * not been saved. + * + * Main menu item: View -> Current View -> Custom View + **/ static void action_gal_view_cb (GtkRadioAction *action, GtkRadioAction *current, @@ -763,6 +823,23 @@ action_gal_view_cb (GtkRadioAction *action, e_shell_view_set_view_id (shell_view, view_id); } +/** + * E_SHELL_WINDOW_ACTION_GAL_SAVE_CUSTOM_VIEW: + * @window: an #EShellWindow + * + * Activation of this action saves a custom GAL view. + * + * Main menu item: View -> Current View -> Save Custom View... + **/ + +/** + * E_SHELL_WINDOW_ACTION_IMPORT: + * @window: an #EShellWindow + * + * Activation of this action opens the Evolution Import Assistant. + * + * Main menu item: File -> Import... + **/ static void action_import_cb (GtkAction *action, EShellWindow *shell_window) @@ -770,6 +847,14 @@ action_import_cb (GtkAction *action, e_shell_importer_start_import (shell_window); } +/** + * E_SHELL_WINDOW_ACTION_NEW_WINDOW: + * @window: an #EShellWindow + * + * Activation of this action opens a new shell window. + * + * Main menu item: File -> New Window + **/ static void action_new_window_cb (GtkAction *action, EShellWindow *shell_window) @@ -780,6 +865,14 @@ action_new_window_cb (GtkAction *action, e_shell_create_window (shell); } +/** + * E_SHELL_WINDOW_ACTION_PAGE_SETUP: + * @window: an #EShellWindow + * + * Activation of this action opens the application's Page Setup dialog. + * + * Main menu item: File -> Page Setup... + **/ static void action_page_setup_cb (GtkAction *action, EShellWindow *shell_window) @@ -787,6 +880,14 @@ action_page_setup_cb (GtkAction *action, e_print_run_page_setup_dialog (GTK_WINDOW (shell_window)); } +/** + * E_SHELL_WINDOW_ACTION_PREFERENCES: + * @window: an #EShellWindow + * + * Activation of this action opens the application's Preferences window. + * + * Main menu item: Edit -> Preferences + **/ static void action_preferences_cb (GtkAction *action, EShellWindow *shell_window) @@ -805,6 +906,15 @@ action_preferences_cb (GtkAction *action, /* FIXME Switch to a page appropriate for the current view. */ } +/** + * E_SHELL_WINDOW_ACTION_QUICK_REFERENCE: + * @window: an #EShellWindow + * + * Activation of this action opens a printable table of useful shortcut + * keys for this application. + * + * Main menu item: Help -> Quick Reference + **/ static void action_quick_reference_cb (GtkAction *action, EShellWindow *shell_window) @@ -850,6 +960,14 @@ action_quick_reference_cb (GtkAction *action, } } +/** + * E_SHELL_WINDOW_ACTION_QUIT: + * @window: an #EShellWindow + * + * Activation of this action initiates application shutdown. + * + * Main menu item: File -> Quit + **/ static void action_quit_cb (GtkAction *action, EShellWindow *shell_window) @@ -860,6 +978,14 @@ action_quit_cb (GtkAction *action, e_shell_quit (shell); } +/** + * E_SHELL_WINDOW_ACTION_SEARCH_ADVANCED: + * @window: an #EShellWindow + * + * Activation of this action opens an Advanced Search dialog. + * + * Main menu item: Search -> Advanced Search... + **/ static void action_search_advanced_cb (GtkAction *action, EShellWindow *shell_window) @@ -876,6 +1002,14 @@ action_search_advanced_cb (GtkAction *action, e_shell_window_update_search_menu (shell_window); } +/** + * E_SHELL_WINDOW_ACTION_SEARCH_CLEAR: + * @window: an #EShellWindow + * + * Activation of this action clears the most recent search results. + * + * Main menu item: Search -> Clear + **/ static void action_search_clear_cb (GtkAction *action, EShellWindow *shell_window) @@ -896,6 +1030,14 @@ action_search_clear_cb (GtkAction *action, e_shell_window_update_search_menu (shell_window); } +/** + * E_SHELL_WINDOW_ACTION_SEARCH_EDIT: + * @window: an #EShellWindow + * + * Activation of this action opens a dialog for editing saved searches. + * + * Main menu item: Search -> Edit Saved Searches... + **/ static void action_search_edit_cb (GtkAction *action, EShellWindow *shell_window) @@ -912,6 +1054,22 @@ action_search_edit_cb (GtkAction *action, e_shell_window_update_search_menu (shell_window); } +/** + * E_SHELL_WINDOW_ACTION_SEARCH_EXECUTE: + * @window: an #EShellWindow + * + * Activation of this action executes the current search conditions. + * + * Main menu item: Search -> Find Now + **/ + +/** + * E_SHELL_WINDOW_ACTION_SEARCH_OPTIONS: + * @window: an #EShellWindow + * + * Activation of this action displays a menu of search options. + * This appears as a "find" icon in the window's search entry. + **/ static void action_search_options_cb (GtkAction *action, EShellWindow *shell_window) @@ -929,6 +1087,14 @@ action_search_options_cb (GtkAction *action, e_shell_view_show_popup_menu (shell_view, widget_path, NULL); } +/** + * E_SHELL_WINDOW_ACTION_SEARCH_SAVE: + * @window: an #EShellWindow + * + * Activation of this action saves the current search conditions. + * + * Main menu item: Search -> Save Search... + **/ static void action_search_save_cb (GtkAction *action, EShellWindow *shell_window) @@ -945,6 +1111,14 @@ action_search_save_cb (GtkAction *action, e_shell_window_update_search_menu (shell_window); } +/** + * E_SHELL_WINDOW_ACTION_SEND_RECEIVE: + * @window: an #EShellWindow + * + * Activation of this action opens the Send & Receive Mail dialog. + * + * Main menu item: File -> Send / Receive + **/ static void action_send_receive_cb (GtkAction *action, EShellWindow *shell_window) @@ -955,6 +1129,14 @@ action_send_receive_cb (GtkAction *action, e_shell_send_receive (shell, GTK_WINDOW (shell_window)); } +/** + * E_SHELL_WINDOW_ACTION_SHOW_SIDEBAR: + * @window: an #EShellWindow + * + * This toggle action controls whether the side bar is visible. + * + * Main menu item: View -> Layout -> Show Side Bar + **/ static void action_show_sidebar_cb (GtkToggleAction *action, EShellWindow *shell_window) @@ -970,6 +1152,14 @@ action_show_sidebar_cb (GtkToggleAction *action, g_object_set (widget, "visible", active, NULL); } +/** + * E_SHELL_WINDOW_ACTION_SHOW_STATUSBAR: + * @window: an #EShellWindow + * + * This toggle action controls whether the status bar is visible. + * + * Main menu item: View -> Layout -> Show Status Bar + **/ static void action_show_statusbar_cb (GtkToggleAction *action, EShellWindow *shell_window) @@ -982,6 +1172,14 @@ action_show_statusbar_cb (GtkToggleAction *action, g_object_set (widget, "visible", active, NULL); } +/** + * E_SHELL_WINDOW_ACTION_SHOW_SWITCHER: + * @window: an #EShellWindow + * + * This toggle action controls whether the switcher buttons are visible. + * + * Main menu item: View -> Switcher Appearance -> Show Buttons + **/ static void action_show_switcher_cb (GtkToggleAction *action, EShellWindow *shell_window) @@ -994,6 +1192,14 @@ action_show_switcher_cb (GtkToggleAction *action, e_shell_switcher_set_visible (switcher, active); } +/** + * E_SHELL_WINDOW_ACTION_SHOW_TOOLBAR: + * @window: an #EShellWindow + * + * This toggle action controls whether the tool bar is visible. + * + * Main menu item: View -> Layout -> Show Tool Bar + **/ static void action_show_toolbar_cb (GtkToggleAction *action, EShellWindow *shell_window) @@ -1006,6 +1212,15 @@ action_show_toolbar_cb (GtkToggleAction *action, g_object_set (widget, "visible", active, NULL); } +/** + * E_SHELL_WINDOW_ACTION_SUBMIT_BUG: + * @window: an #EShellWindow + * + * Activation of this action allows users to report a bug using + * Bug Buddy. + * + * Main menu item: Help -> Submit Bug Report + **/ static void action_submit_bug_cb (GtkAction *action, EShellWindow *shell_window) @@ -1041,6 +1256,42 @@ action_switcher_cb (GtkRadioAction *action, e_shell_window_switch_to_view (shell_window, view_name); } +/** + * E_SHELL_WINDOW_ACTION_SWITCHER_STYLE_BOTH: + * @window: an #EShellWindow + * + * This radio action displays switcher buttons with icons and text. + * + * Main menu item: View -> Switcher Appearance -> Icons and Text + **/ + +/** + * E_SHELL_WINDOW_ACTION_SWITCHER_STYLE_ICONS: + * @window: an #EShellWindow + * + * This radio action displays switcher buttons with icons only. + * + * Main menu item: View -> Switcher Appearance -> Icons Only + **/ + +/** + * E_SHELL_WINDOW_ACTION_SWITCHER_STYLE_TEXT: + * @window: an #EShellWindow + * + * This radio action displays switcher buttons with text only. + * + * Main menu item: View -> Switcher Appearance -> Text Only + **/ + +/** + * E_SHELL_WINDOW_ACTION_SWITCHER_STYLE_USER: + * @window: an #EShellWindow + * + * This radio action displays switcher buttons according to the desktop + * toolbar setting. + * + * Main menu item: View -> Switcher Appearance -> Toolbar Style + **/ static void action_switcher_style_cb (GtkRadioAction *action, GtkRadioAction *current, @@ -1066,6 +1317,14 @@ action_switcher_style_cb (GtkRadioAction *action, } } +/** + * E_SHELL_WINDOW_ACTION_SYNC_OPTIONS: + * @window: an #EShellWindow + * + * Activation of this action opens the Gnome Pilot settings. + * + * Main menu item: Edit -> Synchronization Options... + **/ static void action_sync_options_cb (GtkAction *action, EShellWindow *shell_window) @@ -1090,6 +1349,14 @@ action_sync_options_cb (GtkAction *action, } } +/** + * E_SHELL_WINDOW_ACTION_WORK_OFFLINE: + * @window: an #EShellWindow + * + * Activation of this action puts the application into offline mode. + * + * Main menu item: File -> Work Offline + **/ static void action_work_offline_cb (GtkAction *action, EShellWindow *shell_window) @@ -1100,6 +1367,14 @@ action_work_offline_cb (GtkAction *action, e_shell_set_line_status (shell, E_SHELL_LINE_STATUS_OFFLINE); } +/** + * E_SHELL_WINDOW_ACTION_WORK_ONLINE: + * @window: an #EShellWindow + * + * Activation of this action puts the application into online mode. + * + * Main menu item: File -> Work Online + **/ static void action_work_online_cb (GtkAction *action, EShellWindow *shell_window) @@ -1110,6 +1385,36 @@ action_work_online_cb (GtkAction *action, e_shell_set_line_status (shell, E_SHELL_LINE_STATUS_ONLINE); } +/** + * E_SHELL_WINDOW_ACTION_GROUP_CUSTOM_RULES: + * @window: an #EShellWindow + **/ + +/** + * E_SHELL_WINDOW_ACTION_GROUP_GAL_VIEW: + * @window: an #EShellWindow + **/ + +/** + * E_SHELL_WINDOW_ACTION_GROUP_NEW_ITEM: + * @window: an #EShellWindow + **/ + +/** + * E_SHELL_WINDOW_ACTION_GROUP_NEW_SOURCE: + * @window: an #EShellWindow + **/ + +/** + * E_SHELL_WINDOW_ACTION_GROUP_SHELL: + * @window: an #EShellWindow + **/ + +/** + * E_SHELL_WINDOW_ACTION_GROUP_SWITCHER: + * @window: an #EShellWindow + **/ + static GtkActionEntry shell_entries[] = { { "about", @@ -1360,7 +1665,7 @@ static GtkToggleActionEntry shell_toggle_entries[] = { { "show-toolbar", NULL, - N_("Show _Toolbar"), + N_("Show _Tool Bar"), NULL, N_("Show the toolbar"), G_CALLBACK (action_show_toolbar_cb), diff --git a/shell/e-shell-window-actions.h b/shell/e-shell-window-actions.h index 858c8541ce..b3858ad55c 100644 --- a/shell/e-shell-window-actions.h +++ b/shell/e-shell-window-actions.h @@ -32,6 +32,8 @@ E_SHELL_WINDOW_ACTION ((window), "about") #define E_SHELL_WINDOW_ACTION_CLOSE(window) \ E_SHELL_WINDOW_ACTION ((window), "close") +#define E_SHELL_WINDOW_ACTION_CONTENTS(window) \ + E_SHELL_WINDOW_ACTION ((window), "contents") #define E_SHELL_WINDOW_ACTION_FAQ(window) \ E_SHELL_WINDOW_ACTION ((window), "faq") #define E_SHELL_WINDOW_ACTION_FORGET_PASSWORDS(window) \ @@ -42,8 +44,6 @@ E_SHELL_WINDOW_ACTION ((window), "gal-define-views") #define E_SHELL_WINDOW_ACTION_GAL_SAVE_CUSTOM_VIEW(window) \ E_SHELL_WINDOW_ACTION ((window), "gal-save-custom-view") -#define E_SHELL_WINDOW_ACTION_GAL_VIEW_MENU(window) \ - E_SHELL_WINDOW_ACTION ((window), "gal-view-menu") #define E_SHELL_WINDOW_ACTION_IMPORT(window) \ E_SHELL_WINDOW_ACTION ((window), "import") #define E_SHELL_WINDOW_ACTION_NEW_WINDOW(window) \ @@ -80,8 +80,14 @@ E_SHELL_WINDOW_ACTION ((window), "show-toolbar") #define E_SHELL_WINDOW_ACTION_SUBMIT_BUG(window) \ E_SHELL_WINDOW_ACTION ((window), "submit-bug") +#define E_SHELL_WINDOW_ACTION_SWITCHER_STYLE_BOTH(window) \ + E_SHELL_WINDOW_ACTION ((window), "switcher-style-both") #define E_SHELL_WINDOW_ACTION_SWITCHER_STYLE_ICONS(window) \ E_SHELL_WINDOW_ACTION ((window), "switcher-style-icons") +#define E_SHELL_WINDOW_ACTION_SWITCHER_STYLE_TEXT(window) \ + E_SHELL_WINDOW_ACTION ((window), "switcher-style-text") +#define E_SHELL_WINDOW_ACTION_SWITCHER_STYLE_USER(window) \ + E_SHELL_WINDOW_ACTION ((window), "switcher-style-user") #define E_SHELL_WINDOW_ACTION_SYNC_OPTIONS(window) \ E_SHELL_WINDOW_ACTION ((window), "sync-options") #define E_SHELL_WINDOW_ACTION_WORK_OFFLINE(window) \ @@ -100,7 +106,7 @@ E_SHELL_WINDOW_ACTION_GROUP ((window), "new-source") #define E_SHELL_WINDOW_ACTION_GROUP_SHELL(window) \ E_SHELL_WINDOW_ACTION_GROUP ((window), "shell") -#define E_SHELL_WINDOW_ACTION_GROUP_SHELL_VIEW(window) \ - E_SHELL_WINDOW_ACTION_GROUP ((window), "shell-view") +#define E_SHELL_WINDOW_ACTION_GROUP_SWITCHER(window) \ + E_SHELL_WINDOW_ACTION_GROUP ((window), "switcher") #endif /* E_SHELL_WINDOW_ACTIONS_H */ diff --git a/shell/e-shell-window-private.c b/shell/e-shell-window-private.c index 6836e07fa8..aa24a6ca7a 100644 --- a/shell/e-shell-window-private.c +++ b/shell/e-shell-window-private.c @@ -407,7 +407,6 @@ e_shell_window_switch_to_view (EShellWindow *shell_window, { GtkNotebook *notebook; EShellView *shell_view; - GList *list; gint page_num; shell_view = e_shell_window_get_shell_view (shell_window, view_name); diff --git a/shell/e-shell-window.h b/shell/e-shell-window.h index 8ad69a7e65..ac584475a3 100644 --- a/shell/e-shell-window.h +++ b/shell/e-shell-window.h @@ -21,6 +21,12 @@ * */ +/** + * SECTION: e-shell-window + * @short_description: the main window + * @include: shell/e-shell-window.h + **/ + #ifndef E_SHELL_WINDOW_H #define E_SHELL_WINDOW_H @@ -51,6 +57,12 @@ typedef struct _EShellWindow EShellWindow; typedef struct _EShellWindowClass EShellWindowClass; typedef struct _EShellWindowPrivate EShellWindowPrivate; +/** + * EShellWindow: + * + * Contains only private data that should be read and manipulated using the + * functions below. + **/ struct _EShellWindow { GtkWindow parent; EShellWindowPrivate *priv; diff --git a/shell/e-shell.h b/shell/e-shell.h index 5b804b3f4a..544872a554 100644 --- a/shell/e-shell.h +++ b/shell/e-shell.h @@ -20,6 +20,12 @@ * */ +/** + * SECTION: e-shell + * @short_description: the backbone of Evolution + * @include: shell/e-shell.h + **/ + #ifndef E_SHELL_H #define E_SHELL_H @@ -53,6 +59,12 @@ typedef struct _EShellPrivate EShellPrivate; typedef enum _EShellLineStatus EShellLineStatus; +/** + * EShell: + * + * Contains only private data that should be read and manipulated using the + * functions below. + **/ struct _EShell { GObject parent; EShellPrivate *priv; |