Commit Graph

279 Commits

Author SHA1 Message Date
be88a44705 Added fields for the GalViewMenus and GalViewCollection; we need to keep
2001-05-31  Federico Mena Quintero  <federico@ximian.com>

	* gui/widgets/e-addressbook-view.h (EAddressbookView): Added
	fields for the GalViewMenus and GalViewCollection; we need to keep
	them around while the component is active.

	* gui/widgets/e-addressbook-view.c
	(e_addressbook_view_setup_menus): Plug leak; unref the spec.
	Unref the factories.  Do not unref the collection, since we need
	it for the signal emission (okay, so the views object adds a
	reference to it, but if we are interested in it we should keep a
	reference anyways).
	(e_addressbook_view_setup_menus): Create the collection and views
	on the EAddressbookView's fields so that we can keep them around.
	(e_addressbook_view_discard_menus): New function; gets rid of the
	collection and views objects.

	* gui/component/addressbook.c (control_activate_cb): Call
	e_addressbook_view_discard_menus().

svn path=/trunk/; revision=10074
2001-05-31 23:05:41 +00:00
69e9359204 add the EAddressbookModel* and change the ETableModel's name to "adapter".
2001-05-31  Chris Toshok  <toshok@ximian.com>

	* gui/component/select-names/e-select-names.h (struct
	_ESelectNames): add the EAddressbookModel* and change the
	ETableModel's name to "adapter".

	* gui/component/select-names/e-select-names.c (set_book),
	(addressbook_model_set_uri): these two things take an
	EAddressbookModel* instead of an ETableModel now.
	(e_addressbook_create_ebook_table): don't case the
	EAddressbookModel* to ETableModel*, create an EAddressbookTableAdapter
	on the EAddressbookModel instead.
	(e_select_names_init): set e_select_names->adapter.

svn path=/trunk/; revision=10072
2001-05-31 22:27:56 +00:00
9e7473e1de Print Preview => ContactsPrintPreview. Changed peter's change so that the
2001-05-31  Chris Toshok  <toshok@ximian.com>

	* gui/component/addressbook.c: Print Preview =>
	ContactsPrintPreview.  Changed peter's change so that the node
	name is more in line with "Print.."'s

svn path=/trunk/; revision=10064
2001-05-31 20:03:20 +00:00
c12a1660bd Use the correct path to the print preview menu item.
2001-05-30  Peter Williams  <peterw@ximian.com>

       * gui/component/addressbook.c: Use the correct path to the print
       preview menu item.

svn path=/trunk/; revision=10054
2001-05-30 21:13:19 +00:00
0660722baa new function, for the Cut verb. (copy_contacts_cb): new function, for the
2001-05-30  Chris Toshok  <toshok@ximian.com>

	* gui/component/addressbook.c (cut_contacts_cb): new function, for
	the Cut verb.
	(copy_contacts_cb): new function, for the Copy verb.
	(paste_contacts_cb): new function, for the Paste verb.
	(select_all_contacts_cb): new function, for the Select All verb.
	(update_command_state): add handling for sensitivity of
	Cut/Copy/Paste/Select All.

	* gui/widgets/e-addressbook-view.c (e_addressbook_view_init): init
	the invisible and set up selection/destroy signals.
	(get_selection_model): new function, so we can get the
	ETableSelectionModel from either view type.  makes lots of the
	other functions easier, since we can get the list of selected
	cards using the same code regardless of view type.
	(invisible_destroyed): new function.
	(selection_get): new function.  convert the clipboard list to
	string.
	(selection_clear_event): new function - free up the list of
	ECards.
	(selection_received): if the selection data is valid and
	well-formed, add the corresponding cards to the ebook.
	(add_to_list): new function.
	(get_selected_cards): new function.
	(e_addressbook_view_cut): new function, implement in terms of
	_copy and _delete_selection.
	(e_addressbook_view_copy): claim ownership of the CLIPBOARD
	selection after saving the list of selected ECards.
	(e_addressbook_view_paste): call gtk_selection_convert.
	(e_addressbook_view_select_all): new function, using
	e_selection_model_select_all.
	(e_addressbook_view_can_print): re-implement in terms of
	get_selection_model.
	(e_addressbook_view_can_delete): same.
	(e_addressbook_view_can_cut): new function.
	(e_addressbook_view_can_copy): new function.
	(e_addressbook_view_can_paste): new function.  hmm, always return
	TRUE here.
	(e_addressbook_view_can_select_all): new function.

	* gui/widgets/e-addressbook-view.h (struct _EAddressbookView): add
	selection stuff - the list of selected cards, and the GtkInvisible
	selection owner, and add prototypes for
	e_addressbook_view_[can]_{cut,copy,paste,select_all}.

	* gui/widgets/e-minicard-view-widget.h: add a prototype for
	e_minicard_view_widget_get_selection_model.

	* gui/widgets/e-minicard-view-widget.c
	(e_minicard_view_widget_get_selection_model): new function.

svn path=/trunk/; revision=10050
2001-05-30 08:47:00 +00:00
5e44950c28 #include "evolution-shell-component-utils.h" rather than "e-gui-utils.h"
* gui/component/addressbook.c: #include
	"evolution-shell-component-utils.h" rather than "e-gui-utils.h"
	for e_pixmaps_update.

svn path=/trunk/; revision=10020
2001-05-27 18:02:03 +00:00
a58c7b50e9 Reference libeshell.la instead of libeshell.a.
2001-05-25  Peter Williams  <peterw@ximian.com>

       * gui/component/Makefile.am: Reference libeshell.la instead of libeshell.a.

2001-05-25  Peter Williams  <peterw@ximian.com>

       * gui/Makefile.am: Reference libeshell.la instead of libeshell.a.

2001-05-25  Peter Williams  <peterw@ximian.com>

       * component/Makefile.am: Reference libeshell.la instead of libeshell.a.

2001-05-25  Peter Williams  <peterw@ximian.com>

       * Makefile.am: Reference libeshell.la instead of libeshell.a.

2001-05-25  Peter Williams  <peterw@ximian.com>

       * Makefile.am: Change libeshell from a noinst_LIBRARIES to
       a lib_LTLIBRARIES. Install its headers in
       $includedir/evolution/shell.

       * evolution-storage.c (safe_corba_string): New, copy of e_safe_corba_string
       in libeutil. This way libeshell doesn't have a missing symbol when programs
       that don't have libeutil link to it.
       (evolution_storage_register): s,e_safe_corba_string,safe_corba_string,g.

svn path=/trunk/; revision=10007
2001-05-26 04:59:00 +00:00
be19c59c2e add sequence_complete_id to EAddressbookModel and stop_state_changed to
2001-05-23  Chris Toshok  <toshok@ximian.com>

	* gui/widgets/e-addressbook-model.h: add sequence_complete_id to
	EAddressbookModel and stop_state_changed to
	EAddressbookModelClass.  also, add prototype for
	e_addressbook_model_can_stop.

	* gui/widgets/e-addressbook-model.c (remove_book_view): disconnect
	from "sequence_complete", and set search_in_progress to FALSE.
	(sequence_complete): set search_in_progress to FALSE and emit
	"stop_state_changed."
	(e_addressbook_model_class_init): create the "stop_state_changed"
	signal.
	(e_addressbook_model_init): init stuff.
	(book_view_loaded): connect to "sequence_complete" signal.
	(book_view_loaded): set search_in_progress to TRUE and emit
	"stop_state_changed"
	(e_addressbook_model_stop): set search_in_progress to false, emit
	"stop_state_changed", and set our status to "Search Interrupted."
	(e_addressbook_model_can_stop): return search_in_progress.

	* gui/widgets/e-addressbook-view.c (e_addressbook_view_init):
	connect to the stop_state_changed signal on EAddressbookModel.
	(stop_state_changed): new function.
	(e_addressbook_view_can_stop): call e_addressbook_model_can_stop.

	* gui/component/addressbook.c (update_command_state): use
	e_addressbook_view_can_stop to set the sensitivity of the stop
	button.

svn path=/trunk/; revision=9940
2001-05-23 09:19:07 +00:00
1b425f45ab track the change in evolution-addressbook.xml's bonobo ui path's.
2001-05-22  Chris Toshok  <toshok@ximian.com>

	* gui/component/addressbook.c: track the change in
	evolution-addressbook.xml's bonobo ui path's.

svn path=/trunk/; revision=9921
2001-05-22 11:08:49 +00:00
90d1371457 update_view_type is gone, since the menu item is gone.
2001-05-21  Chris Toshok  <toshok@ximian.com>

	* gui/component/addressbook.c (change_view_type): update_view_type
	is gone, since the menu item is gone.

	* gui/widgets/e-addressbook-table-adapter.c (create_card): use
	e_table_model_rows_inserted here.

svn path=/trunk/; revision=9914
2001-05-21 23:52:06 +00:00
794615c90e Removed an unused variable.
2001-05-20  Christopher James Lahey  <clahey@ximian.com>

        * gui/component/addressbook-config.c
        (addressbook_source_item_new): Removed an unused variable.

        * gui/component/select-names/e-select-names-bonobo.c
        (entry_get_property_fn): Made text here non-const.

        * gui/component/select-names/e-select-names-popup.c
        (edit_contact_info_cb): Cast to a gpointer here.

        * gui/component/select-names/e-select-names.c
        (e_addressbook_create_ebook_table): Cast to E_TABLE_MODEL here.

svn path=/trunk/; revision=9902
2001-05-21 01:18:52 +00:00
d4a2e9f382 Do a better job constructing match strings, so we never try to use a
2001-05-18  Jon Trowbridge  <trow@ximian.com>

	* gui/component/select-names/e-select-names-completion.c
	(match_name): Do a better job constructing match strings, so we
	never try to use a segment of the name that isn't there (resulting
	in ugly (null)'s in the string).  Boost our score if some part of
	the name also matches the front part of the e-mail address, so the
	name match will always trump the e-mail match.

svn path=/trunk/; revision=9882
2001-05-18 17:09:31 +00:00
3ca3f79dbe Return the serialized EDestinations (rather than just a string w/ e-mail
2001-05-18  Jon Trowbridge  <trow@ximian.com>

        * gui/component/select-names/e-select-names-bonobo.c
        (entry_get_property_fn): Return the serialized EDestinations
        (rather than just a string w/ e-mail addresses) through the bonobo
        component's property bag.

        * gui/component/select-names/e-select-names-model.c
        (e_select_names_model_export_destinationv): Added.  A convenience routine
        for serializing the model's EDestinations into a string.

        * gui/component/select-names/e-select-names-popup.c
        (add_html_mail): Added.  Puts in a check menu item for whether or
        not the recipient wants HTML mail.
        (popup_menu_card): Add menu item for HTML mail.  Enable edit
        contact info item.
        (popup_menu_nocard): Add menu item for HTML mail.  Enable edit
        contact info item.

        * backend/ebook/e-book-util.c (e_book_use_local_address_book):
        Added.  Fetches the local addressbook and caches it on the first
        call.  This is meant to be an easy and efficient way to get at the
        local addressbook with the minimum of code.
        (e_book_query_address_locally): Added.  Convenience code that
        does an e-mail only e_book_name_and_email_query against the
        local address book.

        * backend/ebook/e-destination.c
        (e_destination_set_html_mail_pref): Added.  Allows the intended
        recipient's HTML mail preference to be manipulated.
        (e_destination_get_email_verbose): Added.  Cleaned up to use
        e_destination_get_name.
        (e_destination_get_html_mail_pref): Added.  Read the recipient's HTML mail
        preference.  If the destination is linked to a card, the
        preference is taken from the card (unless it has been explicitly
        overridden by a called to e_destination_set_html_mail_pref).
        (e_destination_get_address_textv): Added.  Form a unified address string
        from a NULL-terminated vector of EDestinations.
        (e_destination_export): Added.  Serialize an EDestination to a string.
        (e_destination_import): Added.  Unserialize a string to build an
        EDestination.
        (e_destination_exportv): Added.  Serialize a NULL-terminated vector of
        EDestinations to a string.
        (e_destination_importv): Added.  Unserialize a string to build a
        NULL-terminated vector of EDestinations.

        * gui/component/select-names/e-select-names-completion.c:
        Implemented local versions of g_strcasecmp and g_strncasecmp
        (which should really be in glib, I think...) for utf8, and used
        them to make this code utf8-safe.

2001-05-18  Jon Trowbridge  <trow@ximian.com>

        * Makefile.am (evolution_mail_LDADD): Added libebook.la (which is
        now required by the composer.)

2001-05-18  Jon Trowbridge  <trow@ximian.com>

        * e-msg-composer-hdrs.c (set_recipients): Properly unserialize the
        string returned by the "text" property of the bonobo control,
        convert it into EDestinations, and use them to get the e-mail
        addresses of our recipients.

22001-05-18  Jon Trowbridge  <trow@ximian.com>

        * Makefile.am (SUBDIRS): Changed build order.  Now addressbook
        gets built before mail.

svn path=/trunk/; revision=9878
2001-05-18 07:10:04 +00:00
fce0233ba9 no more ContactFind command.
2001-05-17  Chris Toshok  <toshok@ximian.com>

	* gui/component/addressbook.c (update_command_state): no more
	ContactFind command.

svn path=/trunk/; revision=9876
2001-05-17 23:42:30 +00:00
bb0671f820 add our selection_change signal. (e_minicard_view_widget_realize): connect
2001-05-17  Chris Toshok  <toshok@ximian.com>

	* gui/widgets/e-minicard-view-widget.c
	(e_minicard_view_widget_class_init): add our selection_change
	signal.
	(e_minicard_view_widget_realize): connect to the ESelectionModel's
	selection_changed signal.
	(e_minicard_view_widget_selected_count): new function.
	(selection_change): new function - emit our "selection_change"
	signal.

	* gui/widgets/e-minicard-view-widget.h (struct
	_EMinicardViewWidgetClass): add selection_change signal.  also,
	add prototype for e_minicard_view_widget_selected_count.  *
	gui/widgets/e-addressbook-view.c

	(e_addressbook_view_class_init): add our command_state_change
	signal.
	(e_addressbook_view_init): connect to the writable_status signal
	on the EAddressbookModel.
	(minicard_selection_change): new function - calls
	command_state_change.
	(create_minicard_view): connect to selection_change on the
	minicard_view so we know when to update command state.
	(table_selection_change): new function - calls
	command_state_change.
	(writable_status): new function - calls command_state_change.
	(command_state_change): new function - emits our
	"command_state_change" signal.
	(create_table_view): connect to the selection_change signal so we
	know to update the command state.
	(change_view_type): update the command state every time we change
	view types.
	(e_addressbook_view_can_create): new function.
	(e_addressbook_view_can_print): new function.
	(e_addressbook_view_can_delete): new function.
	(e_addressbook_view_can_stop): new function.

	* gui/widgets/e-addressbook-view.h (struct
	_EAddressbookViewClass): add command_state_change signal, and
	prototypes of functions the component can use to test the state of
	commands.

	* gui/widgets/e-addressbook-model.c (addressbook_destroy): unlink
	the writable_status signal on the EBook.
	(writable_status): new function.
	(e_addressbook_model_class_init): add our writable_status signal.
	(e_addressbook_model_init): init writable_status_id.
	(e_addressbook_model_set_arg): unlink the writable_status signal
	on the old EBook, and connect it on the new one.

	* gui/widgets/e-addressbook-model.h: add writable_status signal.

	* gui/component/addressbook.c (update_command_state): new
	function, set the sensitivity of the bonobo commands.
	(control_activate): update our command state immediately upon
	activating the control.
	(addressbook_factory_new_control): register command_state_change
	to update the commands.

svn path=/trunk/; revision=9874
2001-05-17 23:30:57 +00:00
9953071e22 add prototype for addressbook_expand_uri.
2001-05-13  Chris Toshok  <toshok@ximian.com>

	* gui/component/addressbook.h: add prototype for
	addressbook_expand_uri.

	* gui/component/addressbook-component.c
	(destination_folder_handle_drop): create an EBook for
	@physical_uri.
	(dnd_drop_book_open_cb): actually add the dropped cards.

	* gui/component/addressbook.c (addressbook_expand_uri): abstract
	this code out from the set_prop method so we can use it in the
	component.
	(set_prop): call addressbook_expand_uri.

	* backend/ebook/e-card.c (e_card_load_cards_from_string): new
	function.

	* backend/ebook/e-card.h: add prototype for
	e_card_load_cards_from_string.

svn path=/trunk/; revision=9788
2001-05-14 00:46:29 +00:00
206210499b spew the data passed to us. (destination_folder_handle_motion): the
2001-05-12  Chris Toshok  <toshok@ximian.com>

	* gui/component/addressbook-component.c
	(destination_folder_handle_drop): spew the data passed to us.
	(destination_folder_handle_motion): the suggested_action is not an
	ActionSet, but an Action, so don't or together multiple actions.

svn path=/trunk/; revision=9781
2001-05-12 08:29:46 +00:00
9f45bb787b correct bug causing the Ok button to never be enabled.
2001-05-11  Chris Toshok  <toshok@ximian.com>

	* gui/component/addressbook-config.c (addressbook_source_dialog):
	correct bug causing the Ok button to never be enabled.

svn path=/trunk/; revision=9779
2001-05-12 04:39:10 +00:00
19f8760e0d example.
2001-05-11  Chris Toshok  <toshok@ximian.com>

	* gui/component/addressbook-component.c (populate_context_menu):
	example.

svn path=/trunk/; revision=9776
2001-05-11 23:00:56 +00:00
95651fe828 use e_card_list_get_vcard to build up the data to send.
2001-05-11  Chris Toshok  <toshok@ximian.com>

	* gui/widgets/e-minicard-view.c (e_minicard_view_drag_data_get):
	use e_card_list_get_vcard to build up the data to send.
	(e_minicard_view_init): connect to the model's drag_begin signal.
	(e_minicard_view_drag_begin): gather the list of cards being
	dragged and call gtk_drag_begin.
	(add_to_list): new function.
	(get_card_list): same.
	(disconnect_signals): disconnect the drag_data_get signal.
	(e_minicard_view_init): connect to the drag_begin signal on our
	model.

	* gui/widgets/e-minicard-view.h (struct _EMinicardView): change
	drag_card to drag_list.

	* gui/widgets/e-minicard-view-model.c (minicard_drag_begin): new
	function, emit our drag_begin signal.
	(addressbook_incarnate): connect to the item's drag_begin signal.
	(e_minicard_view_model_class_init): init our drag_begin signal.

	* gui/widgets/e-minicard-view-model.h: add drag_begin signal.

	* gui/component/addressbook-config.c (addressbook_source_dialog):
	always loop through all source types here, making LDAP first so
	it's forces as the first notebook item.
	(addressbook_config_auth_label): remove SASL case.
	(addressbook_source_edit_changed): same.
	(addressbook_source_item_new): flag the area of code that needs to
	go into the advanced dialog (if we add one before someone
	graciously redesigns the entire addressbook gui :)


	* gui/component/addressbook-storage.c (ldap_unparse_auth): remove
	SASL case.
	(ldap_parse_auth): same.

	* gui/component/addressbook-storage.h: make LDAP come first in our
	source type enumeration, and remove the SASL auth type.

svn path=/trunk/; revision=9774
2001-05-11 21:03:42 +00:00
0f0089d684 flesh out the function more. It should work now, but there's no way to
2001-05-07  Chris Toshok  <toshok@ximian.com>

	* gui/component/addressbook-component.c (remove_folder): flesh out
	the function more.  It should work now, but there's no way to
	invoke this method from the ui at the moment, heh.

svn path=/trunk/; revision=9704
2001-05-07 22:26:19 +00:00
37341be278 Use a different error message in the ldap support/no ldap support/file
2001-05-07  Chris Toshok  <toshok@ximian.com>

	* gui/component/addressbook.c (book_open_cb): Use a different
	error message in the ldap support/no ldap support/file cases.

svn path=/trunk/; revision=9700
2001-05-07 21:13:09 +00:00
a703c61b47 use define from widgets/misc/e-filter-bar.h instead of own enumeration and
2001-05-07  Gediminas Paulauskas <menesis@delfi.lt>

	* gui/component/addressbook.c: use define from
	widgets/misc/e-filter-bar.h instead of own enumeration and search menu
	names.

	* gui/component/Makefile.am, gui/component/select-names/Makefile.am:
	removed EVOLUTION_VERSION.

2001-05-07  Gediminas Paulauskas <menesis@delfi.lt>

	* gui/event-editor.c (make_title_from_comp): conversion summary
	from utf8 here, use translated strings as is.
	(set_title_from_comp): reflect this, simplify.

	* gui/dialogs/task-editor.c: updated copies of above functions here.

	* gui/gnome-cal.c: use defines from widgets/misc/e-filter-bar.h for
	consistency in "Show all".

svn path=/trunk/; revision=9693
2001-05-07 17:33:31 +00:00
cc3e691c50 un-#if 0 this. (xfer_folder): add skeleton code to validate xfer request.
2001-05-04  Chris Toshok  <toshok@ximian.com>

	* gui/component/addressbook-component.c (remove_folder): un-#if 0
	this.
	(xfer_folder): add skeleton code to validate xfer request.  always
	notifies with PERMISSION_DENIED at present.
	(populate_context_menu): un-#if 0 this.
	(get_dnd_selection): same.
	(destination_folder_handle_motion): new function.
	(destination_folder_handle_drop): new function.
	(factory_fn): create a EvolutionShellComponentDndDestinationFolder
	interface, and add it to our shell component.

svn path=/trunk/; revision=9679
2001-05-04 22:32:47 +00:00
80e3acea85 unref the book if the view is being destroyed
2001-05-02  JP Rosevear  <jpr@ximian.com>

	* gui/component/addressbook.c (addressbook_view_free): unref the
	book if the view is being destroyed

	* backend/pas/pas-backend-file.c
	(pas_backend_file_process_get_book_view): unref the book_view when
	we are finished, it is only interesting if someone else has reffed
	it now (weak reference)
	(pas_backend_file_add_client): unref the book for the same reason
	as above

svn path=/trunk/; revision=9647
2001-05-02 19:09:47 +00:00
42b257dc31 Remove call to unicode_init.
* gui/component/addressbook-factory.c (main): Remove call to
	unicode_init.

svn path=/trunk/; revision=9566
2001-04-25 21:17:01 +00:00
038d1a932c Removed attempts to use Radek's evil <DATA> hacks, which were just causing
2001-04-23  Jon Trowbridge  <trow@ximian.com>

        * e-html-utils.c (e_text_to_html_full): Removed attempts to use
        Radek's evil <DATA> hacks, which were just causing me
        (and GtkHTML) grief.

2001-04-23  Jon Trowbridge  <trow@ximian.com>

        * gui/component/e-address-popup.c: Lots of code has been
        simplified here.
        (e_address_popup_factory_new_control): Rather than directly pop
        our control up in a window (via the e_address_popup_popup
        function, which is now gone), just return the widget and let the
        caller do the popping.  This works better, since it means we don't
        have to work around the vagaries of bonobo focus & event handling.
        (e_address_popup_set_name): Refresh when both name & email have
        been set, rather than checking a stupid counter.
        (e_address_popup_set_email): Ditto.

2001-04-23  Jon Trowbridge  <trow@ximian.com>

        * mail-display.c (html_button_press_event): Check for mailto:
        links, and pop up our mail address menu when we find one.
        (make_popup_window): The main piece of code (ignoring a zillion
        little callbacks) to pop up our windows with reasonable semantics
        for having them close automatically.
        (mail_text_write): Enable converting addresses to mailto links
        in message bodies.

        * mail-format.c (write_address): Simplify code, removing Radek's
        <DATA> hacks.  Write out addresses as mailto: links.

svn path=/trunk/; revision=9534
2001-04-24 02:51:45 +00:00
061990182b Added save_source_data here.
2001-04-22  Christopher James Lahey  <clahey@ximian.com>

	* gui/component/addressbook-storage.c
	(addressbook_storage_clear_sources): Added save_source_data here.

svn path=/trunk/; revision=9493
2001-04-22 07:32:41 +00:00
a35d86361d Added.
2001-04-16  Jon Trowbridge  <trow@ximian.com>

        * backend/ebook/e-destination.c (e_destination_get_name): Added.

        * gui/component/select-names/e-select-names.c
        (real_add_address_cb): Use e_select_names_model_append.  It's
        nicer.

        * gui/component/select-names/e-select-names-model.c
        (e_select_names_model_append): Added.

        * gui/component/select-names/e-select-names-completion.c
        (book_query_process_card_list): Filter out completion matches that
        don't have an associated e-mail address.
        (book_query_score): Give a bonus to the primary address, so that
        it always comes up first in the completion results.

        * gui/component/e-address-popup.c (e_address_popup_refresh_names):
        Convert utf8 strings into gtk strings before displaying.

svn path=/trunk/; revision=9390
2001-04-16 20:28:13 +00:00
04fac44de1 Do this everywhere, also fixup CLEANFILES
Do this everywhere, also fixup CLEANFILES

2001-04-14  Michael Meeks  <michael@ximian.com>

	* Makefile.am (dist-hook): remove built sources from dist.

svn path=/trunk/; revision=9309
2001-04-14 08:02:59 +00:00
045c3ffbea Get the ESelectNamesModel from the widget's text model instead of storing
2001-04-13  Christopher James Lahey  <clahey@ximian.com>

	* gui/component/select-names/e-select-names-bonobo.c
	(entry_get_property_fn): Get the ESelectNamesModel from the
	widget's text model instead of storing it as a gtk_object_set_data
	since it may change.

svn path=/trunk/; revision=9299
2001-04-13 13:01:25 +00:00
9b8230a24c Added E_CARD_SIMPLE_FIELD_LAST_SIMPLE_STRING.
2001-04-11  Christopher James Lahey  <clahey@ximian.com>

	* backend/ebook/e-card-simple.h: Added
	E_CARD_SIMPLE_FIELD_LAST_SIMPLE_STRING.

	* gui/component/addressbook-component.c (accepted_dnd_types):
	Fixed a warning here.

	* gui/widgets/e-addressbook-model.c: Modified this to have more
	columns, but not let them be edited if they're not a simple
	string.

	* gui/widgets/e-minicard-view.c (e_minicard_view_init): Fixed a
	warning and a memory leak here.

svn path=/trunk/; revision=9230
2001-04-11 07:50:57 +00:00
bdb627f243 stubbed, #if 0'ed (xfer_folder): same. (populate_context_menu): same.
2001-04-09  Chris Toshok  <toshok@ximian.com>

	* gui/component/addressbook-component.c (remove_folder): stubbed,
	#if 0'ed
	(xfer_folder): same.
	(populate_context_menu): same.
	(get_dnd_selection): same.
	(factory_fn): add the accepted drag types ("text/x-vard") to
	folder_types.

svn path=/trunk/; revision=9210
2001-04-10 02:40:48 +00:00
f66390af64 Here goes my additional simple include fixes.
svn path=/trunk/; revision=9191
2001-04-05 00:39:19 +00:00
c105fef6b3 Fix headers. Same here. Same here. Same here. Same here. Same here. Same
2001-04-04  Kjartan Maraas  <kmaraas@gnome.org>

	* contact-editor/e-contact-editor.[ch]: Fix headers.
	* component/addressbook-storage.c: Same here.
	* gui/search/e-addressbook-search-dialog.c: Same here.
	* gui/widgets/e-addressbook-view.c: Same here.
	* gui/widgets/e-minicard-label.c: Same here.
	* gui/widgets/e-minicard-view-widget.c: Same here.
	* gui/widgets/e-minicard-view.c: Same here.
	* gui/widgets/e-minicard-widget-test.c: Same here.
	* gui/widgets/e-minicard-widget.c: Same here.
	* gui/widgets/e-minicard.c: Same here.
	* gui/widgets/test-minicard-label.c: Same here.

svn path=/trunk/; revision=9179
2001-04-04 20:36:23 +00:00
042704ddd3 Blessed by Ettore.
Guided by Jacub Stener's mail, where he explaned which icons were renamed or
added, I added a bunch of new icons to menus, fixed renamed ones. Changed Trash
and Executive summary folder type icons. Fixed art/Makefile.am for these
changes.

Also, pulled icon cache from mailer and moved it to e-util/e-gui-utils.h, made
all components and dialogs use cache and not load pixmaps every time.

Accidentally got a couple of includes fix in, but they won't break anything.

svn path=/trunk/; revision=9092
2001-04-02 03:59:11 +00:00
e51bb13fc4 Call e_select_names_model_clean after adding address. This should deal
2001-03-31  Jon Trowbridge  <trow@ximian.com>

	* gui/component/select-names/e-select-names.c
	(real_add_address_cb): Call e_select_names_model_clean after
	adding address.  This should deal with the bug reports related
	to stray commas.

	* gui/component/select-names/e-select-names-model.c
	(e_select_names_model_clean): Added.  Remove all empty destinations.

	* backend/ebook/e-destination.c (e_destination_is_empty): Added.  Check
	if an EDestination is in essentially a null state.

svn path=/trunk/; revision=9067
2001-03-31 06:52:11 +00:00
424506262d Added #include <libgnome/gnome-paper.h>
2001-03-29  Jon Trowbridge  <trow@ximian.com>

        * printing/e-contact-print.c: Added #include <libgnome/gnome-paper.h>

        * printing/e-contact-print-envelope.c: Added #include <time.h>
        and #include <libgnome/gnome-paper.h>

        * gui/component/select-names/e-select-names-completion.c
        (match_email): Better handle matching of "nameless" contacts.

        * backend/ebook/e-destination.c (e_destination_get_string): Better
        handle the case of a "nameless" contact.

2001-03-29  Jon Trowbridge  <trow@ximian.com>

	* camel-filter-driver.c (camel_filter_driver_filter_message): Save
        the source URL using camel_mime_message_set_source.

        * camel-mime-message.c (camel_mime_message_set_source): Renamed
        camel_mime_message_set_identity to this.  Sets the X-Evolution-Source
        header.
        (camel_mime_message_get_source): Returns the X-Evolution-Source
        header.

2001-03-29  Jon Trowbridge  <trow@ximian.com>

        * mail-callbacks.c: Added #include <time.h> to get things
        to compile.

        * mail-callbacks.c (mail_generate_reply): Look at the
        X-Evolution-Source header, and try to find a corresponding
        account.  If this works, send the mail from this account.
        If not, use the default account.

        * mail-ops.c (send_queue_send): Strip out the X-Evolution-Source
        header before sending.

        * mail-config.c (mail_config_get_account_by_source_url): Added.
        Look up accounts by source URL.

svn path=/trunk/; revision=9032
2001-03-29 23:46:55 +00:00
cf658dcba6 Clean up #includes. Replace <gnome.h>, <bonobo.h> and <gtk/gtk.h> with
2001-03-29  Kjartan Maraas  <kmaraas@gnome.org>

	* *.*: Clean up #includes. Replace <gnome.h>, <bonobo.h> and
	<gtk/gtk.h> with more finegrained headers where needed.

svn path=/trunk/; revision=9026
2001-03-29 20:55:01 +00:00
954405749b Use E_CARD_SIMPLE_FIELD_NAME_OR_ORG instead of getting the NAME and then
2001-03-28  Christopher James Lahey  <clahey@ximian.com>

	* gui/component/select-names/e-select-names-table-model.c
	(fill_in_info): Use E_CARD_SIMPLE_FIELD_NAME_OR_ORG instead of
	getting the NAME and then the ORG.  That way if we expand
	NAME_OR_ORG, this will use it.

	* gui/component/select-names/e-select-names.c
	(e_addressbook_create_ebook_table, SPEC): Use the correct column
	in the SPEC.

svn path=/trunk/; revision=9000
2001-03-28 23:37:46 +00:00
0f80005685 Rather than starting the pending query by directly calling
2001-03-25  Jon Trowbridge  <trow@ximian.com>

        * gui/component/select-names/e-select-names-completion.c
        (e_select_names_completion_seq_complete_cb): Rather than starting
        the pending query by directly calling
        e_select_names_completion_do_query, call
        e_completion_begin_search.  Circumventing the ECompletion API was
        causing it to get confused in some cases.

svn path=/trunk/; revision=8922
2001-03-25 07:42:30 +00:00
4f26eac120 Added. Call me old-fashioned, but I just prefer to have a real API rather
2001-03-23  Jon Trowbridge  <trow@ximian.com>

        * gui/widgets/e-minicard-widget.c (e_minicard_widget_set_card):
        Added.  Call me old-fashioned, but I just prefer to have a real
        API rather than doing everything via gtk_object_get/set-type
        calls.
        (e_minicard_widget_set_arg): Changed to call
        e_minicard_widget_set_card.

        * backend/ebook/e-book-util.c: Small changes to get rid of
        compiler warnings.  (Casting out const, removed unused variables,
        etc.)  Removed some debugging messages.

        * gui/component/addressbook-factory.c (main): Added call
        to e_address_popup_factory_init.

        * gui/component/e-address-popup.c: Added.  A popup gadget that is
        invoked (as a bonobo control) when an address is left-clicked in
        the mailer.  The addressbook is queries, and the address is either
        displayed as a minicard (if it already exists) or in a "generic
        format".  A button is provided for editting/adding the contact.
        Some of the semantics of this widget are a bit... non-standard,
        because of bonobo issues.  I can't really seem to replicate
        popup-menu behavior because of how bonobo propogates events, etc.
        so I've tried to produce something that I think is non-annoying.
        YMMV.

2001-03-23  Jon Trowbridge  <trow@ximian.com>

        * mail-display.c (handle_embedded_address_object): #ifdef away
        some code I don't quite want to delete yet.
        (html_button_press_event): Remove some of Radek's placeholder
        code, replace it with code to create my AddressPopup bonobo
        control.

        * mail-format.c: Remove some obsolete code that if #ifdef-ed out
        a while ago.

        * mail-ops.c (send_queue_send): Strip out the X-Evolution-Identity
        header when sending.

2001-03-23  Jon Trowbridge  <trow@ximian.com>

        * camel-filter-driver.c (camel_filter_driver_filter_message):
        Don't call camel_mime_message_set_identity.  (The call is
        commented out, left over from some earlier experimentation that I
        want to be able to remember later...)

        * camel-mime-message.c (camel_mime_message_set_identity): Added.
        A function to set the X-Evolution-Identity header.

svn path=/trunk/; revision=8916
2001-03-23 09:39:37 +00:00
aec0b54631 Added new icons.
2001-03-20  Miguel de Icaza  <miguel@ximian.com>

	* folder-browser-factory.c: Added new icons.

2001-03-18  Miguel de Icaza  <miguel@ximian.com>

	* folder-browser-factory.c: Remove duplicated verb.

2001-03-20  Miguel de Icaza  <miguel@ximian.com>

	* gui/component/addressbook.c (update_pixmaps): Added artwork from
	Jakub.

2001-03-20  Miguel de Icaza  <miguel@ximian.com>

	* evolution-addressbook.xml: Added artwork from Jakub.

2001-03-20  Miguel de Icaza  <miguel@ximian.com>

	* art/Makefile.am (images_DATA): Added all the new icons to the
	distribution.

svn path=/trunk/; revision=8859
2001-03-21 02:57:37 +00:00
3370188296 Brutally refactored to boost performance in large-addressbook situations.
2001-03-17  Jon Trowbridge  <trow@ximian.com>

	* gui/component/select-names/e-select-names-completion.c: Brutally
	refactored to boost performance in large-addressbook situations.
	These fixes give accepable performance (even with the suboptimal
	pas-backend-file searching) using tigert's addressbook-of-death.

svn path=/trunk/; revision=8793
2001-03-18 03:30:01 +00:00
1b5ab4fa2c Making warnings fatal is actually a pretty bad idea for anything other
2001-03-16  Jon Trowbridge  <trow@ximian.com>

	* gui/component/addressbook-factory.c (main): Making warnings
        fatal is actually a pretty bad idea for anything other than
        intensive debugging, so I've  #if 0/#endif-ed it out.

svn path=/trunk/; revision=8755
2001-03-16 08:38:42 +00:00
57de6972c8 Added addressbook querying and "cardification" functions, which are turned
2001-03-15  Jon Trowbridge  <trow@ximian.com>

        * gui/component/e-address-widget.c: Added addressbook querying and
        "cardification" functions, which are turned off by default for now
        because of addressbook bugs.  Added a popup menu option to turn
        queries on, so that others can enjoy the thrill of massive flaming
        death.

        * gui/component/addressbook-factory.c (main): Made warnings always
        be fatal.

        * backend/pas/pas-book-view.c: Added some debugging spew.

        * backend/pas/pas-backend-file.c (pas_backend_file_search): Added
        a little experimental code to try to make file searches scale
        better.  #if 0/#endif-ed out for now.

        * contact-editor/e-contact-quick-add.c: #included e-book-util.h.

        * backend/ebook/e-card.c (e_card_name_match_string): Added.
        Looser name-matching function.
        (e_card_email_match_string): Added.  Loose e-mail matching.

        * backend/ebook/e-book-view-listener.c
        (e_book_view_listener_check_queue): Added code to cause us to
        abort rather than get trapped in a 100%-CPU-consuming loop in
        certain situations.  Now we just need to figure out how to avoid
        these situations altogether.

        * backend/ebook/e-book-util.c: Added.  Now contains the simple
        query stuff and the open local addressbook functions.

        * backend/ebook/e-book.c: Moved simple query stuff and open local
        addressbook functions into e-book-util.c.

2001-03-15  Jon Trowbridge  <trow@ximian.com>

        * wombat.c (main): If we can't initialize a service on startup,
        tell us which one before terminating.

svn path=/trunk/; revision=8754
2001-03-16 08:16:29 +00:00
8391885d18 Removed .oafinfo files -- they are obsolete. Moved pixmaps from
2001-03-15  Gediminas Paulauskas <menesis@delfi.lt>

Removed .oafinfo files -- they are obsolete.
Moved pixmaps from calendar/gui/ to art/
Moved evolution.png to art/
Moved evolution.desktop.in to data/
Generate doc/devel/executive-summary/Makefile

svn path=/trunk/; revision=8727
2001-03-15 03:46:54 +00:00
2309c677b4 Fix a warning here.
2001-03-13  Christopher James Lahey  <clahey@ximian.com>

	* gui/component/addressbook.c (update_pixmaps): Fix a warning
	here.

svn path=/trunk/; revision=8695
2001-03-14 00:44:38 +00:00
5a430e4dcc add is_read_only param.
2001-03-12  Chris Toshok  <toshok@ximian.com>

	* gui/widgets/e-minicard.c (supported_fields_cb): add is_read_only
	param.

	* gui/widgets/e-minicard-view.c (supported_fields_cb): add
	is_read_only param.

	* gui/widgets/e-addressbook-view.c (supported_fields_cb): add
	is_read_only param.

	* gui/component/select-names/e-select-names-text-model.c
	(e_select_names_text_model_activate_obj): add is_read_only param.
	also, include a little policy here and make it TRUE, as the user
	shouldn't be editting in this context anyway (imo).

	* gui/component/addressbook.c (supported_fields_cb): add
	is_read_only param.

	* contact-editor/test-editor.c (main): add is_read_only param.

	* contact-editor/e-contact-editor.c (set_read_only): new function,
	that either enables or disables all the text fields, combo boxes,
	and some buttons, depending on the state of is_read_only.
	(e_contact_editor_class_init): add read/write arg "is_read_only".
	(full_name_clicked): set the is_read_only of the fullname dialog
	to the editor's.
	(full_addr_clicked): same.
	(e_contact_editor_new): add is_read_only param, that gets set
	along with the other params.
	(e_contact_editor_set_arg): add setter for is_read_only.
	(e_contact_editor_get_arg): add getter for is_read_only.
	(_phone_arrow_pressed): change TRUE to !editor->is_read_only for
	entry.
	(_email_arrow_pressed): same.
	(_address_arrow_pressed): same.
	(enable_writable_fields): same.

	* contact-editor/e-contact-editor-fullname.c
	(e_contact_editor_fullname_class_init): add read/write arg
	"is_read_only".
	(e_contact_editor_fullname_set_arg): add setter for is_read_only
	that enables/disables all the entries/combos.
	(e_contact_editor_fullname_get_arg): add getter for is_read_only.

	* contact-editor/e-contact-editor-fullname.h (struct
	_EContactEditorFullname): add is_read_only flag.

	* contact-editor/e-contact-editor-address.c
	(e_contact_editor_address_class_init): add read/write arg
	"is_read_only".
	(e_contact_editor_address_set_arg): add setter for is_read_only
	that disables/enables all the entries/combos.
	(e_contact_editor_address_get_arg): add getter for is_read_only.

	* contact-editor/e-contact-editor-address.h (struct
	_EContactEditorAddress): add is_read_only flag.

svn path=/trunk/; revision=8662
2001-03-13 05:11:57 +00:00
bc6cd6b9b6 Maybe I shouldn't have smoked all of that crack before I started
doing my commits?

svn path=/trunk/; revision=8610
2001-03-08 23:34:43 +00:00