aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer.h
Commit message (Collapse)AuthorAgeFilesLines
* Don't call new_with_sig_file, it no longer exists.Jeffrey Stedfast2001-09-111-1/+0
| | | | | | | | | | | | | | 2001-09-10 Jeffrey Stedfast <fejj@ximian.com> * evolution-composer.c (init): Don't call new_with_sig_file, it no longer exists. * e-msg-composer.c (setup_ui): Make sure that the session is non-NULL. (menu_file_send_cb): And here too. (e_msg_composer_new_with_sig_file): Removed. svn path=/trunk/; revision=12753
* Originally was corba_recipientlist_to_glist. (impl_Composer_set_headers):Jon Trowbridge2001-09-091-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-09-08 Jon Trowbridge <trow@ximian.com> * evolution-composer.c (corba_recipientlist_to_destv): Originally was corba_recipientlist_to_glist. (impl_Composer_set_headers): Use corba_recipientlist_to_destv, new destination-based api. * e-msg-composer.c (build_message): Get rid of that 'sending' stuff. That was a bad idea. (e_msg_composer_new_with_message): Apply the revised api and work with vectors of destinations rather than just lists. (e_msg_composer_get_recipients): Added. Returns the full set of recipient destinations in a vector. * e-msg-composer-hdrs.c: Removed free_destv function. We use e_destination_freev instead. (e_msg_composer_hdrs_get_to): Changed to return a vector of EDestinations. This function now works. (e_msg_composer_hdrs_get_cc): Ditto. (e_msg_composer_hdrs_get_bcc): Ditto. (e_msg_composer_hdrs_get_recipients): Added. Returns a vector of EDestinations that is the union of the to, cc and bcc lines. (e_msg_composer_hdrs_set_to): Changed to take a vector of EDestinations, rather than a GList. (e_msg_composer_hdrs_set_cc): Ditto. (e_msg_composer_hdrs_set_bcc): Ditto. (e_msg_composer_hdrs_to_message): Use our new, improved API, rather than a bunch of poking around in BonoboPropertyBags, etc. svn path=/trunk/; revision=12711
* Pass in FALSE as the 'sending' arg to e_msg_composer_get_message.Jon Trowbridge2001-08-301-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | 2001-08-29 Jon Trowbridge <trow@ximian.com> * e-msg-composer.c (e_msg_composer_get_message_draft): Pass in FALSE as the 'sending' arg to e_msg_composer_get_message. (build_message): Added a 'sending' arg, which is passed to e_msg_composer_get_message. (e_msg_composer_get_message): Added a 'sending' arg, which gets passed directly on to build_message. * e-msg-composer-hdrs.c (e_msg_composer_hdrs_to_message): Added a "sending" arg, which should be TRUE if the message is being sent now (rather than being autosaved, etc.). The address use scores are only updated when sending. (Bug #8332) Removed obsolete (#if 0/#endif-ed) code. 2001-08-29 Jon Trowbridge <trow@ximian.com> * mail-callbacks.c (composer_get_message): When calling e_msg_composer_get_message, pass in TRUE for the 'sending' arg. (Part of the fix for bug #8332) svn path=/trunk/; revision=12518
* remove the timer id.Larry Ewing2001-07-041-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-07-03 Larry Ewing <lewing@ximian.com> * e-msg-composer.h: remove the timer id. * e-msg-composer.c: use autosave manager. (autosave_save_draft): moved initialization to autosave_init_file. Only save the buffer if we get a valid message. (autosave_load_draft): unlink the old file, we own it now. and unref the stream when we are done with it. (autosave_is_owned): check if we own the file, this needs to be extended to check for other valid processes. (autosave_query_load_orphans): make this search through the managers list as it walks the dir. (autosave_query_load_orphans): make sure we use the full path. (autosave_run_foreach_cb): timeout foreach handler. (autosave_run): the timeout function. (autosave_start): start timer. (autosave_stop): stop timer. (autosave_register): register a composer with the autosave manager. (autosave_unregister): unregister a composer. (destroy): unregister the composer, everything is okay. (init): register the composer. svn path=/trunk/; revision=10762
* querythe user to check if they want to load any orphans we've found.Larry Ewing2001-07-041-1/+6
| | | | | | | | | | | | | 2001-07-02 Larry Ewing <lewing@ximian.com> * e-msg-composer.c (autosave_query_load_orphans): querythe user to check if they want to load any orphans we've found. (autosave_query_cb): the dialog callback. (autosave_is_orphan): test if if a particular file is orphaned. (autosave_load_draft): load a message from an autosave file. (autosave_save_draft): save the current buffer to the autosave file. svn path=/trunk/; revision=10761
* use bonobo-conf everywhereDietmar Maurer2001-07-041-1/+2
| | | | | | | | 2001-07-03 Dietmar Maurer <dietmar@ximian.com> * *: use bonobo-conf everywhere svn path=/trunk/; revision=10760
* Set the user-chosen charset.Jeffrey Stedfast2001-07-031-0/+2
| | | | | | | | | | | | | | | | 2001-07-02 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-attachment-bar.c (attach_to_multipart): Set the user-chosen charset. * e-msg-composer.c (menu_change_charset_cb): New callback function to get the user-set charset. (init): Set the charset to NULL. (best_charset): Take a default_charset param that holds the value the user set for this particular message using the menu. (destroy): Free the charset. svn path=/trunk/; revision=10704
* exportedRadek Doulik2001-06-291-0/+2
| | | | | | | | 2001-06-28 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (e_msg_composer_get_sig_file_content): exported svn path=/trunk/; revision=10577
* simplified(refactored) signature handling + better support for htmlRadek Doulik2001-06-291-7/+2
| | | | | | signatures svn path=/trunk/; revision=10563
* Added S/MIME sign/encrypt code. (init): Initalize smime_sign/encrypt.Jeffrey Stedfast2001-05-171-14/+25
| | | | | | | | | | | | | | | | 2001-05-16 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (build_message): Added S/MIME sign/encrypt code. (init): Initalize smime_sign/encrypt. (e_msg_composer_get_smime_encrypt): new (e_msg_composer_set_smime_encrypt): new (e_msg_composer_get_smime_sign): new (e_msg_composer_set_smime_sign): new (menu_security_smime_sign_cb): new (menu_security_smime_encrypt_cb): new (setup_ui): Setup the UI for S/MIME stuff. svn path=/trunk/; revision=9858
* signature editing fixesRadek Doulik2001-05-041-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * signature editing fixes 2001-05-03 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (get_signature_html): put signature in 100% width table (delete_old_signature): look only for first flow with signature == 1 (e_msg_composer_new): don't insert <BR> (e_msg_composer_new_with_sig_file): ditto (delete_old_signature): don't delete whole signature paragraph, but just it's content (delete_old_signature): if signature isn't found, insert new empty paragraph to end of document for new signature (e_msg_composer_set_sig_file): delete signature always (e_msg_composer_set_sig_file): don't place signature to the end of document, but place it where previous one was (if there wasn't then new one is appended to the document) 2001-05-02 Radek Doulik <rodo@ximian.com> * listener.c (impl_event): do automagic indenting only when in_signature_insert is FALSE * e-msg-composer.c (e_msg_composer_set_sig_file): do indent-zero before signature inserting (e_msg_composer_set_sig_file): use in_signature_insert flag 2001-05-01 Radek Doulik <rodo@ximian.com> * listener.c (impl_event): set signature to 0 in newly created empty paragraphs (clear_signature): new helper function svn path=/trunk/; revision=9658
* signature changingRadek Doulik2001-04-251-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | * signature changing 2001-04-25 Radek Doulik <rodo@ximian.com> * listener.c (impl_event): reflect object data type change * e-msg-composer.c (get_sig_file_content): renamed from get_signature (get_signature_html): new helper function, uses get_sig_file_content (set_editor_text): removed signature parameters (from_changed_cb): new signal handler, sets signature by identity change (delete_old_signature): new function, deletes old signature from the document (e_msg_composer_set_sig_file): new method, set's signature filename (e_msg_composer_mark_text_orig): removed (obsolete) * e-msg-composer-hdrs.c: added signal FROM_CHANGED svn path=/trunk/; revision=9557
* Replace #include <gtk/gtk.h> Replace #include <gnome.h> Remove #includeKjartan Maraas2001-03-301-2/+2
| | | | | | | | | | | | | | | | | | | 2001-03-29 Kjartan Maraas <kmaraas@gnome.org> * e-icon-list.c: Replace #include <gtk/gtk.h> * e-msg-composer-attachment-bar.c: Replace #include <gnome.h> * e-msg-composer-attachment-bar.h: Remove #include <gnome.h> * e-msg-composer-attachment.c: Remove #include <gnome.h> * e-msg-composer-attachment.h: Same here. * e-msg-composer-hdrs.c: Replace #include <gnome.h> and <bonobo.h> * e-msg-composer-hdrs.h: Replace #include <gnome.h> * e-msg-composer-file.c: #include <gtk/gtkmain.h>, <gtk/gtksignal.h> * e-msg-composer.c: Replace #include <bonobo.h>, <gnome.h> * e-msg-composer.h: Replace #include <gnome.h> and <bonobo.h> * evolution-composer.c: Replace #include <bonobo.h> * listener.c: Same here. svn path=/trunk/; revision=9023
* Added view_replyto member.Jeffrey Stedfast2001-03-131-10/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-12 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.h: Added view_replyto member. * e-msg-composer.c (e_msg_composer_get_visible_flags): Find out if we want to view the Reply-To header. (e_msg_composer_set_view_replyto): A new function to set the state of the replyto header. (menu_view_replyto_cb): Callback for setting the ReplyTo state. (set_config): Make static. (setup_ui): Setup the ReplyTo bonobo stuff. (load_from_property_bag): More defaults for the ReplyTo, yay. (load_from_gnome_config): Again... (e_msg_composer_get_view_bcc): Implemented. (e_msg_composer_get_view_cc): Implemented. (e_msg_composer_get_view_from): Implemented. (e_msg_composer_get_view_replyto): Implemented. * e-msg-composer-hdrs.c (e_msg_composer_hdrs_get_reply_to_entry): New function, yay. (e_msg_composer_hdrs_get_reply_to): Another new function. (e_msg_composer_hdrs_set_reply_to): Yet another new function... (create_headers): Create the reply-to header. (attach_headers): Attach the reply_to. (headers_set_visibility): Set the reply_to visibility. (e_msg_composer_hdrs_to_message): Set the message's reply-to here based on the user-set reply-to header. svn path=/trunk/; revision=8657
* New function. Used to store integer values into the configuration engine.Miguel de Icaza2001-03-081-5/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-06 Miguel de Icaza <miguel@ximian.com> * e-msg-composer.c (set_config): New function. Used to store integer values into the configuration engine. Handles the case of Bonobo-conf being installed, or falls back to gnome_config. * e-msg-composer-hdrs.c (add_header): Renamed to be header_new_recipient(). Now we take care of the other cases in create_headers, which is a lot nicer now. (create_optionmenu): Removed extra "name" argument which was not being used anyways (the only arg passed was From:). (init): Removed all the redundant NULL initialization by using nice g_new0 (create_headers): New function, much cleaner. Use of Pair structure everywhere instead of individual widgets to keep track of which ones are visible and which ones are not. * e-msg-composer.c (setup_ui): Handle ViewFrom and ViewBCC commands. (menu_view_bcc_cb, menu_view_from_cb): New functions that implement the features described. (menu_format_html_cb): Removed unrequired test, as e_msg_composer_set_send_html already optimizes the case of the state being the same. (menu_security_pgp_encrypt_cb): Remove redundant code. (menu_security_pgp_sign_cb): ditto. 2001-03-06 Miguel de Icaza <miguel@ximian.com> * evolution-message-composer.xml: Reorder menus to be File, Edit, View, Insert, Format (instead of File, Edit, Format, View, Insert). Add View/From Field and View/From BCC Add Insert/File. Add File/Send menu item. Change the look to follow the "mailer" look (thiner display). svn path=/trunk/; revision=8590
* Updated. We might want to change the corba interface for this to allowJeffrey Stedfast2001-02-111-0/+1
| | | | | | | | | | | | | | | 2001-02-10 Jeffrey Stedfast <fejj@ximian.com> * evolution-composer.c (impl_Composer_set_headers): Updated. We might want to change the corba interface for this to allow setting the from-address as well. * e-msg-composer.c (e_msg_composer_new_with_message): Updated. (e_msg_composer_set_headers): Now takes a 'From' argument so that we can try to pre-determine the account the user will want to send from. svn path=/trunk/; revision=8165
* (Moving the flag for has_changed from the Hdrs to the Composer itself.Jason Leach2001-01-261-0/+5
| | | | | | | | | | | | | | | | | | | | | | 2001-01-25 Jason Leach <jasonleach@usa.net> (Moving the flag for has_changed from the Hdrs to the Composer itself. Providing public methods to set/unset a composer as changed. Adding attachments now flags the composer as changed) * e-msg-composer.c (e_msg_composer_unset_changed): New function. (e_msg_composer_set_changed): New function. * e-msg-composer.c (hdrs_changed_cb): Callback to the new signal, uses the new composer_set_changed. (attachment_bar_changed_cb): Add a call to the new _set_changed. * e-msg-composer-hdrs.c (class_init): New signal "hdrs_changed" to tell the parent composer that any of the headers have changed. (addressbook_entry_changed): emit the new signal here. (entry_changed): And here. svn path=/trunk/; revision=7818
* publicate mark_orig_text (set_editor_text): don't call mark_orig_text, letRadek Doulik2001-01-171-0/+1
| | | | | | | | | | 2001-01-16 Radek Doulik <rodo@helixcode.com> * e-msg-composer.c (e_msg_composer_mark_text_orig): publicate mark_orig_text (set_editor_text): don't call mark_orig_text, let it for reply svn path=/trunk/; revision=7543
* Call set_from_account which means we no longer have to do all the crapJeffrey Stedfast2001-01-131-0/+5
| | | | | | | | | | | | | | | | | | | | | | 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
* Only attach to "changed" if the widget is an EEntry. The HEADER_COMBOBOXMiguel de Icaza2001-01-121-1/+0
| | | | | | | | | | | | | | 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
* Add an ItemContainer Bonobo interface to allow client applications toMiguel de Icaza2001-01-121-1/+2
| | | | | | | | | | 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
* New function to get whether or not to encrypt the message.Jeffrey Stedfast2000-12-161-0/+8
| | | | | | | | | | | | | | 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
* added warnings (prepare_engine): updated toRadek Doulik2000-12-081-2/+2
| | | | | | | | | | | | 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
* updates for HTMLEditor API changesRadek Doulik2000-11-161-5/+5
| | | | | | | | | | 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
* e_msg_composer_guess_mime_type renamed and movedRadek Doulik2000-11-151-0/+1
| | | | | | | | | 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
* (get_signature): added in_html arg, it tells if we should use HTMLRadek Doulik2000-11-091-1/+2
| | | | | | | | | 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
* new function (destroy): use e_msg_composer_clear_inlined_table, destroyRadek Doulik2000-11-081-32/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* use inline images hash tableRadek Doulik2000-11-041-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* The big api rename ...Michael Meeks2000-11-021-2/+2
| | | | | | | | 2000-11-02 Michael Meeks <michael@helixcode.com> * The big api rename ... svn path=/trunk/; revision=6346
* better reply editing, uses new HTMLEditor::Engine,Listener interfacesRadek Doulik2000-11-011-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | you need fresh CVS gtkhtml to try that 2000-10-31 Radek Doulik <rodo@helixcode.com> * e-msg-composer.c (prepare_engine): new function, tries prepare editor engine (mark_orig_text): marks original text in editor (set_editor_text): call mark_orig_text (create_composer): call prepare_engine * Makefile.am (IDL_GENERATED): added HTMLEditor generated files to IDL_GENERATED ($(IDL_GENERATED)): generate also files from HTMLEditor.idl (libcomposer_la_SOURCES): added listener.[ch] * e-msg-composer.h: added editor_engine and editor_listener to EMsgComposer * listener.[ch]: new files, implementation of HTMLEditor::Listener svn path=/trunk/; revision=6292
* kill. (create_toolbar): die. (setup_ui): impl. (e_msg_composer_construct):Michael Meeks2000-10-191-1/+1
| | | | | | | | | | | | | | | | | 2000-10-19 Michael Meeks <michael@helixcode.com> * e-msg-composer.c (create_menubar_file, create_menubar_edit), (create_menubar_format, create_menubar_view, create_menubar): kill. (create_toolbar): die. (setup_ui): impl. (e_msg_composer_construct): hook in. (menu_format_html_cb): update. (menu_view_attachments_activate_cb): ditto. (destroy): upd. (e_msg_composer_construct): upd. (e_msg_composer_set_send_html): upd. svn path=/trunk/; revision=6018
* Don't g_error out if the html-editor-control fails. (create_composer): NewDan Winship2000-09-191-4/+4
| | | | | | | | | | | | | * e-msg-composer.c (e_msg_composer_construct): Don't g_error out if the html-editor-control fails. (create_composer): New internal function to create and construct a msg_composer and pop up an error message if it fails. (e_msg_composer_new, e_msg_composer_new_with_sig_file, e_msg_composer_new_with_message, e_msg_composer_new_from_url): Use create_composer, return if it fails, change return type to EMsgComposer *. svn path=/trunk/; revision=5501
* The Commit from hell that breaks all UI related stuff;Michael Meeks2000-09-141-2/+2
| | | | | | Anything UI related that breaks is now my fault; apologies in advance. svn path=/trunk/; revision=5415
* This needs to return a const char * and not a char *, because we're notJeffrey Stedfast2000-09-021-9/+9
| | | | | | | | | | | | | | 2000-09-01 Jeffrey Stedfast <fejj@helixcode.com> * e-msg-composer.c (e_msg_composer_get_sig_file): This needs to return a const char * and not a char *, because we're not actually allocating memory here. (create_menubar_file): Changed "Send" to "Send Now" and added "Send Later" (menu_file_send_later_cb): New callback that emits the POSTPONE signal (equivalent to "Send Later" svn path=/trunk/; revision=5177
* This needs to return a const char * and not a char *, because we're notJeffrey Stedfast2000-09-021-1/+1
| | | | | | | | | | 2000-09-01 Jeffrey Stedfast <fejj@helixcode.com> * e-msg-composer.c (e_msg_composer_get_sig_file): This needs to return a const char * and not a char *, because we're not actually allocating memory here. svn path=/trunk/; revision=5173
* Prompt the user to save their composition in Drafts. (set_editor_text):Jeffrey Stedfast2000-08-071-0/+1
| | | | | | | | | | | | | | | 2000-08-07 Jeffrey Stedfast <fejj@helixcode.com> * e-msg-composer.c (do_exit): Prompt the user to save their composition in Drafts. (set_editor_text): Uhm, use "-- \n" not "--\n" because the space is called for in the standard (e_msg_composer_new_with_message): New convenience function that takes a CamelMimeMessage as an argument. This will be useful when we code the ability to resume the editing of a message draft (like in the Drafts folder). svn path=/trunk/; revision=4562
* Constify paramJP Rosevear2000-08-021-1/+1
| | | | | | | | | | | | 2000-08-01 JP Rosevear <jpr@helixcode.com> * e-msg-composer.h: Constify param * e-msg-composer.c (get_signature): Constify param (set_editor_text): ditto (e_msg_composer_new_with_sig_file): ditto svn path=/trunk/; revision=4458
* New function to create composer with sig file set.JP Rosevear2000-07-291-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-07-28 JP Rosevear <jpr@arcavia.com> * e-msg-composer.c (e_msg_composer_new_with_sig_file): New function to create composer with sig file set. (e_msg_composer_get_sig_file): New function to get sig file (e_msg_composer_set_sig_file): New function to set sig file 2000-07-29 JP Rosevear <jpr@arcavia.com> * mail-format.c (mail_generate_reply): Use new mail config stuff * component-factory.c (create_imap_storage): Use new mail config stuff (create_news_storage): ditto * evolution-mail.schemas: Gconf schema for evolution mail * mail-config-druid.glade: Gladification of config druid * mail-config.h: New header with config structs. * mail-config.c: Rewrite of GUI configuration tools to use new config structs. Stores multiple identities and sources now. Still only uses the first one found. (mail_config_fetch): Returns MailConfig struct to caller for configuration queries. (mail_config): Renamed function to show mail config dialog. (mail_config_druid): Renamed function to show mail config druid. * mail-ops.c (create_msg_composer): Use e_msg_composer_new_with_sig_file and new config stuff (check_configured): Use new config stuff (fetch_mail): ditto (composer_send_cb): ditto svn path=/trunk/; revision=4413
* Add a "Send HTML mail" toggle in the message composer.Ettore Perazzoli2000-07-231-0/+5
| | | | svn path=/trunk/; revision=4284
* I18N the message composer's title bar. Don't install header files.Ettore Perazzoli2000-06-171-0/+3
| | | | | | | | | Initial implementation of the "Open" and "Save as" commands (not really tested/finished, I am just syncing the tree before leaving). Put the cursor on the "To:" field when the message composer is shown. Set the correct shadow type in the scroll frame. svn path=/trunk/; revision=3603
* Make the message composer use a EScrollFrame for the attachment barEttore Perazzoli2000-06-131-1/+1
| | | | | | and make the quit message I18N aware. svn path=/trunk/; revision=3533
* New convenience function.Dan Winship2000-06-061-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-msg-composer.c (e_msg_composer_attach): New convenience function. * e-msg-composer-attachment.c: Store a CamelMimePart rather than filename/description/mime_type info. Also record whether we were told or guessed the MIME type. (e_msg_composer_attachment_new_from_mime_part): New constructor. (e_msg_composer_attachment_edit): Remove the "browse" button. (If the user wants to change the actual file that the attachment is based on, he should delete the attachment and create a new one...) Remove the "Apply" button, because it's not all that useful. Make the MIME type only track the filename if it was guessed rather than being provided. * e-msg-composer-attachment.glade: Remove "browse" and "apply" buttons. Make filename editable. * e-msg-composer-attachment-bar.c (sort): Removed. Send the attachments in the order the user attached them in. (text_changed): Removed, since we weren't enabling the relevant GnomeIconList functionality that would have used this. (update): Don't print the size if it's 0. (attach_to_multipart, etc): adjust for EMsgComposerAttachment changes. (attach_to_multipart): Use 7bit encoding for message/ subparts. (e_msg_composer_attachment_bar_attach_mime_part): New convenience function. svn path=/trunk/; revision=3430
* New routine, to process mailto URLs.Dan Winship2000-04-281-0/+1
| | | | | | | * e-msg-composer.c (e_msg_composer_new_from_url): New routine, to process mailto URLs. svn path=/trunk/; revision=2663
* new function to make the composer record additional headers it shouldDan Winship2000-04-231-0/+4
| | | | | | | | | * e-msg-composer.c (e_msg_composer_add_header): new function to make the composer record additional headers it should output. (In-Reply-To), etc. (build_message): output them svn path=/trunk/; revision=2552
* new functionsDan Winship2000-04-221-0/+10
| | | | | | | | | | | | | * e-msg-composer.c (e_msg_composer_set_headers): (e_msg_composer_set_body_text): new functions * e-msg-composer-hdrs.c: const poisoning (e_msg_composer_hdrs_set_subject): (e_msg_composer_hdrs_get_subject): new functions * e-msg-composer-address-entry.c: const poisoning svn path=/trunk/; revision=2548
* Bonobization of the message composer, part 1.Ettore Perazzoli2000-03-021-8/+10
| | | | svn path=/trunk/; revision=2012
* Don't use libglade for menus and toolbars in the message composerEttore Perazzoli2000-03-021-4/+0
| | | | | | anymore. This is the first step; next step is to use BonoboUIHandler. svn path=/trunk/; revision=2010
* More work:Ettore Perazzoli1999-11-171-0/+87
- Fixed some Camel API naming issues. - Moved the message composer stuff to the `composer' directory. svn path=/trunk/; revision=1395