From c66ce91f684e02545b6d930c228d9239066f4c0f Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Thu, 15 Apr 2004 02:14:35 +0000 Subject: rip out tons of functions - they all live in addressbook-view.c now. the 2004-04-14 Chris Toshok * gui/component/addressbook.c: rip out tons of functions - they all live in addressbook-view.c now. the only thing left in this file is the addressbook_load* calls that do authentication. * gui/component/addressbook.h: remove prototypes for addressbook_new_control and addressbook_load_uri (it was #if 0'ed anyway.) * gui/component/addressbook-component.h: remove prototypes for _peek_activity_handler and _peek_source_list. * gui/component/addressbook-component.c: rip out tons of functions - they all live in addressbook-view.c now. (impl_createControls): simplify this immensely. we just create an AddressbookView and get the various widgets/controls from it. (impl_requestCreateItem): this function loses slightly - it needs per-window info (the selected source) but there's no way to get it. So we load the default book. Also, this uses a synchronous e_book call to load the book, which is not good. (addressbook_component_peek_source_list): nuke, not used by anything anyway. (addressbook_component_peek_activity_handler): nuked, not used by anything - and it's per-window anyway. * gui/component/Makefile.am (libevolution_addressbook_la_SOURCES): add addressbook-view.[ch]. * gui/component/addressbook-view.[ch]: rip out all of the per window stuff from addressbook.[ch] and addressbook-component.[ch] and put it here. svn path=/trunk/; revision=25471 --- addressbook/gui/component/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) (limited to 'addressbook/gui/component/Makefile.am') diff --git a/addressbook/gui/component/Makefile.am b/addressbook/gui/component/Makefile.am index 5bd4d381e4..48f27f96c8 100644 --- a/addressbook/gui/component/Makefile.am +++ b/addressbook/gui/component/Makefile.am @@ -35,6 +35,8 @@ libevolution_addressbook_la_SOURCES = \ autocompletion-config.h \ addressbook.c \ addressbook.h \ + addressbook-view.c \ + addressbook-view.h \ component-factory.c # $(top_builddir)/addressbook/printing/libecontactprint.la -- cgit v1.2.3