Commit Graph

323 Commits

Author SHA1 Message Date
e201c2da23 Add an icon to the "Print contacts" menu item.
svn path=/trunk/; revision=4638
2000-08-09 05:55:53 +00:00
3a7d6735fb Put the print menu item in the right placeholder for consistency.
svn path=/trunk/; revision=4636
2000-08-09 05:47:27 +00:00
44628427f8 Changed e_popup_menu_run call to match the new arguments.
2000-08-09  Christopher James Lahey  <clahey@helixcode.com>

	* gui/component/addressbook.c, gui/minicard/e-minicard.c: Changed
	e_popup_menu_run call to match the new arguments.

	* gui/component/addressbook.oafinfo: Fixed this file to work
	properly.

	* gui/minicard/e-minicard-control.c: Use the correct oafinfo ID
	here.  Also cleaned up the code a bit with the help of Michael
	Meeks.

svn path=/trunk/; revision=4627
2000-08-09 05:13:35 +00:00
37f85438b2 use x-evolution-any-field.
2000-08-08  Chris Toshok  <toshok@helixcode.com>

	* gui/component/e-addressbook-model.c (e_addressbook_model_init):
	use x-evolution-any-field.

	* gui/component/addressbook.c (search_entry_activated): use
	x-evolution-any-field.
	(change_view_type): same.

	* gui/minicard/e-minicard-view.c (e_minicard_view_init): set query
	to x-evolution-any-field.

	* backend/pas/pas-backend-ldap.c (func_contains): support
	x-evolution-any-field for matching any evolution supported field.

	* backend/pas/pas-backend-file.c (compare_email): switch to using
	ECardSimple calls.
	(compare_phone): same.
	(compare_address): same.
	(entry_compare): switch to using ECardSimple calls, and support a
	'x-evolution-any-field' wildcard field.
	(vcard_matches_search): use an ECardSimple.

svn path=/trunk/; revision=4626
2000-08-09 05:12:19 +00:00
5428d055d1 Removed the next and prev toolbar buttons since they don't do anything.
2000-08-07  Christopher James Lahey  <clahey@helixcode.com>

	* contact-editor/e-contact-editor.c: Removed the next and prev
	toolbar buttons since they don't do anything.

svn path=/trunk/; revision=4586
2000-08-07 22:19:10 +00:00
22381481e9 Fixed the tab order to not repeat the web page address field.
2000-08-07  Christopher James Lahey  <clahey@helixcode.com>

	* contact-editor/contact-editor.glade,
	contact-editor/e-contact-editor.c: Fixed the tab order to not
	repeat the web page address field.

svn path=/trunk/; revision=4583
2000-08-07 20:39:03 +00:00
03baf85a6a Fixed the tab order for this dialog.
2000-08-07  Christopher James Lahey  <clahey@helixcode.com>

	* contact-editor/e-contact-editor.c: Fixed the tab order for this
	dialog.

svn path=/trunk/; revision=4581
2000-08-07 20:21:41 +00:00
94d742f9f3 Fixed a warning.
2000-08-05  Christopher James Lahey  <clahey@helixcode.com>

	* backend/ebook/e-card-simple.c: Fixed a warning.

	* backend/ebook/e-card.c: Cast to (char *) in
	e_card_load_cards_from_file since libversit isn't const correct.

	* backend/pas/pas-backend-file.c: Fixed a warning.

svn path=/trunk/; revision=4543
2000-08-05 05:15:45 +00:00
623b1de43d Everywhere unref the remote_uih having done a set_container.
svn path=/trunk/; revision=4524
2000-08-04 03:09:01 +00:00
c1634ed107 Emit "model_pre_change" signal as appropriate.
2000-08-02  Christopher James Lahey  <clahey@helixcode.com>

	* contact-editor/e-contact-editor-categories.c,
	gui/component/e-addressbook-model.c: Emit "model_pre_change"
	signal as appropriate.

svn path=/trunk/; revision=4473
2000-08-02 16:58:20 +00:00
48726e6209 Adapted this to supply the new append_row API of ETableModel.
2000-08-02  Christopher James Lahey  <clahey@helixcode.com>

	* gui/component/e-addressbook-model.c: Adapted this to supply the
	new append_row API of ETableModel.

svn path=/trunk/; revision=4469
2000-08-02 10:45:09 +00:00
27c8642444 Changed the default set of columns.
2000-07-31  Christopher James Lahey  <clahey@helixcode.com>

	* gui/component/addressbook.c: Changed the default set of columns.

svn path=/trunk/; revision=4441
2000-07-31 22:33:07 +00:00
94bc9ecd27 Added load-gnomecard-addressbook compilation.
2000-07-29  Christopher James Lahey  <clahey@helixcode.com>

	* backend/ebook/Makefile.am: Added load-gnomecard-addressbook
	compilation.

	* backend/ebook/e-card.c, backend/ebook/e-card.h: Added
	e_card_load_cards_from_file helper function to load multiple cards
	from a single file.

	* backend/ebook/load-gnomecard-addressbook.c: New file to load
	vcard files.  I think this is the format that gnomecard uses so if
	you copy your gnomecard file to gnomecard.vcf and then run this
	program in the same directory, it'll copy all your gnome contacts
	into evolution.  It needs to be changed to take a filename as a
	parameter.  Some fields (phone and address information, for
	example) aren't displayed properly, but are saved.  This is new
	code, so some other than phone and address may be lost.

svn path=/trunk/; revision=4414
2000-07-29 15:04:56 +00:00
6b69bd22e3 Make sure the LDAP backend files get distributed even if OpenLDAP
support is not enabled.

svn path=/trunk/; revision=4401
2000-07-27 23:16:07 +00:00
e52cd76bd6 flesh out ifdef'ed out code. need to write merge_ecard_with_remote_record.
svn path=/trunk/; revision=4383
2000-07-27 10:40:42 +00:00
6ba6d540ca add handling for phone labels, going either direction (from pilot and to pilot.)
svn path=/trunk/; revision=4382
2000-07-27 09:53:08 +00:00
8fffa05e0f Changed the URI to load to.
2000-07-27  Christopher James Lahey  <clahey@helixcode.com>

	* backend/ebook/load-pine-addressbook.c: Changed the URI to load
	to.

svn path=/trunk/; revision=4381
2000-07-27 08:46:50 +00:00
324c39e2cc remove double free
svn path=/trunk/; revision=4379
2000-07-27 08:26:16 +00:00
b918516053 bug fixes
svn path=/trunk/; revision=4378
2000-07-27 08:17:48 +00:00
d7a6fa8103 more work on addressbook syncer
svn path=/trunk/; revision=4377
2000-07-27 04:20:11 +00:00
f77aa7aff8 Fixed a warning.
2000-07-26  Christopher James Lahey  <clahey@helixcode.com>

	* gui/minicard/e-minicard-widget-test.c: Fixed a warning.

svn path=/trunk/; revision=4375
2000-07-27 01:38:01 +00:00
aacf3c5927 wait to free the view until we've taken care of freeing its internals.
2000-07-26  Chris Toshok  <toshok@helixcode.com>

	* backend/pas/pas-backend-ldap.c (view_destroy): wait to free the
	view until we've taken care of freeing its internals.  also, close
	the ldap connection here.
	(pas_backend_ldap_connect): rename p_b_l_ensure_connected to this,
	since it's always called when we create a view.
	(pas_backend_ldap_build_all_cards_list): open an ldap connection
	in this function and close it at the end.
	(poll_ldap): make sure to call ldap_unbind to close the view's
	connection here.
	(pas_backend_ldap_search): call pas_backend_ldap_connect here -
	ldap_unbind will either be called from poll_ldap or from
	view_destroy.
	(pas_backend_ldap_get_vcard): the PASBackendLDAP no longer has an
	LDAP*.

svn path=/trunk/; revision=4369
2000-07-26 21:19:25 +00:00
305f2fe002 add support for user settable scope. (pas_backend_ldap_search): same.
2000-07-26  Chris Toshok  <toshok@helixcode.com>

	* backend/pas/pas-backend-ldap.c
	(pas_backend_ldap_build_all_cards_list): add support for user settable scope.
	(pas_backend_ldap_search): same.
	(pas_backend_ldap_load_uri): same.

svn path=/trunk/; revision=4360
2000-07-26 19:48:35 +00:00
365ff1ed49 lowercasify the supported_mime_types
* gui/component/addressbook.oafinfo: lowercasify the
	supported_mime_types

svn path=/trunk/; revision=4342
2000-07-26 03:57:52 +00:00
270ca5fae4 add enum for e-card pilot status.
2000-07-25  Chris Toshok  <toshok@helixcode.com>

	* backend/ebook/e-card-types.h: add enum for e-card pilot status.

	* conduit/address-conduit.c: #ifdef out all the archiving code with SUPPORT_ARCHIVING.
	(purge): implement correctly - deleting ecards whose pilot status is DELETED.
	(set_status): implement.
	(set_pilot_id): add gtk_main call here to change commit_card into a synchronous
	(delete_all): implement correctly - don't delete the records, just set their status to DELETED.
	(local_record_from_ecard): get the current status from the ecard.

	* backend/ebook/e-card.c (e_card_get_vcard): add vcard support for pilot status.
	(parse_pilot_status): new function.
	(e_card_class_init): add pilot status object arg.
	(e_card_set_arg): add pilot status support.
	(e_card_get_arg): same.
	(e_card_init): initialize pilot_status to 0.

svn path=/trunk/; revision=4340
2000-07-26 00:05:34 +00:00
2993a5c0e8 add comment headers to signals that didn't have any.
2000-07-25  Chris Toshok  <toshok@helixcode.com>

	* conduit/address-conduit.c: add comment headers to signals that
	didn't have any.

svn path=/trunk/; revision=4338
2000-07-25 23:02:18 +00:00
d80824e786 use the user's Contact db. not toshok's.
2000-07-25  Chris Toshok  <toshok@helixcode.com>

	* conduit/address-conduit.c (start_address_server): use the user's
	Contact db.  not toshok's.

svn path=/trunk/; revision=4337
2000-07-25 22:33:13 +00:00
fc661fb23a add textual exception printout. (set_editor_text): close pre tags & check
2000-07-25  Michael Meeks  <michael@helixcode.com>

	* e-msg-composer.c (get_text): add textual exception printout.
	(set_editor_text): close pre tags & check for pre-existing
	sig separator.

2000-07-25  Michael Meeks  <michael@helixcode.com>

	* mail-config.c (create_identity_page): set default signature to
	~/.signature

2000-07-25  Michael Meeks  <michael@helixcode.com>

	* backend/ebook/load-pine-addressbook.c (book_open_cb): check we
	opened ok.

svn path=/trunk/; revision=4330
2000-07-25 21:14:58 +00:00
be392a4414 build static versions of some util libraries for the conduit to link with
svn path=/trunk/; revision=4320
2000-07-25 19:20:32 +00:00
38a5ff75a7 Added a #define for "X-EVOLUTION-PILOTID". Added a parse_pilot_id to read
2000-07-25  Christopher James Lahey  <clahey@helixcode.com>

	* backend/ebook/e-card.c: Added a #define for
	"X-EVOLUTION-PILOTID".  Added a parse_pilot_id to read pilot id's
	in properly from VCards.  Rearranged some field orders.  Added a
	get_arg case for ARG_PILOTID.  Initialize pilot_id field to 0.

svn path=/trunk/; revision=4310
2000-07-25 07:37:44 +00:00
f2aca892ee add pilot_id.
2000-07-24  Chris Toshok  <toshok@helixcode.com>

	* backend/ebook/e-card.h: add pilot_id.

	* backend/ebook/e-card.c (e_card_get_vcard): add support for
	X-EVOLUTION-PILOTD vcard field.
	(e_card_class_init): add pilot_id arg.
	(e_card_set_arg): handle pilot_id arg.

svn path=/trunk/; revision=4307
2000-07-25 03:19:48 +00:00
d449524969 more stuff. too much to use a changelog for.
svn path=/trunk/; revision=4306
2000-07-25 03:16:15 +00:00
6095a95133 Remove the idle handler when we're destroyed.
2000-07-23  Christopher James Lahey  <clahey@helixcode.com>

	* backend/ebook/e-book-view-listener.c: Remove the idle handler
	when we're destroyed.

	* printing/e-contact-print.c: Fixed the spacing on the card
	header.

svn path=/trunk/; revision=4287
2000-07-23 20:34:03 +00:00
8ab3421936 Fixed the oaf info.
2000-07-20  Christopher James Lahey  <clahey@helixcode.com>

	* gui/component/addressbook.oafinfo: Fixed the oaf info.

	* gui/minicard/.cvsignore, gui/minicard/Makefile.am,
	gui/minicard/e-minicard-widget-test.c: Added a test for the
	minicard widget.

	* gui/minicard/e-minicard-control.c: Fixed the mime type.

	* gui/minicard/e-minicard.c: Fixed some crashes if your parent
	isn't a minicard view.

	* gui/minicard/e-minicard-control.oafinfo: Removed.

svn path=/trunk/; revision=4249
2000-07-20 20:59:36 +00:00
782d8a198c Update the components to match the changes in the libeshell API.
svn path=/trunk/; revision=4242
2000-07-20 17:26:19 +00:00
c5cc7b0d9f Added the Turkish desktop entry
svn path=/trunk/; revision=4228
2000-07-19 22:00:02 +00:00
647bfab1a3 Added "text/vCard" to the list of mime types we support.
2000-07-18  Christopher James Lahey  <clahey@helixcode.com>

	* gui/minicard/e-minicard-control.c: Added "text/vCard" to the
	list of mime types we support.

svn path=/trunk/; revision=4212
2000-07-18 10:32:10 +00:00
5ec9ba9eea Added gui/minicard/e-minicard-control.c,
2000-07-18  Christopher James Lahey  <clahey@helixcode.com>

	* gui/minicard/Makefile.am: Added
	gui/minicard/e-minicard-control.c,
	gui/minicard/e-minicard-control.h,
	gui/minicard/e-minicard-widget.c, and
	gui/minicard/e-minicard-widget.h.

	* gui/minicard/e-minicard-control.c,
	gui/minicard/e-minicard-control.h,
	gui/minicard/e-minicard-widget.c,
	gui/minicard/e-minicard-widget.h: Got these to compile.

	* gui/minicard/e-minicard-control.gnorba,
	gui/minicard/e-minicard-control.oafinfo: Copied directly from
	bonobo-clock-control.  These aren't done yet.

svn path=/trunk/; revision=4211
2000-07-18 10:29:52 +00:00
32a10931a9 New files for using a minicard as a widget or a bonobo control.
2000-07-18  Christopher James Lahey  <clahey@helixcode.com>

	* gui/minicard/e-minicard-control.c,
	gui/minicard/e-minicard-control.h,
	gui/minicard/e-minicard-widget.c,
	gui/minicard/e-minicard-widget.h: New files for using a minicard
	as a widget or a bonobo control.

svn path=/trunk/; revision=4209
2000-07-18 09:43:36 +00:00
210cb985b1 a building but non-functional address conduit
svn path=/trunk/; revision=4174
2000-07-15 02:19:49 +00:00
b443bfde5c duh. don't save the port in the host slot either.
2000-07-14  Chris Toshok  <toshok@helixcode.com>

	* gui/component/e-ldap-storage.c (ldap_server_foreach): duh.
	don't save the port in the host slot either.

svn path=/trunk/; revision=4172
2000-07-15 00:39:01 +00:00
e85b969715 Added these.
2000-07-13  Christopher James Lahey  <clahey@helixcode.com>

	* contact-editor/e-contact-editor-confirm-delete.glade,
	contact-editor/e-contact-editor-confirm-delete.glade.h: Added
	these.

svn path=/trunk/; revision=4153
2000-07-13 19:48:29 +00:00
a5fc85f2f4 Switched the order of compilation of printing and contact-editor.
2000-07-13  Christopher James Lahey  <clahey@helixcode.com>

	* Makefile.am: Switched the order of compilation of printing and
	contact-editor.

	* contact-editor/Makefile.am: Added printing libraries and a
	confirm delete dialog glade file.

	* contact-editor/e-contact-editor.c,
	contact-editor/e-contact-editor.h: Enabled the delete and print
	functions as well as providing a confirm delete dialog to the
	outside world.

	* gui/component/addressbook.c: Made the delete button on new cards
	active.

	* gui/minicard/Makefile.am: Added printing libraries to a number
	of test programs.

	* gui/minicard/e-minicard.c: Added print and delete to the right
	click menu.  Made the delete button on the card editor active.

	* printing/e-contact-print.c, printing/e-contact-print.h: Added a
	function to print a single card.

svn path=/trunk/; revision=4151
2000-07-13 19:22:42 +00:00
0b66e8a93b oops. fix typo that was saving the port in the rootdn spot.
2000-07-12  Chris Toshok  <toshok@helixcode.com>

	* gui/component/e-ldap-storage.c (ldap_server_foreach): oops.  fix
	typo that was saving the port in the rootdn spot.
	(save_ldap_data): make this a bit safer - writing to a new file
	and renaming it.
	(load_ldap_data): make this a bit smarter - if parsing the
	ldapservers.xml file fails and there's a .new file there,
	rename it.

svn path=/trunk/; revision=4131
2000-07-13 00:15:44 +00:00
5e764dcac9 From addressbook/ChangeLog:
2000-07-12  Christopher James Lahey  <clahey@helixcode.com>

	* backend/pas/pas-backend-file.c: Do case insensitive compares.

	* addressbook/gui/component/addressbook.c: Make quick search
	search both name and company name.

From camel/ChangeLog:

2000-07-12  Christopher James Lahey  <clahey@helixcode.com>

	* camel-folder-search.c, providers/imap/camel-imap-store.c:
	Changed from strstrcase to e_strstrcase.

	* string-utils.c, string-utils.h: Removed strstrcase (in favor of
	e_strstrcase in e-util/e-util.c.)

From e-util/ChangeLog:

2000-07-12  Christopher James Lahey  <clahey@helixcode.com>

	* e-util.c, e-util.h: Added e_strstrcase function.

svn path=/trunk/; revision=4127
2000-07-12 22:59:25 +00:00
6e8da6b223 Add icons to the toolbars.
2000-07-12  Christopher James Lahey  <clahey@helixcode.com>

	* contact-editor/e-contact-editor.c: Add icons to the toolbars.

svn path=/trunk/; revision=4125
2000-07-12 22:03:32 +00:00
8429138315 Added installation of arrow.png.
2000-07-12  Christopher James Lahey  <clahey@helixcode.com>

	* contact-editor/Makefile.am: Added installation of arrow.png.

	* contact-editor/e-contact-editor.c: Use EVOLUTIONDIR #define.

svn path=/trunk/; revision=4124
2000-07-12 21:57:31 +00:00
83ea15c72f Removed an unused function
2000-07-11  Christopher James Lahey  <clahey@helixcode.com>

	* gui/component/addressbook.c: Removed an unused function

svn path=/trunk/; revision=4103
2000-07-12 01:17:10 +00:00
cc233e954b Add the OAF stuff to `EXTRA_DIST'.
svn path=/trunk/; revision=4080
2000-07-11 00:36:45 +00:00
b5f73eba49 add idl file to EXTRA_DIST
* gui/component/select-names/Makefile.am (EXTRA_DIST): add idl
	file to EXTRA_DIST

svn path=/trunk/; revision=4069
2000-07-10 23:26:11 +00:00