aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/component/e-book-shell-sidebar.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-05-07 20:06:09 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-05-07 20:06:09 +0800
commit84080821d62db3358fcaee4adfc24782ed7d4318 (patch)
tree5ea85fa01632d055e41ea45a71906067d5030528 /addressbook/gui/component/e-book-shell-sidebar.c
parentcaa862135195b828d2e8355436fdd6eb0ec2443e (diff)
downloadgsoc2013-evolution-84080821d62db3358fcaee4adfc24782ed7d4318.tar.gz
gsoc2013-evolution-84080821d62db3358fcaee4adfc24782ed7d4318.tar.zst
gsoc2013-evolution-84080821d62db3358fcaee4adfc24782ed7d4318.zip
Adapt addressbook to EShellBackend changes.
Builds, but not tested. Use as a reference for other backends.
Diffstat (limited to 'addressbook/gui/component/e-book-shell-sidebar.c')
-rw-r--r--addressbook/gui/component/e-book-shell-sidebar.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/addressbook/gui/component/e-book-shell-sidebar.c b/addressbook/gui/component/e-book-shell-sidebar.c
index d7e121e110..fc45f3367c 100644
--- a/addressbook/gui/component/e-book-shell-sidebar.c
+++ b/addressbook/gui/component/e-book-shell-sidebar.c
@@ -25,7 +25,7 @@
#include <glib/gi18n.h>
#include "e-book-shell-view.h"
-#include "e-book-shell-module.h"
+#include "e-book-shell-backend.h"
#include "e-addressbook-selector.h"
#define E_BOOK_SHELL_SIDEBAR_GET_PRIVATE(obj) \
@@ -81,9 +81,9 @@ book_shell_sidebar_constructed (GObject *object)
{
EBookShellSidebarPrivate *priv;
EShellView *shell_view;
- EShellModule *shell_module;
+ EShellBackend *shell_backend;
EShellSidebar *shell_sidebar;
- EBookShellModule *book_shell_module;
+ EBookShellBackend *book_shell_backend;
ESourceList *source_list;
GtkContainer *container;
GtkWidget *widget;
@@ -95,9 +95,9 @@ book_shell_sidebar_constructed (GObject *object)
shell_sidebar = E_SHELL_SIDEBAR (object);
shell_view = e_shell_sidebar_get_shell_view (shell_sidebar);
- shell_module = e_shell_view_get_shell_module (shell_view);
- book_shell_module = E_BOOK_SHELL_MODULE (shell_module);
- source_list = e_book_shell_module_get_source_list (book_shell_module);
+ shell_backend = e_shell_view_get_shell_backend (shell_view);
+ book_shell_backend = E_BOOK_SHELL_BACKEND (shell_backend);
+ source_list = e_book_shell_backend_get_source_list (book_shell_backend);
container = GTK_CONTAINER (shell_sidebar);