diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-05-07 19:21:57 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-05-07 19:21:57 +0800 |
commit | caa862135195b828d2e8355436fdd6eb0ec2443e (patch) | |
tree | 40198708ccf89ca4246c7da11a718fa5cc39de52 /shell/e-shell-content.c | |
parent | 19b29348068e367efc105732e9707cdb4132b4ee (diff) | |
download | gsoc2013-evolution-caa862135195b828d2e8355436fdd6eb0ec2443e.tar.gz gsoc2013-evolution-caa862135195b828d2e8355436fdd6eb0ec2443e.tar.zst gsoc2013-evolution-caa862135195b828d2e8355436fdd6eb0ec2443e.zip |
Convert EShellModule to EShellBackend
Split the GTypeModule loader out of EShellModule as EModule, and rename
EShellModule to EShellBackend. Backends (formerly modules) should now
subclass EShellBackend.
This commit converts EShell but breaks all the shell backends.
Diffstat (limited to 'shell/e-shell-content.c')
-rw-r--r-- | shell/e-shell-content.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/shell/e-shell-content.c b/shell/e-shell-content.c index e83bb341ef..ff344ae986 100644 --- a/shell/e-shell-content.c +++ b/shell/e-shell-content.c @@ -27,7 +27,7 @@ #include <widgets/misc/e-action-combo-box.h> #include <widgets/misc/e-icon-entry.h> -#include <e-shell-module.h> +#include <e-shell-backend.h> #include <e-shell-view.h> #include <e-shell-window-actions.h> @@ -209,7 +209,7 @@ shell_content_init_search_context (EShellContent *shell_content) EShellContentClass *shell_content_class; EShellView *shell_view; EShellViewClass *shell_view_class; - EShellModule *shell_module; + EShellBackend *shell_backend; RuleContext *context; FilterRule *rule; FilterPart *part; @@ -217,7 +217,7 @@ shell_content_init_search_context (EShellContent *shell_content) gchar *user_filename; shell_view = e_shell_content_get_shell_view (shell_content); - shell_module = e_shell_view_get_shell_module (shell_view); + shell_backend = e_shell_view_get_shell_backend (shell_view); shell_view_class = E_SHELL_VIEW_GET_CLASS (shell_view); g_return_if_fail (shell_view_class->search_rules != NULL); @@ -231,9 +231,9 @@ shell_content_init_search_context (EShellContent *shell_content) EVOLUTION_RULEDIR, shell_view_class->search_rules, NULL); /* The filename for custom saved searches is always of - * the form "$(shell_module_data_dir)/searches.xml". */ + * the form "$(shell_backend_data_dir)/searches.xml". */ user_filename = g_build_filename ( - e_shell_module_get_data_dir (shell_module), + e_shell_backend_get_data_dir (shell_backend), "searches.xml", NULL); context = shell_content_class->new_search_context (); |