aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer-hdrs.h
Commit message (Collapse)AuthorAgeFilesLines
* (Moving the flag for has_changed from the Hdrs to the Composer itself.Jason Leach2001-01-261-0/+2
| | | | | | | | | | | | | | | | | | | | | | 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
* Updated to reflect changes to e_msg_composer_hdrs_get_from().Jeffrey Stedfast2001-01-181-1/+1
| | | | | | | | | | | | | | | | | 2001-01-18 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (build_message): Updated to reflect changes to e_msg_composer_hdrs_get_from(). * e-msg-composer-hdrs.c (set_recipients): Don't do anymore utf8 conversions, the widget already does this (or should unless there is brokenness). (e_msg_composer_hdrs_get_from): Return a CamelInternetAddress like we should. (e_msg_composer_hdrs_to_message): Update to reflect changes made the the above function. svn path=/trunk/; revision=7614
* (Bug #1192: Set the Composer window title to something useful)Jason Leach2001-01-181-0/+2
| | | | | | | | | | | | | | | | | | | 2001-01-17 Jason Leach <jasonleach@usa.net> (Bug #1192: Set the Composer window title to something useful) * e-msg-composer.c (e_msg_composer_construct): Connect up the new signal here. (subject_changed_cb): Set the composer window title to the subject as it's changed, or if it goes blank make it the default "Compose a message". * e-msg-composer-hdrs.c (class_init): Create a new signal "subject_changed". (entry_changed): Emit the signal here when the subject entry is changed. svn path=/trunk/; revision=7610
* Call set_from_account which means we no longer have to do all the crapJeffrey Stedfast2001-01-131-2/+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
* If the headers have changed, then continue with the prompt else justJeffrey Stedfast2001-01-041-0/+2
| | | | | | | | | | | | | 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
* Set the "From" address in the CamelMimeMessage. Also updated to useJeffrey Stedfast2000-08-291-1/+1
| | | | | | | | | | | | | | | | 2000-08-28 Jeffrey Stedfast <fejj@helixcode.com> * e-msg-composer-hdrs.c (e_msg_composer_hdrs_to_message): Set the "From" address in the CamelMimeMessage. Also updated to use get_subject to both make our lives easier and prepare for using UTF8 (e_msg_composer_hdrs_get_subject): Updated to behave similarly to get_from and return allocated memory (it will have to return allocated memory once it's converted to use UTF8 anyways) * e-msg-composer.c (setup_save_draft): Always set composer->send_html = TRUE so that formatting is preserved. svn path=/trunk/; revision=5084
* Modified to allow dropdown entry-boxes as well (for headers like From:)Jeffrey Stedfast2000-08-101-0/+3
| | | | | | | | | | | | | | | | | 2000-08-09 Jeffrey Stedfast <fejj@helixcode.com> * e-msg-composer-hdrs.c (add_header): Modified to allow dropdown entry-boxes as well (for headers like From:) (setup_headers): Modified to use the correct enum type. (create_dropdown_entry): New convenience function to add a drop-down combo box and fill it in with identities (init): Set from_entry to NULL (e_msg_composer_hdrs_get_from): New convenience function to get the text in the From widget in the composer (e_msg_composer_hdrs_set_from): New convenience function to set the From header in the composer svn path=/trunk/; revision=4673
* I18N the message composer's title bar. Don't install header files.Ettore Perazzoli2000-06-171-18/+24
| | | | | | | | | 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
* new functionsDan Winship2000-04-221-3/+6
| | | | | | | | | | | | | * 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
* More work:Ettore Perazzoli1999-11-171-0/+80
- Fixed some Camel API naming issues. - Moved the message composer stuff to the `composer' directory. svn path=/trunk/; revision=1395