Commit Graph

189 Commits

Author SHA1 Message Date
fd1561b07e Oops. Make sure to attach the item to the menu ;-)
2001-01-12  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer-hdrs.c (create_optionmenu): Oops. Make sure to
	attach the item to the menu ;-)

svn path=/trunk/; revision=7463
2001-01-12 22:09:57 +00:00
8ad2b343a0 Call set_from_account which means we no longer have to do all the crap
2001-01-12  Jeffrey Stedfast  <fejj@helixcode.com>

	* e-msg-composer.c (build_message): Call set_from_account which
	means we no longer have to do all the crap involved in formatting
	strings into an internet-address.
	(e_msg_composer_get_preferred_account): New access function.

	* e-msg-composer-hdrs.c (add_header): case COMBOBOX has changed to
	OPTIOMENU.
	(create_optionmenu): Update to use an optionmenu of accounts.
	(from_changed): New callback for the From optionmenu.
	(setup_headers): s/COMBOBOX/OPTIONMENU
	(init): Set the account and from_options to NULL.
	(e_msg_composer_hdrs_get_from): Updated.
	(destroy): free the from_options.
	(e_msg_composer_hdrs_set_from_address): Renamed from set_from
	because it no longer takes a string arg but rather an account arg.

svn path=/trunk/; revision=7458
2001-01-12 21:13:26 +00:00
07340ec35b Update .cvsignore
svn path=/trunk/; revision=7443
2001-01-12 07:23:38 +00:00
969e190c9e Small moniker update
svn path=/trunk/; revision=7442
2001-01-12 07:23:17 +00:00
891d37dac8 Only attach to "changed" if the widget is an EEntry. The HEADER_COMBOBOX
2001-01-12  Miguel de Icaza  <miguel@ximian.com>

	* e-msg-composer-hdrs.c (add_header): Only attach to "changed" if
	the widget is an EEntry.  The HEADER_COMBOBOX and the
	HEADER_ADDRBOOK are a ComboBox and a remote Bonobo control
	respectively.

	* evolution-composer.c (get_object): Move getObject functionality
	here from e-msg-composer.c

svn path=/trunk/; revision=7441
2001-01-12 07:09:51 +00:00
c9246a157e Only set the popdown strings if we have anything to popdown.
2001-01-11  Miguel de Icaza  <miguel@ximian.com>

	* e-msg-composer-hdrs.c (create_dropdown_entry): Only set the
	popdown strings if we have anything to popdown.

svn path=/trunk/; revision=7425
2001-01-12 03:34:44 +00:00
c6737bc9e8 Add an ItemContainer Bonobo interface to allow client applications to
2001-01-10  Miguel de Icaza  <miguel@helixcode.com>

	* evolution-composer.c (evolution_composer_construct): Add an
	ItemContainer Bonobo interface to allow client applications to
	locate the Message Composer component.

svn path=/trunk/; revision=7416
2001-01-11 23:20:37 +00:00
05bccea610 New callback to save draft. Fixes bug #1045.
2001-01-11  Jeffrey Stedfast  <fejj@helixcode.com>

	* e-msg-composer.c (menu_file_save_draft_cb): New callback to save
	draft. Fixes bug #1045.

svn path=/trunk/; revision=7379
2001-01-11 05:47:56 +00:00
6e49bbc42f Removed more UNSAFE stuff. Maybe we should kill this macro, and have
2001-01-10  Miguel de Icaza  <miguel@helixcode.com>

	* e-msg-composer.c: Removed more UNSAFE stuff.  Maybe we should
	kill this macro, and have people that want these broken things
	define their own macros.

svn path=/trunk/; revision=7359
2001-01-10 07:34:04 +00:00
20b3bc147c Updated for new config code - this time it works!
2001-01-08  Jeffrey Stedfast  <fejj@helixcode.com>

	* e-msg-composer-hdrs.c (create_dropdown_entry): Updated for new
	config code - this time it works!

svn path=/trunk/; revision=7312
2001-01-09 03:28:51 +00:00
6054c6897b Reverted back to old config code temporarily until I get the new config
2001-01-08  Jeffrey Stedfast  <fejj@helixcode.com>

	* e-msg-composer-hdrs.c (create_dropdown_entry): Reverted back to
	old config code temporarily until I get the new config code
	working 100%.

svn path=/trunk/; revision=7304
2001-01-08 20:44:58 +00:00
0dae964dba reenabled magic indentation
svn path=/trunk/; revision=7300
2001-01-08 09:08:34 +00:00
29b221b315 Updated to reflect changes to the mail-config API.
2001-01-07  Jeffrey Stedfast  <fejj@helixcode.com>

	* e-msg-composer-hdrs.c (create_dropdown_entry): Updated to
	reflect changes to the mail-config API.

svn path=/trunk/; revision=7299
2001-01-08 02:19:48 +00:00
80aa9c98e1 disable indenting for now, it crashes editor
2001-01-05  Radek Doulik  <rodo@helixcode.com>

	* listener.c (impl_event): disable indenting for now, it crashes
	editor

svn path=/trunk/; revision=7274
2001-01-05 21:37:17 +00:00
e41312f0b7 If the headers have changed, then continue with the prompt else just
2001-01-03  Jeffrey Stedfast  <fejj@helixcode.com>

	* e-msg-composer.c (do_exit): If the headers have changed, then
	continue with the prompt else just destroy the window.

	* e-msg-composer-hdrs.c (init): Initialize has_changed to FALSE.
	(entry_changed): New callback to set the value of has_changed.
	(add_header): Attach the "changed" signal.

svn path=/trunk/; revision=7234
2001-01-03 17:29:40 +00:00
a8b13bc044 Use header_content_type_simple, not header_content_type_format.
* e-msg-composer-attachment.c (e_msg_composer_attachment_edit):
	* e-msg-composer-attachment-bar.c (update): Use
	header_content_type_simple, not header_content_type_format.

svn path=/trunk/; revision=7215
2001-01-02 19:34:03 +00:00
45f3b8b6e0 Call e_utf8_to_gtk_string on the combobox strings.
* e-msg-composer-hdrs.c (create_dropdown_entry): Call
	e_utf8_to_gtk_string on the combobox strings.

svn path=/trunk/; revision=7208
2001-01-02 14:17:57 +00:00
87d3886d23 Use CamelContentType instead of GMimeContentField.
* e-msg-composer.c (handle_multipart_alternative,
	handle_multipart, e_msg_composer_new_with_message): Use
	CamelContentType instead of GMimeContentField.

	* e-msg-composer-attachment.c (e_msg_composer_attachment_edit):
	* e-msg-composer-attachment-bar.c (update, attach_to_multipart):
	Use CamelContentType, and use the header_content_type_* functions
	rather than operating on the structure by hand.

svn path=/trunk/; revision=7188
2000-12-28 19:29:09 +00:00
1f9b8f9c4e New function to get whether or not to encrypt the message.
2000-12-15  Jeffrey Stedfast  <fejj@helixcode.com>

	* e-msg-composer.c (e_msg_composer_get_pgp_encrypt): New function
	to get whether or not to encrypt the message.
	(e_msg_composer_set_pgp_encrypt): New function to set encryption.
	(e_msg_composer_get_pgp_sign): New function to get whether or not
	to sign the message.
	(e_msg_composer_set_pgp_sign): New function to set pgp_sign.
	(init): Initialize pgp_sign and pgp_encrypt to FALSE.

svn path=/trunk/; revision=7058
2000-12-15 23:14:57 +00:00
68d4a4cc40 Made it so that carriage return doesn't insert a newline in the subject
2000-12-14  Christopher James Lahey  <clahey@helixcode.com>

	* e-msg-composer-hdrs.c (add_header): Made it so that carriage
	return doesn't insert a newline in the subject entry.

svn path=/trunk/; revision=7024
2000-12-14 19:52:24 +00:00
2fc0744447 Don't convert the utf-8 string to a gtkstring because the widget expects
2000-12-12  Jeffrey Stedfast  <fejj@helixcode.com>

	* e-msg-composer-hdrs.c (set_entry): Don't convert the utf-8
	string to a gtkstring because the widget expects to get a utf-8
	string.

svn path=/trunk/; revision=6960
2000-12-13 00:58:12 +00:00
a0cef09a6f Add $(IDLS). (From campd.)
* Makefile.am (EXTRA_DIST): Add $(IDLS). (From campd.)

svn path=/trunk/; revision=6949
2000-12-12 23:07:48 +00:00
1dd2597727 psst
svn path=/trunk/; revision=6839
2000-12-07 19:04:50 +00:00
ffcec7f3d5 added warnings (prepare_engine): updated to
2000-12-07  Radek Doulik  <rodo@helixcode.com>

	* e-msg-composer.c (prepare_engine): added warnings
	(prepare_engine): updated to IDL:GNOME/GtkHTML/Editor/Engine:1.0

	* Makefile.am: renamed HTMLEditor* to Editor*, added Editor-common.c:
	$(HTML_EDITOR_GENERATED) rule

svn path=/trunk/; revision=6838
2000-12-07 19:04:19 +00:00
3c7be1018d Use camel to construct the list of recipients rather than just
2000-12-05  Jeffrey Stedfast  <fejj@helixcode.com>

	* e-msg-composer.c (add_recipients): Use camel to construct the
	list of recipients rather than just strchr(recips, ',') which is
	very prone to errors.

svn path=/trunk/; revision=6802
2000-12-05 23:10:32 +00:00
042e514a26 return NULL if we can't create a view.
2000-12-04  Michael Meeks  <michael@helixcode.com>

	* e-shell-view.c (get_control_for_uri): return NULL if we can't
	create a view.
	(setup_evolution_shell_view_interface): add precondition.

+

	lots of cleans.

svn path=/trunk/; revision=6778
2000-12-04 17:56:54 +00:00
622ea8d512 debug printf
svn path=/trunk/; revision=6650
2000-11-22 14:26:20 +00:00
f69d5ec143 Big patch. Evolution-services rewrite, services updated for new system,
Big patch.
Evolution-services rewrite, services updated for new system, Fixes to
Executive Summary and other things. See some changelogs

svn path=/trunk/; revision=6644
2000-11-22 00:34:39 +00:00
81f02f5855 update namespace
2000-11-15  Radek Doulik  <rodo@helixcode.com>

	* e-msg-composer.c (prepare_engine): update namespace

svn path=/trunk/; revision=6583
2000-11-15 19:11:32 +00:00
c9cba32d9a updates for HTMLEditor API changes
2000-11-15  Radek Doulik  <rodo@helixcode.com>

	* updates for HTMLEditor API changes

	* e-msg-composer.c: added #include <libgnomevfs/gnome-vfs.h>

svn path=/trunk/; revision=6582
2000-11-15 18:47:33 +00:00
c9c591526f e_msg_composer_guess_mime_type renamed and moved
2000-11-15  Radek Doulik  <rodo@helixcode.com>

	* e-msg-composer.h: e_msg_composer_guess_mime_type renamed and
	moved mime_guess_type_from_file_name from camel as it uses VFS

svn path=/trunk/; revision=6579
2000-11-15 08:45:22 +00:00
6f4d56f965 rename command to runCommand
2000-11-14  Radek Doulik  <rodo@helixcode.com>

	* listener.c (reply_indent): rename command to runCommand

svn path=/trunk/; revision=6568
2000-11-14 08:59:06 +00:00
97ddd11093 updated to HTMLEditor API changes
2000-11-14  Radek Doulik  <rodo@helixcode.com>

	* e-msg-composer.c: updated to HTMLEditor API changes

	* listener.c: updated to HTMLEditor API changes

svn path=/trunk/; revision=6567
2000-11-14 08:54:58 +00:00
10547948ac extracted function, does reply indentation, use updated editor engine api
2000-11-13  Radek Doulik  <rodo@helixcode.com>

	* listener.c (reply_indent): extracted function, does reply
	indentation, use updated editor engine api

svn path=/trunk/; revision=6560
2000-11-13 18:50:41 +00:00
ddae78720c Clear the rdate and exrule lists from the component if we are setting a
2000-11-12  Federico Mena Quintero  <federico@helixcode.com>

	* gui/event-editor.c (recur_to_comp_object): Clear the rdate and
	exrule lists from the component if we are setting a simple
	recurrence.
	(recur_to_comp_object): Set the exdate list here instead of in
	dialog_to_comp_object().
	(preview_recur): New function to tag the recurrence preview
	calendar based on the information from the dialog box.
	(fill_exception_widgets): Fill the exception widgets here; moved
	over from fill_widgets().
	(fill_recurrence_widgets): Call preview_recur().  Also, call
	fill_exception_widgets() first of all.
	(recurrence_type_toggled_cb): Call preview_recur().
	(recur_interval_selection_done_cb): Likewise.
	(recur_ending_selection_done_cb): Likewise.
	(recurrence_exception_add_cb): Likewise.
	(recurrence_exception_modify_cb): Likewise.
	(recurrence_exception_delete_cb): Likewise.
	(date_changed_cb): Likewise.
	(recur_interval_value_changed_cb): Likewise, new function.

	* gui/tag-calendar.[ch]: New files with utilities for tagging
	calendars.  mark.[ch] should go away some day.

	* gui/tag-calendar.c (tag_calendar): Moved over from
	gnome_calendar_tag_calendar().  Take in a CalClient instead of a
	GnomeCalendar.  Added API docs.
	(tag_calendar_by_comp): New function to tag a calendar based on a
	single calendar component instead of a whole client.

	* gui/gnome-cal.c (initial_load): Use tag_calendar_by_client().
	(obj_updated_cb): Likewise.
	(obj_removed_cb): Likewise.
	(gnome_calendar_on_date_navigator_date_range_changed): Likewise.
	(editor_closed_cb): Free the closure.
	(destroy_editor_cb): Renamed from free_uid().  Do not free the
	UID; just unref the event editor.  Our destroy handler to it will
	free things properly.  This will also cause the corresponding
	calendar client to be unrefed.
	(editor_closed_cb): Use a flag on the GnomeCalendar to decide
	whether to remove the editor from the hash table.  This is sort of
	icky.

	* gui/calendar-model.c (obj_updated_cb): If the object is new, we
	have to use e_table_model_row_inserted(), not row_changed().
	Thanks to JP Rosevear for reporting this.

	* gui/Makefile.am (evolution_calendar_SOURCES): Added
	tag-calendar.[ch] to the list of sources.

svn path=/trunk/; revision=6547
2000-11-12 18:53:08 +00:00
3d3cfc1137 A very, long, very tedious IDL API rename and re-scoping;
this script + some grunt approximates the work:

    s/Evolution_MessageList/GNOME_Evolution_MessageList/g;
    s/GNOME_Evolution_MessageList_select_message/GNOME_Evolution_MessageList_selectMessage/g;
    s/GNOME_Evolution_MessageList_open_message/GNOME_Evolution_MessageList_openMessage/g;

    s/Evolution_Folder([ \t])/GNOME_Evolution_Folder$1/g;
    s/Evolution_FolderTypeList/GNOME_Evolution_FolderTypeList/g;
    s/Evolution_FolderBrowser/GNOME_Evolution_FolderBrowser/g;
    s/GNOME_Evolution_FolderBrowser_get_message_list/GNOME_Evolution_FolderBrowser_getMessageList/g;

    s/Evolution_LocalStorage/GNOME_Evolution_LocalStorage/g;
    s/GNOME_Evolution_LocalStorage_update_folder/GNOME_Evolution_LocalStorage_updateFolder/g;

    s/Evolution_ShellView/GNOME_Evolution_ShellView/g;
    s/GNOME_Evolution_ShellView_set_message/GNOME_Evolution_ShellView_setMessage/g;
    s/GNOME_Evolution_ShellView_unset_message/GNOME_Evolution_ShellView_unsetMessage/g;
    s/GNOME_Evolution_ShellView_change_current_view/GNOME_Evolution_ShellView_changeCurrentView/g;

    s/Evolution_StorageSetViewListener/GNOME_Evolution_StorageSetViewListener/g;
    s/GNOME_Evolution_StorageSetViewListener_folder_selected/GNOME_Evolution_StorageSetViewListener_notifyFolderSelected/g;
    s/GNOME_Evolution_StorageSetViewListener_storage_selected/GNOME_Evolution_StorageSetViewListener_notifyStorageSelected/g;

    s/Evolution_StorageSetView/GNOME_Evolution_StorageSetView/g;
    s/GNOME_Evolution_StorageSetView_add_listener/GNOME_Evolution_StorageSetView_addListener/g;
    s/GNOME_Evolution_StorageSetView_remove_listener/GNOME_Evolution_StorageSetView_removeListener/g;

    s/Evolution_Shell/GNOME_Evolution_Shell/g;
    s/GNOME_Evolution_Shell_get_component_for_type/GNOME_Evolution_Shell_getComponentByType/g;
    s/GNOME_Evolution_Shell_user_select_folder/GNOME_Evolution_Shell_selectUserFolder/g;
    s/GNOME_Evolution_Shell_get_local_storage/GNOME_Evolution_Shell_getLocalStorage/g;
    s/GNOME_Evolution_Shell_create_storage_set_view/GNOME_Evolution_Shell_createStorageSetView/g;

    s/Evolution_FolderSelectionListener/GNOME_Evolution_FolderSelectionListener/g;
    s/GNOME_Evolution_FolderSelectionListener_selected/GNOME_Evolution_FolderSelectionListener_notifySelected/g;
    s/GNOME_Evolution_FolderSelectionListener_cancel/GNOME_Evolution_FolderSelectionListener_notifyCanceled/g;

    s/Evolution_Storage/GNOME_Evolution_Storage/g;
    s/GNOME_Evolution_Storage_add_listener/GNOME_Evolution_Storage_addListener/g;
    s/GNOME_Evolution_Storage_remove_listener/GNOME_Evolution_Storage_removeListener/g;

    s/GNOME_Evolution_StorageListener_destroyed/GNOME_Evolution_StorageListener_notifyDestroyed/g;
    s/GNOME_Evolution_StorageListener_new_folder/GNOME_Evolution_StorageListener_notifyFolderCreated/g;
    s/GNOME_Evolution_StorageListener_update_folder/GNOME_Evolution_StorageListener_notifyFolderUpdated/g;
    s/GNOME_Evolution_StorageListener_removed_folder/GNOME_Evolution_StorageListener_notifyFolderRemoved/g;

    s/GNOME_Evolution_StorageRegistry_register_storage/GNOME_Evolution_StorageRegistry_addStorage/g;
    s/GNOME_Evolution_StorageRegistry_unregister_storage/GNOME_Evolution_StorageRegistry_removeStorageByName/g;

    s/Evolution_ShellComponent/GNOME_Evolution_ShellComponent/g;
    s/GNOME_Evolution_ShellComponent_set_owner/GNOME_Evolution_ShellComponent_setOwner/g;
    s/GNOME_Evolution_ShellComponent_unset_owner/GNOME_Evolution_ShellComponent_unsetOwner/g;
    s/GNOME_Evolution_ShellComponent_create_view/GNOME_Evolution_ShellComponent_createView/g;
    s/GNOME_Evolution_ShellComponent_async_create_folder/GNOME_Evolution_ShellComponent_addFolderAsync/g;
    s/GNOME_Evolution_ShellComponent_async_remove_folder/GNOME_Evolution_ShellComponent_removeFolderAsync/g;
    s/GNOME_Evolution_ShellComponent_populate_folder_context_menu/GNOME_Evolution_ShellComponent_populateFolderContextMenu/g;

    s/GNOME_Evolution_ShellComponentListener_report_result/GNOME_Evolution_ShellComponentListener_notifyResult/g;

    s/Evolution_Session/GNOME_Evolution_Session/g;
    s/GNOME_Evolution_Session_save_configuration/GNOME_Evolution_Session_saveConfiguration/g;
    s/GNOME_Evolution_Session_load_configuration/GNOME_Evolution_Session_loadConfiguration/g;

    s/Evolution_Calendar_Cal/GNOME_Evolution_Calendar_Cal/g;
    s/GNOME_Evolution_Calendar_Cal_get_n_objects/GNOME_Evolution_Calendar_Cal_countObjects/g;
    s/GNOME_Evolution_Calendar_Cal_get_object/GNOME_Evolution_Calendar_Cal_getObject/g;
    s/GNOME_Evolution_Calendar_Cal_get_uids/GNOME_Evolution_Calendar_Cal_getUIds/g;
    s/GNOME_Evolution_Calendar_Cal_get_changed_uids/GNOME_Evolution_Calendar_Cal_getChangedUIds/g;
    s/GNOME_Evolution_Calendar_Cal_get_objects_in_range/GNOME_Evolution_Calendar_Cal_getObjectsInRange/g;
    s/GNOME_Evolution_Calendar_Cal_get_alarms_in_range/GNOME_Evolution_Calendar_Cal_getAlarmsInRange/g;
    s/GNOME_Evolution_Calendar_Cal_get_alarms_for_object/GNOME_Evolution_Calendar_Cal_getAlarmsForObject/g;
    s/GNOME_Evolution_Calendar_Cal_update_object/GNOME_Evolution_Calendar_Cal_updateObject/g;
    s/GNOME_Evolution_Calendar_Cal_remove_object/GNOME_Evolution_Calendar_Cal_removeObject/g;

    s/Evolution_Calendar_Listener/GNOME_Evolution_Calendar_Listener/g;
    s/GNOME_Evolution_Calendar_Listener_cal_loaded/GNOME_Evolution_Calendar_Listener_notifyCalLoaded/g;
    s/GNOME_Evolution_Calendar_Listener_obj_updated/GNOME_Evolution_Calendar_Listener_notifyObjUpdated/g;
    s/GNOME_Evolution_Calendar_Listener_obj_removed/GNOME_Evolution_Calendar_Listener_notifyObjRemoved/g;

    s/Evolution_Calendar_CalFactory/GNOME_Evolution_Calendar_CalFactory/g;
    s/GNOME_Evolution_Calendar_CalFactory_load/GNOME_Evolution_Calendar_CalFactory_load/g;
    s/GNOME_Evolution_Calendar_CalFactory_create/GNOME_Evolution_Calendar_CalFactory_create/g;

    s/Evolution_Composer/GNOME_Evolution_Composer/g;
    s/GNOME_Evolution_Composer_set_headers/GNOME_Evolution_Composer_setHeaders/g;
    s/GNOME_Evolution_Composer_set_body_text/GNOME_Evolution_Composer_setBodyText/g;
    s/GNOME_Evolution_Composer_attach_MIME/GNOME_Evolution_Composer_attachMIME/g;
    s/GNOME_Evolution_Composer_attach_data/GNOME_Evolution_Composer_attachData/g;
    s/GNOME_Evolution_Composer_show/GNOME_Evolution_Composer_show/g;

    s/Evolution_Addressbook_SelectNames/GNOME_Evolution_Addressbook_SelectNames/g;
    s/GNOME_Evolution_Addressbook_SelectNames_add_section/GNOME_Evolution_Addressbook_SelectNames_addSection/g;
    s/GNOME_Evolution_Addressbook_SelectNames_get_entry_for_section/GNOME_Evolution_Addressbook_SelectNames_getEntryBySection/g;
    s/GNOME_Evolution_Addressbook_SelectNames_activate_dialog/GNOME_Evolution_Addressbook_SelectNames_activateDialog/g;

    s/Evolution_CardCursor/GNOME_Evolution_Addressbook_CardCursor/g;
    s/GNOME_Evolution_Addressbook_CardCursor_get_length/GNOME_Evolution_Addressbook_CardCursor_getLength/g;
    s/GNOME_Evolution_Addressbook_CardCursor_get_nth/GNOME_Evolution_Addressbook_CardCursor_getNth/g;

    s/Evolution_BookViewListener/GNOME_Evolution_Addressbook_BookViewListener/g;
    s/GNOME_Evolution_Addressbook_BookViewListener_signal_card_added/GNOME_Evolution_Addressbook_BookViewListener_notifyCardAdded/g;
    s/GNOME_Evolution_Addressbook_BookViewListener_signal_card_removed/GNOME_Evolution_Addressbook_BookViewListener_notifyCardRemoved/g;
    s/GNOME_Evolution_Addressbook_BookViewListener_signal_card_changed/GNOME_Evolution_Addressbook_BookViewListener_notifyCardChanged/g;
    s/GNOME_Evolution_Addressbook_BookViewListener_signal_sequence_complete/GNOME_Evolution_Addressbook_BookViewListener_notifySequenceComplete/g;
    s/GNOME_Evolution_Addressbook_BookViewListener_signal_status_message/GNOME_Evolution_Addressbook_BookViewListener_notifyStatusMessage/g;

    s/Evolution_BookView/GNOME_Evolution_Addressbook_BookView/g;

    s/Evolution_Book/GNOME_Evolution_Addressbook_Book/g;
    s/GNOME_Evolution_Addressbook_Book_get_vcard/GNOME_Evolution_Addressbook_Book_getVCard/g;
    s/GNOME_Evolution_Addressbook_Book_can_write/GNOME_Evolution_Addressbook_Book_isWriteable/g;
    s/GNOME_Evolution_Addressbook_Book_can_write_card/GNOME_Evolution_Addressbook_Book_isCardWriteable/g;
    s/GNOME_Evolution_Addressbook_Book_create_card/GNOME_Evolution_Addressbook_Book_addCard/g;
    s/GNOME_Evolution_Addressbook_Book_remove_card/GNOME_Evolution_Addressbook_Book_removeCard/g;
    s/GNOME_Evolution_Addressbook_Book_modify_card/GNOME_Evolution_Addressbook_Book_modifyCard/g;
    s/GNOME_Evolution_Addressbook_Book_get_cursor/GNOME_Evolution_Addressbook_Book_getCursor/g;
    s/GNOME_Evolution_Addressbook_Book_get_book_view/GNOME_Evolution_Addressbook_Book_getBookView/g;
    s/GNOME_Evolution_Addressbook_Book_get_changes/GNOME_Evolution_Addressbook_Book_getChanges/g;
    s/GNOME_Evolution_Addressbook_Book_check_connection/GNOME_Evolution_Addressbook_Book_checkConnection/g;
    s/GNOME_Evolution_Addressbook_Book_get_static_capabilities/GNOME_Evolution_Addressbook_Book_getStaticCapabilities/g;
    s/GNOME_Evolution_Addressbook_Book_get_name/GNOME_Evolution_Addressbook_Book_getName/g;

    s/Evolution_BookListener/GNOME_Evolution_Addressbook_BookListener/g;
    s/GNOME_Evolution_Addressbook_BookListener_respond_create_card/GNOME_Evolution_Addressbook_BookListener_notifyCardCreated/g;
    s/GNOME_Evolution_Addressbook_BookListener_respond_remove_card/GNOME_Evolution_Addressbook_BookListener_notifyCardRemoved/g;
    s/GNOME_Evolution_Addressbook_BookListener_respond_modify_card/GNOME_Evolution_Addressbook_BookListener_notifyCardModified/g;
    s/GNOME_Evolution_Addressbook_BookListener_report_open_book_progress/GNOME_Evolution_Addressbook_BookListener_notifyOpenBookProgress/g;
    s/GNOME_Evolution_Addressbook_BookListener_respond_open_book/GNOME_Evolution_Addressbook_BookListener_notifyBookOpened/g;
    s/GNOME_Evolution_Addressbook_BookListener_respond_get_cursor/GNOME_Evolution_Addressbook_BookListener_notifyCursorRequested/g;
    s/GNOME_Evolution_Addressbook_BookListener_respond_get_view/GNOME_Evolution_Addressbook_BookListener_notifyViewRequested/g;
    s/GNOME_Evolution_Addressbook_BookListener_respond_get_changes/GNOME_Evolution_Addressbook_BookListener_notifyChangesRequested/g;
    s/GNOME_Evolution_Addressbook_BookListener_report_connection_status/GNOME_Evolution_Addressbook_BookListener_notifyConnectionStatus/g;

    s/Evolution_BookFactory/GNOME_Evolution_Addressbook_BookFactory/g;
    s/GNOME_Evolution_Addressbook_BookFactory_open_book/GNOME_Evolution_Addressbook_BookFactory_openBook/g;

    s/Evolution_SummaryComponent/GNOME_Evolution_Summary_Component/g;
    s/GNOME_Evolution_Summary_SummaryComponent_set_owner/GNOME_Evolution_Summary_Component_setOwner/g;
    s/GNOME_Evolution_Summary_SummaryComponent_unset_owner/GNOME_Evolution_Summary_Component_unsetOwner/g;
    s/GNOME_Evolution_Summary_SummaryComponent_create_view/GNOME_Evolution_Summary_Component_createView/g;
    s/GNOME_Evolution_Summary_SummaryComponent_destroy_view/GNOME_Evolution_Summary_Component_destroyView/g;

    s/Evolution_Summary([ \t])/GNOME_Evolution_Summary_ViewFrame$1/g;
    s/Evolution_Summary_set_title/GNOME_Evolution_Summary_ViewFrame_setTitle/g;
    s/Evolution_Summary_set_icon/GNOME_Evolution_Summary_ViewFrame_setIcon/g;
    s/Evolution_Summary_update_component/GNOME_Evolution_Summary_ViewFrame_updateComponent/g;

    s/GNOME_GNOME/GNOME/g;
    s/GNOME_GNOME/GNOME/g;
    s/GNOME_GNOME/GNOME/g;

svn path=/trunk/; revision=6535
2000-11-10 20:41:13 +00:00
1d3b7827ed set the HTML charset to utf-8 for all the html message parts.
2000-11-10  Larry Ewing  <lewing@helixcode.com>

	* e-msg-composer.c (build_message): set the HTML charset to utf-8
	for all the html message parts.
	(build_message): make sure we set the proper encoding on the html
	part now that it may contain utf-8 characters

svn path=/trunk/; revision=6534
2000-11-10 19:37:26 +00:00
c13e8b432e (get_signature): added in_html arg, it tells if we should use HTML
signature
	(set_editor_text): try to use HTML signature
	(e_msg_composer_new_with_sig_file): added send_html arg to be able
	to use HTML signature

svn path=/trunk/; revision=6510
2000-11-08 17:31:57 +00:00
f3ec28d123 new function (destroy): use e_msg_composer_clear_inlined_table, destroy
2000-11-08  Radek Doulik  <rodo@helixcode.com>

	* e-msg-composer.c (e_msg_composer_clear_inlined_table): new
	function
	(destroy): use e_msg_composer_clear_inlined_table, destroy
	inlined_images hash table

	* listener.c (resolve_image_url): don't add inlined images to
	attachement bar

	* e-msg-composer.c (add_inlined_images): new function, adds
	inlined images to multipart
	(add_inlined_image): helper function, adds one image to multipart
	(build_message): store HTML messages with inlined images to
	multipart/related

	* e-msg-composer-attachment-bar.c (add_from_file): removed
	content_id arg
	(e_msg_composer_attachment_bar_attach): likewise

	* e-msg-composer-attachment.c (e_msg_composer_attachment_new):
	removed content_id arg

svn path=/trunk/; revision=6507
2000-11-08 13:06:58 +00:00
66dd09db7f Changed for message api changes. Use camel_address_unformat to convert the
2000-11-06  Not Zed  <NotZed@HelixCode.com>

        * e-msg-composer-hdrs.c (e_msg_composer_hdrs_to_message): Changed
        for message api changes.  Use camel_address_unformat to convert
        the editable->usable.
        (set_recipients): Same.  Now we set the recipients as
        camel_internet_address's.  Fixed a memleak indirectly.
        (decode_addresses): Removed, no longer needed.
        (create_dropdown_entry): We dont want to use _encode(), we want to
        _format, as we are displaying the result.  We can use the static
        function too to avoid the object creation, and the memory leak!
        (set_entry): Convert the args to gtk-safe characters, since the
        entry doesn't understand utf8.
        (set_recipients): And likewise do the reverse when retrieving the
        contents of the widget.

svn path=/trunk/; revision=6476
2000-11-07 12:34:10 +00:00
9acf78e29d looks like I missed this the last time.
--Larry

svn path=/trunk/; revision=6473
2000-11-07 01:42:22 +00:00
66b85f364e Two segfault fixes
svn path=/trunk/; revision=6472
2000-11-07 01:19:27 +00:00
d6b8654b22 set the content type on the plain part of outgoing messages.
2000-11-06  Larry Ewing  <lewing@helixcode.com>

	* e-msg-composer.c (build_message): set the content type on the
	plain part of outgoing messages.
	(best_content): a helper function to get the best content type for
	the attachment.  This should probably use the helper functions in
	the future.

svn path=/trunk/; revision=6423
2000-11-06 20:52:22 +00:00
341487d67d Added #include <config.h> s/_HAVE_CONFIG_H/HAVE_CONFIG_H for working i18n.
2000-11-06  Kjartan Maraas  <kmaraas@gnome.org>

	* e-msg-composer-attachment.c: Added #include <config.h>
	* e-msg-composer-hdrs.c: s/_HAVE_CONFIG_H/HAVE_CONFIG_H for
	working i18n.

svn path=/trunk/; revision=6420
2000-11-06 20:27:16 +00:00
d47fdce3f1 fix test for regular file to !S_ISREG (statbuf.st_mode)
2000-11-04  Radek Doulik  <rodo@helixcode.com>

	* e-msg-composer-attachment.c (e_msg_composer_attachment_new): fix
	test for regular file to !S_ISREG (statbuf.st_mode)

svn path=/trunk/; revision=6392
2000-11-04 11:01:17 +00:00
7f7c32f6d2 use inline images hash table
2000-11-04  Radek Doulik  <rodo@helixcode.com>

	* listener.c (resolve_image_url): use inline images hash table

	* e-msg-composer.c (init): create inlined images hash table
	(destroy): destroy it
	(clear_inline_images): helper function, used from
	g_hash_table_foreach_remove to destroy one inline image record

	* e-msg-composer.h: added hash table with inlined images url ->
	cid info

2000-11-03  Radek Doulik  <rodo@helixcode.com>

	* listener.c (impl_event): updated for API changed
	implemented image_url event
	(resolve_image_url): new helper function, attaches image to mail
	and returns new (resolved) url pointing to mime component

	* e-msg-composer-attachment.c (e_msg_composer_attachment_new):
	added conponent_id parameter

	* e-msg-composer-attachment-bar.c
	(e_msg_composer_attachment_bar_attach): added parameter content_id
	(add_from_file): likewise

svn path=/trunk/; revision=6390
2000-11-04 10:11:50 +00:00
0d78f798da oops, return NULL not void
svn path=/trunk/; revision=6385
2000-11-03 22:58:29 +00:00
3c3b702d1f Don't allow attaching anything but regular files.
2000-11-03  Jeffrey Stedfast  <fejj@helixcode.com>

	* e-msg-composer-attachment.c (e_msg_composer_attachment_new):
	Don't allow attaching anything but regular files.

svn path=/trunk/; revision=6384
2000-11-03 22:56:19 +00:00
d428113c3a Clean the idl-generated files properly.
2000-11-03  Federico Mena Quintero  <federico@helixcode.com>

	* Makefile.am: Clean the idl-generated files properly.

svn path=/trunk/; revision=6369
2000-11-03 18:17:50 +00:00
e7fa8245cc The big api rename ...
2000-11-02  Michael Meeks <michael@helixcode.com>

	* The big api rename ...

svn path=/trunk/; revision=6346
2000-11-02 06:48:34 +00:00