diff options
Diffstat (limited to 'addressbook/gui/component/e-book-shell-view.c')
-rw-r--r-- | addressbook/gui/component/e-book-shell-view.c | 24 |
1 files changed, 3 insertions, 21 deletions
diff --git a/addressbook/gui/component/e-book-shell-view.c b/addressbook/gui/component/e-book-shell-view.c index e383e8bb7b..218a0e9929 100644 --- a/addressbook/gui/component/e-book-shell-view.c +++ b/addressbook/gui/component/e-book-shell-view.c @@ -172,32 +172,14 @@ static void book_shell_view_constructed (GObject *object) { EBookShellView *book_shell_view; - EShellContent *shell_content; - EShellSidebar *shell_sidebar; - EShellTaskbar *shell_taskbar; - EShellView *shell_view; - GtkWidget *widget; - /* Chain up to parent's constructed() method. */ - G_OBJECT_CLASS (parent_class)->constructed (object); - - shell_view = E_SHELL_VIEW (object); book_shell_view = E_BOOK_SHELL_VIEW (object); - widget = book_shell_view->priv->notebook; - shell_content = e_shell_view_get_content (shell_view); - gtk_container_add (GTK_CONTAINER (shell_content), widget); - - widget = book_shell_view->priv->scrolled_window; - shell_sidebar = e_shell_view_get_sidebar (shell_view); - gtk_container_add (GTK_CONTAINER (shell_sidebar), widget); - - shell_taskbar = e_shell_view_get_taskbar (shell_view); - e_activity_handler_attach_task_bar ( - book_shell_view->priv->activity_handler, shell_taskbar); - e_book_shell_view_actions_init (book_shell_view); e_book_shell_view_update_search_filter (book_shell_view); + + /* Chain up to parent's constructed() method. */ + G_OBJECT_CLASS (parent_class)->constructed (object); } static void |