Commit Graph

199 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
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
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
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
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
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
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
eb5bdfafc9 Get rid of the ESelectNames test menu entry.
svn path=/trunk/; revision=4044
2000-07-10 19:27:47 +00:00
2e13a65565 Fix the address entry box for more than one address being specified
svn path=/trunk/; revision=4037
2000-07-10 15:42:14 +00:00
570fb78135 Switched from ETable to ETableScrolled.
2000-07-09  Christopher James Lahey  <clahey@helixcode.com>

	* gui/component/addressbook.c,
	gui/component/select-names/e-select-names.c,
	gui/component/select-names/e-select-names.h: Switched from ETable
	to ETableScrolled.

	* addressbook/gui/minicard/e-minicard.c: Don't display mailer or
	"name or org" fields.

svn path=/trunk/; revision=4035
2000-07-10 11:05:01 +00:00
36c3c3cf93 Added a field that gives the name if it exists and the company name
2000-07-09  Christopher James Lahey  <clahey@helixcode.com>

	* backend/ebook/e-card-simple.c, backend/ebook/e-card-simple.h:
	Added a field that gives the name if it exists and the company
	name otherwise.

	* gui/component/e-addressbook-model.c: Formatting changes.

	* gui/component/select-names/e-select-names-table-model.c: Added
	stripping of names and display of company name if name doesn't
	exist.

	* gui/component/select-names/e-select-names.c: Fixed up the
	display so that we display both name and email address.

svn path=/trunk/; revision=4020
2000-07-09 16:03:39 +00:00
4ac82c14c8 Fixed a small off by one error that was causing an extra character to get
2000-07-09  Christopher James Lahey  <clahey@helixcode.com>

	* gui/component/select-names/e-select-names-model.c: Fixed a small
	off by one error that was causing an extra character to get
	deleted sometimes.

svn path=/trunk/; revision=4016
2000-07-09 14:43:25 +00:00
af3c0ca939 Several contacts list bugfixes.
svn path=/trunk/; revision=4008
2000-07-09 11:54:25 +00:00
abd6ce3b53 Removed unused do_nothing_cb function.
2000-07-09  Christopher James Lahey  <clahey@helixcode.com>

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

	* gui/component/select-names/e-select-names-manager.c,
	gui/component/select-names/e-select-names-manager.h: Made the OK
	and Cancel buttons in the ESelectNames dialog we create work
	properly.

	* gui/component/select-names/e-select-names-model.c,
	gui/component/select-names/e-select-names-model.h: Added
	e_select_names_model_duplicate.

	* gui/component/select-names/e-select-names-text-model.c: Made the
	text be set correctly if there's already data in the source when
	the text model is created.

	* gui/component/select-names/e-select-names.c,
	gui/component/select-names/e-select-names.h: Removed handling of
	the buttons (the user of this dialog will have to handle them.)
	Added e_select_names_get_source.  Fixed some typos.

svn path=/trunk/; revision=4007
2000-07-09 10:42:20 +00:00
972b2fc3bb Link the toolbar print button to the print callback.
2000-07-09  Not Zed  <NotZed@HelixCode.com>

        * gui/component/addressbook.c: Link the toolbar print button to
        the print callback.

svn path=/trunk/; revision=4000
2000-07-09 03:25:42 +00:00
0ff0d8a67a Hitting OK or Cancel at least closes the dialog now.
2000-07-08  Christopher James Lahey  <clahey@helixcode.com>

	* gui/component/select-names/e-select-names.c
	(e_select_names_clicked): Hitting OK or Cancel at least closes the
	dialog now.

svn path=/trunk/; revision=3993
2000-07-09 02:03:26 +00:00
49288ba256 Set the returned entry to use the ellipsis.
2000-07-08  Christopher James Lahey  <clahey@helixcode.com>

	* gui/component/select-names/e-select-names-manager.c
	(e_select_names_manager_create_entry): Set the returned entry to
	use the ellipsis.

svn path=/trunk/; revision=3992
2000-07-09 01:57:23 +00:00
a451a634c2 Include e-select-names-factory.h.
2000-07-08  Christopher James Lahey  <clahey@helixcode.com>

	* gui/component/addressbook-factory.c: Include
	e-select-names-factory.h.

	* gui/component/select-names/e-select-names-model.c: Handle a NULL
	iterator properly in the replace function.

	* gui/component/select-names/e-select-names-table-model.c: Fill in
	info properly in the value_at function.

	* gui/component/select-names/e-select-names-text-model.c: Don't
	strlen a NULL text object.

	* gui/component/select-names/e-select-names.c: Close if the person
	hits ok or cancel (doesn't yet actually undo changes if Cancel is
	hit.)  Handle removing addresses when they're double clicked on.

	* gui/component/select-names/select-names.glade,
	gui/component/select-names/select-names.glade.h: Hid some unused
	fields and changed the text at the top of the dialog.

svn path=/trunk/; revision=3989
2000-07-09 01:24:53 +00:00
f8eb467f48 Ignore dynamically created source files
2000-07-08  Jeffrey Stedfast  <fejj@helixcode.com>

	* gui/component/select-names/.cvsignore: Ignore dynamically
	created source files

svn path=/trunk/; revision=3980
2000-07-08 21:09:19 +00:00
f1b8cb078f Added code for initializing the values of the fields in the message
composer.  Unfortunately the ESelectNames crashes when you do this...

svn path=/trunk/; revision=3975
2000-07-08 12:01:12 +00:00
baad423775 Wrap the ESelectNames stuff into a Bonobo interface, so that we can
call it from the message composer in evolution-mail.  The Bonobo
interface is physically implemented in evolution-addressbook.

svn path=/trunk/; revision=3972
2000-07-08 08:29:07 +00:00
04c9a5189d Added an "editable" argument.
2000-07-08  Christopher James Lahey  <clahey@helixcode.com>

	* gui/component/e-addressbook-model.c,
	gui/component/e-addressbook-model.h: Added an "editable" argument.

	* gui/component/select-names/e-select-names.c: Set our
	EAddressModel to not be editable.

svn path=/trunk/; revision=3969
2000-07-08 05:21:06 +00:00
d1550ea22f Changed to line mode.
2000-07-07  Christopher James Lahey  <clahey@helixcode.com>

	* gui/component/select-names/e-select-names.c: Changed to line
	mode.

svn path=/trunk/; revision=3968
2000-07-07 23:23:40 +00:00
5e793d76f4 Implemented the get_cards function.
2000-07-07  Christopher James Lahey  <clahey@helixcode.com>

	* gui/component/select-names/e-select-names-manager.c,
	gui/component/select-names/e-select-names-model.c: Implemented the
	get_cards function.

	* gui/component/select-names/e-select-names.c: Implemented adding
	cards through the interface.

svn path=/trunk/; revision=3966
2000-07-07 23:18:12 +00:00
cf61f7c4dd Make the entry widgets we create editable.
2000-07-07  Christopher James Lahey  <clahey@helixcode.com>

	* gui/component/select-names/e-select-names-manager.c: Make the
	entry widgets we create editable.

	* gui/component/select-names/e-select-names-model.c: Use
	e_strsplit instead of g_strsplit.  Fixed an off by 1 error.

	* gui/component/select-names/e-select-names-table-model.c: When
	the model changes, send a model changed signal.

	* gui/component/select-names/e-select-names-text-model.c: Made
	changing this work correctly if it's empty.  Made change signals
	propagate properly.  Is a bit better about freeing iterators when
	done.

	* gui/component/select-names/e-select-names.c: Made the finished
	lists be in order instead of being sorted.

svn path=/trunk/; revision=3955
2000-07-07 18:37:43 +00:00
661cc2d0ef Since ELDAPServer->port is a char *, allocate a string with the number 389
2000-07-07  Christopher James Lahey  <clahey@helixcode.com>

	* gui/component/addressbook.c (new_server_cb): Since
	ELDAPServer->port is a char *, allocate a string with the number
	389 contained.

	* gui/component/addressbook.c: Make the select names test test the
	new code instead of the old way of getting to an ESelectNames
	dialog.

	* gui/component/select-names/e-select-names-manager.c: Coded
	storing the model for each section, creating an entry and
	returning it, and for activating the dialog.  Wrote a bit of the
	get_cards code, but not all of it.

	* gui/component/select-names/e-select-names-model.c,
	gui/component/select-names/e-select-names-model.h: Coded all of
	the code needed to make ESelectNamesTextModel work (it doesn't
	yet, but all the code should be there.)  Removed
	E_SELECT_NAMES_MODEL_DATA_TYPE_SEPARATION_MATERIAL.

	* gui/component/select-names/e-select-names-table-model.c,
	gui/component/select-names/e-select-names-text-model.c: Changed
	these to compensate for removal of
	E_SELECT_NAMES_MODEL_DATA_TYPE_SEPARATION_MATERIAL.

	* gui/component/select-names/e-select-names-table-model.h,
	gui/component/select-names/e-select-names-text-model.h: Fixed some
	silly typos.

	* gui/component/select-names/e-select-names.c,
	gui/component/select-names/e-select-names.h: Added a parameter to
	add_section that lets you specify the source ESelectNamesModel.

svn path=/trunk/; revision=3948
2000-07-07 16:14:27 +00:00
b292770082 add scope to ELDAPServer, and make port a string.
2000-07-06  Chris Toshok  <toshok@helixcode.com>

	* gui/component/e-ldap-storage.h: add scope to ELDAPServer, and
	make port a string.

	* gui/component/e-ldap-storage.c (load_ldap_data): don't load a
	uri, load all the bits and pieces and build up the uri when
	creating the folder, according to the openldap url format.
	(ldap_server_foreach): store out each of the individual uri
	pieces.
	(e_ldap_storage_remove_server): free the new fields.
	(get_string_value): if the text is empty, return the empty string
	instead of NULL.

	* gui/component/e-ldap-server-dialog.c (extract_server_info): port is a string now.
	(fill_in_server_info): port is a string now.

svn path=/trunk/; revision=3942
2000-07-07 05:12:03 +00:00
19848dbc6d Changed "FIXME: Save and Close" to "Save and Close". Removed some toolbar
2000-07-06  Christopher James Lahey  <clahey@helixcode.com>

	* contact-editor/e-contact-editor.c: Changed "FIXME: Save and
	Close" to "Save and Close".  Removed some toolbar items that will
	never be used.

	* gui/component/select-names/e-select-names-model.c,
	gui/component/select-names/e-select-names-model.h: Added functions
	to allow you to modify the model (not implemented yet.)

	* gui/component/select-names/e-select-names-table-model.c,
	gui/component/select-names/e-select-names-table-model.h: Finished
	this.  Doesn't support changing the model at all.

	* gui/component/select-names/e-select-names-text-model.c: Finished
	this.  Changing the model by typing is done, but doesn't work
	since none of the functions in the base model are implemented.

svn path=/trunk/; revision=3918
2000-07-06 06:18:47 +00:00
2ca2244e6b call e_ldap_storage_add_server call.
2000-07-05  Chris Toshok  <toshok@helixcode.com>

	* gui/component/addressbook.c (new_server_cb): call
	e_ldap_storage_add_server call.

	* gui/component/ldap-server-dialog.glade: add name row.

	* gui/component/e-ldap-server-dialog.h: remove the ELDAPServer type.

	* gui/component/e-ldap-server-dialog.c (extract_server_info): add
	support for the name-entry.

	* gui/component/e-ldap-server-dialog.c (fill_in_server_info): same.

	* gui/component/e-ldap-storage.h: add ELDAPServer type, and add
	prototypes for e_ldap_storage_add_server and
	e_ldap_storage_remove_server.

	* gui/component/e-ldap-storage.c (e_ldap_storage_add_server): new
	function, add it to our hash table, add a shell folder, and save
	out the metadata.
	(ldap_server_foreach): add the ldap server info under a
	"contactserver" node.
	(setup_ldap_storage): create our hashtable.

svn path=/trunk/; revision=3895
2000-07-05 20:07:46 +00:00