aboutsummaryrefslogtreecommitdiffstats
path: root/composer
Commit message (Collapse)AuthorAgeFilesLines
* In the GUI, the toggle is labelled "hide addresses", not "show addresses"Jon Trowbridge2001-08-232-1/+143
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-08-22 Jon Trowbridge <trow@ximian.com> * gui/contact-list-editor/e-contact-list-editor.c (extract_info): In the GUI, the toggle is labelled "hide addresses", not "show addresses" -- so we have to reverse the boolean value we read in. (fill_in_info): Same bug as before: since the GUI reads "hide", we have to initialize the toggle to '!show_addresses', not 'show_addresses'. * backend/ebook/e-destination.c (e_destination_list_show_addresses): Added. (e_destination_xml_encode): Encode the value of e_destination_list_show_addresses into the XML. (e_destination_xml_decode): Read and store the "show_addresses" flag. 2001-08-22 Jon Trowbridge <trow@ximian.com> * e-msg-composer-hdrs.c (set_recipients_from_destv): Added. Try to properly handle contact lists in which the addresses of the list members should be hidden. (e_msg_composer_hdrs_to_message): Changed to extract the destination data from the entries and pass it along to set_recipients_from_destv. 2001-08-22 Jon Trowbridge <trow@ximian.com> * mail-callbacks.c (ask_confirm_for_only_bcc): Provide alternative text for this dialog for the case when a message has only Bcc recipients because of a hidden contact list's addresses being moved from To/Cc to Bcc. (composer_get_message): Try to detect when our message has only Bcc recipients because of moving addresses around due to a hidden contact list, and show the dialog with the revised wording in this case. svn path=/trunk/; revision=12414
* When reporting an error, use my_file_name instead of file_name sinceJeffrey Stedfast2001-08-232-5/+11
| | | | | | | | | 2001-08-22 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (save): When reporting an error, use my_file_name instead of file_name since file_name can be NULL. svn path=/trunk/; revision=12387
* s/attempt recovery/try to recover them/.Ettore Perazzoli2001-08-222-1/+6
| | | | | | | * e-msg-composer.c (autosave_manager_query_load_orphans): s/attempt recovery/try to recover them/. svn path=/trunk/; revision=12356
* Reset the "changed" state to FALSE after a successful save.Jeffrey Stedfast2001-08-202-1/+9
| | | | | | | | | 2001-08-19 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (save_draft): Reset the "changed" state to FALSE after a successful save. svn path=/trunk/; revision=12224
* formatted code nicerJeffrey Stedfast2001-08-181-11/+9
| | | | svn path=/trunk/; revision=12181
* Toggle the View->Attachments menu item. This fixes bug #6107.Jeffrey Stedfast2001-08-183-34/+33
| | | | | | | | | 2001-08-17 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (show_attachments): Toggle the View->Attachments menu item. This fixes bug #6107. svn path=/trunk/; revision=12177
* YESS!Peter Williams2001-08-152-19/+53
| | | | | | | | | | | | | | 2001-07-12 Peter Williams <peterw@ximian.com> * e-msg-composer.c (map_default_cb): New function. Figure out which widget gets the default and assign it. Harder to do than it sounds. (e_msg_composer_construct): Hook map_default_cb up to the "map" signal. (set_focus_to_editor): Removed. (set_focus_to_editor_idle): Removed. svn path=/trunk/; revision=12037
* Removed comment about the need to resolve nicknames properly, because weJon Trowbridge2001-08-112-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-08-10 Jon Trowbridge <trow@ximian.com> * e-msg-composer-hdrs.c (set_recipients): Removed comment about the need to resolve nicknames properly, because we now do that. 2001-08-10 Jon Trowbridge <trow@ximian.com> * e-filter-bar.h: Set the subitems to NULL in the pre-defined ESearchBarItems. * e-filter-bar.c (rule_editor_clicked): Set the ESearchBarItem's subitems to NULL. (build_items): Set the ESearchBarItem's subitems to NULL. (e_filter_bar_new): Set the ESearchBarItem's subitems to NULL. * e-search-bar.c: Added support for subitems, so that a search option can key off of another option menu rather than just an entry. 2001-08-10 Jon Trowbridge <trow@ximian.com> * gui/component/addressbook.c: Set the ESearchBarItem subitems explicitly to NULL. 2001-08-10 Jon Trowbridge <trow@ximian.com> * gui/cal-search-bar.c: Where we have ESearchBarItems, set their subitems to NULL. 2001-08-10 Jon Trowbridge <trow@ximian.com> * folder-browser.c: Set our ESearchBarItems subitems to NULL. svn path=/trunk/; revision=11904
* new helper function, just setup idle callback to grab focusRadek Doulik2001-08-102-12/+34
| | | | | | | | | | | | | 2001-08-09 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (set_focus_to_editor): new helper function, just setup idle callback to grab focus (set_focus_to_editor_idle): grab focus for editor, before we have better solution, it run grab-focus command on editor control (e_msg_composer_construct): call prepare_engine here, set focus to editor svn path=/trunk/; revision=11875
* Don't forget to closedir() when we finish with dir.Jeffrey Stedfast2001-08-102-1/+8
| | | | | | | | | 2001-08-10 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (autosave_manager_query_load_orphans): Don't forget to closedir() when we finish with dir. svn path=/trunk/; revision=11872
* Set the smime/pgp always-sign options when here so it updates when theJeffrey Stedfast2001-08-103-3/+13
| | | | | | | | | | 2001-08-09 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (from_changed_cb): Set the smime/pgp always-sign options when here so it updates when the user changes his/her identity. svn path=/trunk/; revision=11840
* Set the PGP/MIME and S/MIME options to FALSE before getting the messageJeffrey Stedfast2001-08-093-4/+27
| | | | | | | | | | 2001-08-08 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (e_msg_composer_get_message_draft): Set the PGP/MIME and S/MIME options to FALSE before getting the message draft and restore the values afterward. svn path=/trunk/; revision=11802
* Use g_basename(). (setup_ui): Get the default charset from the mail configJeffrey Stedfast2001-08-072-79/+91
| | | | | | | | | 2001-08-06 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (add_inlined_image): Use g_basename(). (setup_ui): Get the default charset from the mail config db. svn path=/trunk/; revision=11716
* handle delete eventRadek Doulik2001-08-072-1/+22
| | | | | | | | 2001-08-06 Radek Doulik <rodo@ximian.com> * listener.c (impl_event): handle delete event svn path=/trunk/; revision=11700
* More updates to icons, this time the Save, Save As, and Search icons forJacob Leach2001-08-011-2/+4
| | | | | | a few places. svn path=/trunk/; revision=11544
* ui:Peter Williams2001-08-012-0/+9
| | | | | | | | | | | | | | | | 2001-07-31 Peter Williams <peterw@ximian.com> * evolution-message-composer.xml: Add "Customize Toolbars" menu item and command. composer: 2001-07-31 Peter Williams <peterw@ximian.com> * e-msg-composer.c (setup_ui): Set the config path for the composer so that the customize toolbar command works. svn path=/trunk/; revision=11529
* Use the new Send and Send Later icons for the toolbar and menus in theJacob Leach2001-07-312-1/+11
| | | | | | composer. (Beautiful work Tuomas and Jakub!) svn path=/trunk/; revision=11511
* Properly add the message/rfc822 part.Jeffrey Stedfast2001-07-312-1/+13
| | | | | | | | | 2001-07-30 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (message_rfc822_dnd): Properly add the message/rfc822 part. svn path=/trunk/; revision=11478
* Jason Leach <jleach@ximian.com>Jacob Leach2001-07-282-1/+7
| | | | | | | | * e-msg-composer.c (get_signature_html): "-- \n" is 4 chars long, so when checking if it's already in the sig, strncmp should check 4 chars, not 3. svn path=/trunk/; revision=11447
* Correct our manually inserted signature dash thingie (it was missing thePeter Williams2001-07-262-1/+10
| | | | | | | | | 2001-07-26 Peter Williams <peterw@ximian.com> * e-msg-composer.c (get_signature_html): Correct our manually inserted signature dash thingie (it was missing the space). svn path=/trunk/; revision=11426
* Removed some debugging chatter.Jon Trowbridge2001-07-262-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-07-26 Jon Trowbridge <trow@ximian.com> * backend/ebook/e-card.c: Removed some debugging chatter. * gui/component/select-names/e-select-names-manager.c (e_select_names_manager_create_entry): Store the completion handler in the entry's object data. * gui/component/select-names/e-select-names-bonobo.c (entry_get_property_fn): Added support for getting "destinations" and "allow_contact_lists" properties. (entry_set_property_fn): Added support for setting "destinations" and "allow_contact_lists" properties. (impl_SelectNames_get_entry_for_section): Added definitions for "destinations" and "allow_contact_lists" properties. * gui/component/select-names/e-select-names-completion.c (e_select_names_completion_get_match_contact_lists): Added. (e_select_names_completion_set_match_contact_lists): Added. Controls whether contact lists are offered as options during completion. (book_query_process_card_list): Check if match_contact_lists is set before (duh!) matching on a contact list. (e_select_names_completion_init): Set match_contact_lists to TRUE by default. 2001-07-26 Jon Trowbridge <trow@ximian.com> * e-msg-composer-hdrs.c (set_recipients): Get "destinations", rather than "text" from the entry_widget. (The getters/setters in the control have been made more symmetric.) svn path=/trunk/; revision=11422
* Update to the new way of finding the default account.Jason Leach2001-07-192-3/+14
| | | | | | | | | 2001-07-18 Jason Leach <jleach@ximian.com> * e-msg-composer-hdrs.c (create_from_optionmenu): Update to the new way of finding the default account. svn path=/trunk/; revision=11219
* USe a message box to look nicer.Iain Holmes2001-07-192-10/+12
| | | | svn path=/trunk/; revision=11204
* Correctly handle text/uri-list's that contain more than a single fileJeffrey Stedfast2001-07-182-24/+30
| | | | | | | | | 2001-07-17 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (drag_data_received): Correctly handle text/uri-list's that contain more than a single file reference. svn path=/trunk/; revision=11173
* Removed a warning that I don't need anymore. This code is workingJeffrey Stedfast2001-07-133-12/+17
| | | | | | | | | 2001-07-12 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (menu_changed_charset_cb): Removed a warning that I don't need anymore. This code is working wonderfully ;-) svn path=/trunk/; revision=11074
* Fix typo. s/sesiion/session/Kjartan Maraas2001-07-112-1/+5
| | | | | | | | 2001-07-10 Kjartan Maraas <kmaraas@gnome.org> * e-msg-composer.c: Fix typo. s/sesiion/session/ svn path=/trunk/; revision=10965
* Only ask once about recovery, assume if they want to recover one file theyLarry Ewing2001-07-102-17/+25
| | | | | | | | | | 2001-07-09 Larry Ewing <lewing@ximian.com> * e-msg-composer.c (autosave_manager_query_load_orphans): Only ask once about recovery, assume if they want to recover one file they want to recover all of them. svn path=/trunk/; revision=10948
* Use camel_internet_address_format_address rather than camel_address_encodeJeffrey Stedfast2001-07-103-34/+26
| | | | | | | | | | 2001-07-09 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (e_msg_composer_new_with_message): Use camel_internet_address_format_address rather than camel_address_encode since we want display-friendly addresses. svn path=/trunk/; revision=10930
* Close the file selection dialog when the composer is closedIain Holmes2001-07-102-0/+8
| | | | svn path=/trunk/; revision=10920
* Do the autosave_manager_unregister at shutdown time instead of destroyDan Winship2001-07-092-2/+20
| | | | | | | | | * e-msg-composer.c (composer_shutdown): Do the autosave_manager_unregister at shutdown time instead of destroy time (by which point the contents of the window, including the remote editor control, will have already been destroyed). svn path=/trunk/; revision=10913
* Added missing #include <config.h> to make translations working.Chyla Zbigniew2001-07-092-0/+9
| | | | | | | * e-msg-composer-select-file.c: Added missing #include <config.h> to make translations working. svn path=/trunk/; revision=10906
* Make sure that our destination string (dest_str) is not the empty stringJon Trowbridge2001-07-072-1/+7
| | | | | | | | | | 2001-07-07 Jon Trowbridge <trow@ximian.com> * e-msg-composer-hdrs.c (set_recipients): Make sure that our destination string (dest_str) is not the empty string before we try to use it. svn path=/trunk/; revision=10880
* (autosave_manager_query_load_orphans): remove zero length orphans so thatLarry Ewing2001-07-072-2/+6
| | | | | | | | | 2001-07-06 Larry Ewing <lewing@ximian.com> (autosave_manager_query_load_orphans): remove zero length orphans so that they don't clutter things up. svn path=/trunk/; revision=10874
* (best_encoding): make sure we don't try to call iconv_open with a NULLLarry Ewing2001-07-072-0/+5
| | | | | | | | | 2001-07-06 Larry Ewing <lewing@ximian.com> (best_encoding): make sure we don't try to call iconv_open with a NULL tocode. svn path=/trunk/; revision=10872
* add missing static.Larry Ewing2001-07-072-1/+6
| | | | | | | | 001-07-06 Larry Ewing <lewing@ximian.com> * e-msg-composer.c (autosave_manager_new): add missing static. svn path=/trunk/; revision=10870
* Convert the filename string to UTF8 before setting it on the CamelMimePartJeffrey Stedfast2001-07-073-16/+25
| | | | | | | | | | 2001-07-06 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-attachment.c (e_msg_composer_attachment_new): Convert the filename string to UTF8 before setting it on the CamelMimePart because that code expects it to be in UTF8. svn path=/trunk/; revision=10869
* only ask if there are actually contents in the file. Asking about anLarry Ewing2001-07-072-13/+33
| | | | | | | | | | | | 2001-07-06 Larry Ewing <lewing@ximian.com> * e-msg-composer.c (autosave_manager_query_load_orphans): only ask if there are actually contents in the file. Asking about an emptry fil is not very useful. (autosave_load_draft): add some sanity chacks. (autosave_run_foreach_cb): remove debugging warning. svn path=/trunk/; revision=10863
* revert previous "fix", which was wrongDan Winship2001-07-072-8/+2
| | | | svn path=/trunk/; revision=10851
* Call autosave_manager_unregister before destroying the composer, soDan Winship2001-07-072-2/+8
| | | | | | | | | * e-msg-composer.c (do_exit): Call autosave_manager_unregister before destroying the composer, so gtkhtml-editor-control doesn't try to act on a destroyed GtkHTML widget. (destroy): Remove the autosave_manager_unregister from here. svn path=/trunk/; revision=10850
* make sure we only remove the file if we think we saved it properly.Larry Ewing2001-07-062-10/+33
| | | | | | | | | | | | | | | 2001-07-06 Larry Ewing <lewing@ximian.com> * e-msg-composer.c (autosave_manager_unregister): make sure we only remove the file if we think we saved it properly. (autosave_manager_stop): make sure we set the timeout back to 0 so that we will restart next time since we stop the timer when there are no active composers. (destroy): move this to the beginning of the destroy process. (autosave_save_draft): add a return value indicating success. (autosave_manager_register): go ahead and ask next time. svn path=/trunk/; revision=10839
* i2001-07-05 Larry Ewing <lewing@ximian.com>Larry Ewing2001-07-062-37/+69
| | | | | | | | | | | * e-msg-composer.c: add ask argment. (autosave_manager_query_load_orphans): move the load loop out of the dir reading loop. (autosave_manager_new): move initialization out or register. (autosave_manager_register): protect against recursion with ask. (init): call new, this still needs to be moved. svn path=/trunk/; revision=10837
* Play the "File exists, overwrite?" game. (autosave_run_foreach_cb): ChangeJeffrey Stedfast2001-07-062-8/+38
| | | | | | | | | | | 2001-07-05 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (save): Play the "File exists, overwrite?" game. (autosave_run_foreach_cb): Change the return val from a gboolean to void. svn path=/trunk/; revision=10824
* attach send and postpone handlers. and be more tolerant of errors.Larry Ewing2001-07-042-2/+17
| | | | | | | | | 2001-07-04 Larry Ewing <lewing@ximian.com> * e-msg-composer.c (autosave_load_draft): attach send and postpone handlers. and be more tolerant of errors. svn path=/trunk/; revision=10778
* make sure we seek to the begining.Larry Ewing2001-07-042-1/+10
| | | | | | | | | 2001-07-03 Larry Ewing <lewing@ximian.com> * e-msg-composer.c (autosave_save_draft): make sure we seek to the begining. svn path=/trunk/; revision=10773
* remove the timer id.Larry Ewing2001-07-043-31/+128
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-043-19/+188
| | | | | | | | | | | | | 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-043-75/+45
| | | | | | | | 2001-07-03 Dietmar Maurer <dietmar@ximian.com> * *: use bonobo-conf everywhere svn path=/trunk/; revision=10760
* Made evolution depend on bonobo-conf 0.2.Christopher James Lahey2001-07-032-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-07-02 Christopher James Lahey <clahey@ximian.com> * configure.in: Made evolution depend on bonobo-conf 0.2. From calendar/ChangeLog: 2001-07-02 Christopher James Lahey <clahey@ximian.com> * gui/Makefile.am (INCLUDES): Added $(BONOBO_CONF_CFLAGS). (evolution_calendar_LDADD): Added $(BONOBO_CONF_LIBS). From composer/ChangeLog: 2001-07-02 Christopher James Lahey <clahey@ximian.com> * Makefile.am (INCLUDES): Added $(BONOBO_CONF_CFLAGS). From shell/ChangeLog: 2001-07-02 Christopher James Lahey <clahey@ximian.com> * Makefile.am (INCLUDES): Added $(BONOBO_CONF_CFLAGS). (evolution_LDADD): Added $(BONOBO_CONF_LIBS). svn path=/trunk/; revision=10718
* Set the user-chosen charset.Jeffrey Stedfast2001-07-035-13/+68
| | | | | | | | | | | | | | | | 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
* Construct an e-charset-picker bonobo-ui menu.Jeffrey Stedfast2001-07-032-25/+34
| | | | | | | | | 2001-07-02 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (setup_ui): Construct an e-charset-picker bonobo-ui menu. svn path=/trunk/; revision=10690
* Touch all of our EDestinations before we unref them, updating the last-useJon Trowbridge2001-06-302-1/+13
| | | | | | | | | | 2001-06-30 Jon Trowbridge <trow@ximian.com> * e-msg-composer-hdrs.c (set_recipients): Touch all of our EDestinations before we unref them, updating the last-use records in the addressbook. svn path=/trunk/; revision=10627
* make sure we show the sig file.Larry Ewing2001-06-302-1/+5
| | | | | | | | | | | | 2001-06-29 Larry Ewing <lewing@ximian.com> * mail-callbacks.c (create_msg_composer): make sure we show the sig file. * e-msg-composer.c (e_msg_composer_show_sig_file): remove now invalid argument in the documentation. svn path=/trunk/; revision=10616
* small cosmetic changes + added ChangeLog entries from last commitRadek Doulik2001-06-292-8/+13
| | | | | | | | | | | | | | | | | | | | 2001-06-28 Radek Doulik <rodo@ximian.com> * e-msg-composer.c: removed obsolete e_msg_composer_get_sig_file * e-msg-composer.h: removed sig_file field from EMsgComposer * e-msg-composer.c (e_msg_composer_get_sig_file_content): exported (get_file_content): make it const safe (e_msg_composer_get_sig_file_content): refactored, don't try to be clever about signature filename, as it's exact now (get_signature_html): use has_html_signature flag (e_msg_composer_show_sig_file): renamed from e_msg_composer_set_sig_file, removed sig_file parameter as it's obsolete now (e_msg_composer_new_with_sig_file): removed obsolete parameters svn path=/trunk/; revision=10579
* exportedRadek Doulik2001-06-293-4/+10
| | | | | | | | 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-293-69/+37
| | | | | | signatures svn path=/trunk/; revision=10563
* remove FIXME from FileInsertFile.Larry Ewing2001-06-282-178/+97
| | | | | | | | | | | | | | | 2001-06-27 Larry Ewing <lewing@ximian.com> * evolution-message-composer.xml: remove FIXME from FileInsertFile. * e-msg-composer.c (menu_file_insert_file_cb): make hook this up. (get_sig_file_content): use get_file_content. (get_file_content): make this usable for both insertion and signatures. (read_file_content): added helper function to read file. svn path=/trunk/; revision=10552
* Added a pixcache array for special pixmaps to use in the composer.Jeffrey Stedfast2001-06-282-1/+21
| | | | | | | | | | 2001-06-27 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c: Added a pixcache array for special pixmaps to use in the composer. (setup_ui): Set the pixcache. svn path=/trunk/; revision=10539
* Update the copyrights, replacing Helix Code with Ximian andEttore Perazzoli2001-06-2314-18/+18
| | | | | | helixcode.com with ximian.com all over the place. svn path=/trunk/; revision=10440
* Emit the POSTPONE signal if we are offline. (setup_ui): If we are offline,Jeffrey Stedfast2001-06-222-13/+34
| | | | | | | | | | | 2001-06-21 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (menu_file_send_cb): Emit the POSTPONE signal if we are offline. (setup_ui): If we are offline, change the Control+Enter accel to be on the SendLater menu item. svn path=/trunk/; revision=10372
* Save the formatting preference for this message draft using aJeffrey Stedfast2001-06-212-14/+46
| | | | | | | | | | | | 2001-06-20 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (save_draft): Save the formatting preference for this message draft using a X-Evolution-Format header. (e_msg_composer_new_with_message): Restore the format editing preference and also remove any other X-Evolution-* headers that we may have set. svn path=/trunk/; revision=10348
* Changed attachData to accept a sequence of chars rather than a string.Dave Camp2001-06-213-3/+14
| | | | | | | | | | | | | | | | | | | | | | | | | 2001-06-20 Dave Camp <dave@ximian.com> * Evolution-Composer.idl: Changed attachData to accept a sequence of chars rather than a string. * evolution-composer.c (impl_Composer_attach_data): Changed the 'data' argument to a GNOME_Evolution_Composer_AttachmentData, and pass data->_buffer and data->_length to camel_mime_part_set_content(). 2001-06-20 Dave Camp <dave@ximian.com> * gui/itip-utils.c (itip_send_comp): Changed attach_data to be a GNOME_Evolution_Composer_AttachmentData rather than a CORBA_char*. 2001-06-20 Dave Camp <dave@ximian.com> * backend/ebook/e-card.c (e_card_list_send): Changed attach_data to be a GNOME_Evolution_Composer_AttachmentData rather than a CORBA_char*. svn path=/trunk/; revision=10343
* send the messageJP Rosevear2001-06-203-1/+29
| | | | | | | | | | | 2001-06-19 JP Rosevear <jpr@ximian.com> * evolution-composer.c (impl_Composer_send): send the message * Evolution-Composer.idl: add a "send" method to send a message without showing the editor svn path=/trunk/; revision=10309
* Don't define the drop_types here. (drag_data_received): ImplementJeffrey Stedfast2001-06-202-24/+87
| | | | | | | | | | | 2001-06-19 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (e_msg_composer_construct): Don't define the drop_types here. (drag_data_received): Implement message/rfc822 dnd drop type handling. svn path=/trunk/; revision=10295
* Replace the disposition option menu with a checkbox.Dan Winship2001-06-137-157/+153
| | | | | | | | | | | | | | | | | | | | | | | | * e-msg-composer-attachment.glade: Replace the disposition option menu with a checkbox. * e-msg-composer-select-file.c (e_msg_composer_select_file_attachment): New function to select a file to attach. Adds a "suggest inline disposition" checkbox. * e-msg-composer-attachment.c (e_msg_composer_attachment_new): Add a disposition argument rather than always defaulting to "attachment". (struct _DialogData, ok_cb, e_msg_composer_attachment_edit): Update for optionmenu->checkbox change for disposition. * e-msg-composer-attachment-bar.c (add_from_file): Add a disposition argument. (add_from_user): Use e_msg_composer_select_file_attachment, pass chosen disposition to add_from_file. (e_msg_composer_attachment_bar_attach): Pass "attachment" to add_from_file for the disposition. svn path=/trunk/; revision=10200
* Fix again... don't leave *encoding uninitialized in the US-ASCII case.Dan Winship2001-06-122-1/+7
| | | | | | | * e-msg-composer.c (best_charset): Fix again... don't leave *encoding uninitialized in the US-ASCII case. svn path=/trunk/; revision=10193
* Rearranged gtk_widget_show()s a bit to fix Bug#3204. The composer is nowJon Trowbridge2001-06-122-3/+12
| | | | | | | | | | 2001-06-11 Jon Trowbridge <trow@ximian.com> * e-msg-composer.c (e_msg_composer_construct): Rearranged gtk_widget_show()s a bit to fix Bug#3204. The composer is now (like the rest of Evo) properly network transparent. svn path=/trunk/; revision=10191
* When saving a draft, attach information about the From: identity viaJon Trowbridge2001-06-092-2/+24
| | | | | | | | | | | | | 2001-06-08 Jon Trowbridge <trow@ximian.com> * e-msg-composer.c (save_draft): When saving a draft, attach information about the From: identity via X-Evolution-Account. This lets us select the correct identity when we edit it later. (e_msg_composer_new_with_message): If the message we are editting is tagged with an account (via X-Evolution-Account), make sure that the composer chooses that account's identity by default. svn path=/trunk/; revision=10161
* Don't use the default charset if the message is US-ASCII.Dan Winship2001-06-092-0/+8
| | | | | | | * e-msg-composer.c (best_charset): Don't use the default charset if the message is US-ASCII. svn path=/trunk/; revision=10157
* just set sig_file field, but don't actualy insert signature, it will beRadek Doulik2001-06-072-2/+8
| | | | | | | | | | | 2001-06-07 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (e_msg_composer_new_with_sig_file): just set sig_file field, but don't actualy insert signature, it will be done by format menu item callback (e_msg_composer_set_body_text): don't set signature here svn path=/trunk/; revision=10142
* If user is trying to sign his/her message, try first to use the key thatJeffrey Stedfast2001-06-032-29/+86
| | | | | | | | | | | | 2001-06-01 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (build_message): If user is trying to sign his/her message, try first to use the key that they might have provided in their account settings. If that was never set, default to their email address. Also respect their config option to encrypt-to-self. svn path=/trunk/; revision=10103
* Oops. Fix a few compile problems.Jeffrey Stedfast2001-06-012-2/+8
| | | | | | | | 2001-05-31 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (build_message): Oops. Fix a few compile problems. svn path=/trunk/; revision=10076
* Use --moddatadir to derive this.Christopher James Lahey2001-06-012-3/+7
| | | | | | | | | | | | | | 2001-05-31 Christopher James Lahey <clahey@ximian.com> * configure.in (GTKHTML_DATADIR): Use --moddatadir to derive this. From composer/ChangeLog: 2001-05-31 Christopher James Lahey <clahey@ximian.com> * Makefile.am (HTML_EDITOR_GENERATED): Use GTKHTML_DATADIR here. svn path=/trunk/; revision=10070
* Fixed up the S/MIME signing/encrypting code to work with the new API.Jeffrey Stedfast2001-06-012-80/+95
| | | | | | | | | 2001-05-31 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (build_message): Fixed up the S/MIME signing/encrypting code to work with the new API. svn path=/trunk/; revision=10069
* Add a missing iconv_closeDan Winship2001-05-312-0/+5
| | | | | | * e-msg-composer.c (best_encoding): Add a missing iconv_close svn path=/trunk/; revision=10060
* Use the config-specified default character set (which in turn defaults toDan Winship2001-05-312-308/+276
| | | | | | | | | | | | | | | | | * e-msg-composer.c (build_message): Use the config-specified default character set (which in turn defaults to the locale character set) as the default for encoding non-US-ASCII messages, assuming it works. Fall back to camel_charset_best() if it fails. Also, pick the Content-Transfer-Encoding based on how the data looks in the destination charset, not in UTF8. While I was here, I also refactored a bunch and tried to reduce redundant code. There are still too many places that set the transfer-encoding on the plaintext part though... Also, I think some more cleanliness could happen if the sign/encrypt interfaces returned CamelMultiparts instead of CamelMimeParts. svn path=/trunk/; revision=10058
* Use e_utf8_to_gtk_string() on the description of the attachment sinceJeffrey Stedfast2001-05-292-13/+24
| | | | | | | | | | 2001-05-28 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-attachment-bar.c (update): Use e_utf8_to_gtk_string() on the description of the attachment since camel stores these as utf-8 strings. svn path=/trunk/; revision=10036
* srcdir != builddir fix.Jason Leach2001-05-292-0/+5
| | | | | | | | 2001-05-28 Jason Leach <jleach@ximian.com> * Makefile.am (INCLUDES): srcdir != builddir fix. svn path=/trunk/; revision=10031
* (menu_edit_delete_all_cb): be more careful about text color andRadek Doulik2001-05-252-0/+9
| | | | | | style svn path=/trunk/; revision=9965
* Populate the extra_hdr_* arrays with any non-special-case headers.Jeffrey Stedfast2001-05-252-0/+63
| | | | | | | | | | | 2001-05-24 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (e_msg_composer_new_with_message): Populate the extra_hdr_* arrays with any non-special-case headers. (is_special_header): New convenience function to determine if a header is a "special" header or not. svn path=/trunk/; revision=9963
* new callback (menu_edit_delete_all_cb): set orig to 0 tooRadek Doulik2001-05-242-0/+2
| | | | | | | | | 2001-05-24 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (menu_edit_delete_all_cb): new callback (menu_edit_delete_all_cb): set orig to 0 too svn path=/trunk/; revision=9961
* new callbackRadek Doulik2001-05-242-0/+28
| | | | | | | | 2001-05-24 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (menu_edit_delete_all_cb): new callback svn path=/trunk/; revision=9959
* set orig to 0Radek Doulik2001-05-232-0/+5
| | | | | | | | 2001-05-23 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (e_msg_composer_set_sig_file): set orig to 0 svn path=/trunk/; revision=9943
* Return the serialized EDestinations (rather than just a string w/ e-mailJon Trowbridge2001-05-183-7/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Draft messages should be marked read.Dan Winship2001-05-182-1/+6
| | | | | | | * e-msg-composer.c (save_draft): Draft messages should be marked read. svn path=/trunk/; revision=9871
* Added S/MIME sign/encrypt code. (init): Initalize smime_sign/encrypt.Jeffrey Stedfast2001-05-173-19/+254
| | | | | | | | | | | | | | | | 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
* If we are creating a message with only a single part (ie no attachmentsJeffrey Stedfast2001-05-112-5/+22
| | | | | | | | | | | | 2001-05-10 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (build_message): If we are creating a message with only a single part (ie no attachments and we will not be signing/encrypting the part) then `part = CAMEL_MIME_PART(message)` otherwise create a new MIME part and set it's content-object as the message's content-object at a later date. svn path=/trunk/; revision=9749
* Don't wrap content-id with brackets here as it is now done internally inJeffrey Stedfast2001-05-102-5/+8
| | | | | | | | | 2001-05-09 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (add_inlined_image): Don't wrap content-id with brackets here as it is now done internally in camel. svn path=/trunk/; revision=9736
* signature editing fixesRadek Doulik2001-05-044-21/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Remove UNICODE_CFLAGSDan Winship2001-04-262-1/+4
| | | | | | * Makefile.am (INCLUDES): Remove UNICODE_CFLAGS svn path=/trunk/; revision=9582
* block/unblock redrawRadek Doulik2001-04-262-0/+9
| | | | | | | | | 2001-04-25 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (e_msg_composer_set_send_html): block/unblock redraw svn path=/trunk/; revision=9564
* signature changingRadek Doulik2001-04-256-65/+142
| | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Set window_icon of the Composer window to be compose-message.pngDuncan Mak2001-04-222-1/+10
| | | | svn path=/trunk/; revision=9489
* more auto-indentation magicRadek Doulik2001-04-182-0/+9
| | | | | | | | 2001-04-17 Radek Doulik <rodo@ximian.com> * listener.c (reply_indent): more auto-indentation magic svn path=/trunk/; revision=9432
* Do this everywhere, also fixup CLEANFILESMichael Meeks2001-04-141-1/+4
| | | | | | | | | | 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
* Use the mail-crypto pgp-mime wrappers. (build_message):Jeffrey Stedfast2001-04-132-10/+11
| | | | | | | | | | 2001-04-12 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (build_message): Use the mail-crypto pgp-mime wrappers. (build_message): s/CAMEL_PGP_HASH_TYPE_SHA1/CAMEL_CIPHER_HASH_SHA1 svn path=/trunk/; revision=9285
* Use the mail-crypto pgp-mime wrappers.Jeffrey Stedfast2001-04-132-3/+8
| | | | | | | | | 2001-04-12 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (build_message): Use the mail-crypto pgp-mime wrappers. svn path=/trunk/; revision=9268
* Fix previous.Dan Winship2001-04-122-1/+9
| | | | | | | * e-msg-composer-select-file.c (create_file_selection): Fix previous. svn path=/trunk/; revision=9254
* Set the default filename to the user's homedir.Jeffrey Stedfast2001-04-122-3/+3
| | | | | | | | | 2001-04-11 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-select-file.c (create_file_selection): Set the default filename to the user's homedir. svn path=/trunk/; revision=9243
* Change into the user's home dir before opening the filesel.Jeffrey Stedfast2001-04-123-2/+8
| | | | | | | | | 2001-04-11 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-select-file.c (create_file_selection): Change into the user's home dir before opening the filesel. svn path=/trunk/; revision=9242
* Here goes my additional simple include fixes.Gediminas Paulauskas2001-04-051-0/+4
| | | | svn path=/trunk/; revision=9191
* Fix headers. Same here.Kjartan Maraas2001-04-053-0/+9
| | | | | | | | | 2001-04-04 Kjartan Maraas <kmaraas@gnome.org> * e-msg-composer-attachment.c: Fix headers. * e-msg-composer-hdrs.c: Same here. svn path=/trunk/; revision=9181
* Replace #include <gtk/gtk.h> Replace #include <gnome.h> Remove #includeKjartan Maraas2001-03-3013-28/+71
| | | | | | | | | | | | | | | | | | | 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
* Use the drafts folder specified by the account, if possible. Also, fix theDan Winship2001-03-292-4/+60
| | | | | | | | * e-msg-composer.c (save_draft): Use the drafts folder specified by the account, if possible. Also, fix the setting of "send_html" after saving the draft in case the user plans to keep editting... svn path=/trunk/; revision=8992
* set the FormatHTML property on the editor to let it know the mode.Larry Ewing2001-03-282-0/+6
| | | | | | | | | | | 2001-03-27 Larry Ewing <lewing@ximian.com> * e-msg-composer.c (e_msg_composer_set_send_html): set the FormatHTML property on the editor to let it know the mode. (e_msg_composer_construct): set the FormatHTML property at construct time. svn path=/trunk/; revision=8982
* set the FormatHTML property on the editor to let it know the mode.Larry Ewing2001-03-272-0/+9
| | | | | | | | | 2001-03-27 Larry Ewing <lewing@ximian.com> * e-msg-composer.c (e_msg_composer_set_send_html): set the FormatHTML property on the editor to let it know the mode. svn path=/trunk/; revision=8974
* Set the mime part content-id.Jeffrey Stedfast2001-03-272-0/+11
| | | | | | | | | 2001-03-26 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-attachment.c (e_msg_composer_attachment_new): Set the mime part content-id. svn path=/trunk/; revision=8951
* set default text colorRadek Doulik2001-03-212-0/+5
| | | | | | | | 2001-03-19 Radek Doulik <rodo@ximian.com> * listener.c (reply_indent): set default text color svn path=/trunk/; revision=8849
* Make sure the reply_to text is non-NULL before trying to pass it off toJeffrey Stedfast2001-03-182-0/+11
| | | | | | | | | | 2001-03-17 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-hdrs.c (e_msg_composer_hdrs_get_reply_to): Make sure the reply_to text is non-NULL before trying to pass it off to the address parser. svn path=/trunk/; revision=8791
* Use gnome_vfs_mime_type_from_name rather than gnome_vfs_mime_info, sinceDan Winship2001-03-143-8/+28
| | | | | | | | | | | | | * e-msg-composer-attachment.c (update_mime_type): Use gnome_vfs_mime_type_from_name rather than gnome_vfs_mime_info, since the entered filename doesn't have to be a real file on disk. Deal with it returning NULL too. (e_msg_composer_attachment_edit): Select the right item in the inline/attachment menu. * e-msg-composer-hdrs.c: s/Pair/EMsgComposerHdrPair/. Namespace! svn path=/trunk/; revision=8673
* Added view_replyto member.Jeffrey Stedfast2001-03-135-42/+268
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-085-261/+593
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Added a comment reminding us that we should probably not force aJeffrey Stedfast2001-03-032-1/+9
| | | | | | | | | | 2001-03-02 Jeffrey Stedfast <fejj@ximian.com> * e-icon-list.c (icon_new_from_pixbuf): Added a comment reminding us that we should probably not force a particular font in the icon caption. svn path=/trunk/; revision=8531
* If !mail_config_is_configured(), give an error and return NULL.Dan Winship2001-02-282-0/+13
| | | | | | | * evolution-composer.c (factory_fn): If !mail_config_is_configured(), give an error and return NULL. svn path=/trunk/; revision=8419
* builddir != srcdir fix.Ettore Perazzoli2001-02-232-0/+5
| | | | svn path=/trunk/; revision=8348
* Use mail_append_mail to save to drafts instead of custom thread handler.Not Zed2001-02-212-76/+39
| | | | | | | | | | 2001-02-21 Not Zed <NotZed@Ximian.com> * e-msg-composer.c (menu_file_save_draft_cb): (exit_dialog_cb): Use mail_append_mail to save to drafts instead of custom thread handler. svn path=/trunk/; revision=8313
* Handle exceptions a little nicer and pop up a nice GnomeDialog with theJeffrey Stedfast2001-02-202-8/+31
| | | | | | | | | | | | 2001-02-19 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (build_message): Handle exceptions a little nicer and pop up a nice GnomeDialog with the error message - also, don't return a CamelMimeMessage if it fails to sign/decrypt because we want to let the user decide what to do based on the error message he/she gets. svn path=/trunk/; revision=8296
* If @account_name is NULL, pick the default account rather than giving aDan Winship2001-02-163-5/+16
| | | | | | | | | | | | * e-msg-composer-hdrs.c (e_msg_composer_hdrs_set_from_account): If @account_name is NULL, pick the default account rather than giving a g_warning. * e-msg-composer.c (e_msg_composer_set_headers): Note in the doc comment that @from can be NULL if you want the default account (since there is code that expects this). svn path=/trunk/; revision=8243
* Use the camel-internet-address code to format the address rather thanJeffrey Stedfast2001-02-142-6/+11
| | | | | | | | | | 2001-02-13 Jeffrey Stedfast <fejj@ximian.com> * evolution-composer.c (corba_recipientlist_to_glist): Use the camel-internet-address code to format the address rather than doing it the broken way. svn path=/trunk/; revision=8210
* Updated. We might want to change the corba interface for this to allowJeffrey Stedfast2001-02-115-5/+23
| | | | | | | | | | | | | | | 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
* Getting almost full and proper use of xml-i18n-tools.Gediminas Paulauskas2001-02-114-20/+6
| | | | | | | | | | | | | | | | | Removed all files where glade writes strings. Changed Makefile.am to not distribute them. Changed all glade files to not write strings to those files. Removed *.desktop and evolution.keys files, because they are generated. Added them to .cvsignore Added *.desktop.in evolution.keys.in files without transalted strings. Added all existing entries from desktop files to po files. Changed Makefile.am to distribute only .in files, and merge translations into desktop files. Removed obsolete files from po/ dir svn path=/trunk/; revision=8164
* multipart/* is another mime type we DO NOT want to encode ;-)Jeffrey Stedfast2001-02-102-20/+27
| | | | | | | | | 2001-02-10 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-attachment-bar.c (attach_to_multipart): multipart/* is another mime type we DO NOT want to encode ;-) svn path=/trunk/; revision=8156
* Set the default argument toChristopher James Lahey2001-02-062-7/+42
| | | | | | | | | | 2001-02-06 Christopher James Lahey <clahey@ximian.com> * e-msg-composer-hdrs.c (address_button_clicked_cb, add_header): Set the default argument to GNOME_Evolution_Addressbook_SelectNames_activateDialog correctly. svn path=/trunk/; revision=8018
* make sure we convert from utf-8 before creating the option menu items.Larry Ewing2001-01-302-2/+11
| | | | | | | | | 2001-01-30 Larry Ewing <lewing@ximian.com> * e-msg-composer-hdrs.c (create_optionmenu): make sure we convert from utf-8 before creating the option menu items. svn path=/trunk/; revision=7908
* (Moving the flag for has_changed from the Hdrs to the Composer itself.Jason Leach2001-01-265-8/+92
| | | | | | | | | | | | | | | | | | | | | | 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
* New callback. (menu_security_pgp_sign_cb): Another new callback.Jeffrey Stedfast2001-01-252-8/+83
| | | | | | | | | | | | | | | 2001-01-24 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (menu_security_pgp_encrypt_cb): New callback. (menu_security_pgp_sign_cb): Another new callback. (setup_ui): Added initialization for the PGP sign and encrypt bonobo menu items. (e_msg_composer_set_pgp_encrypt): Change the Bonobo UI name to SecurityPGPEncrypt. (e_msg_composer_set_pgp_sign): Change the Bonobo UI name to SecurityPGPSign. svn path=/trunk/; revision=7793
* Fixed some memory leaks dealing with content-type temp strings. AlsoJeffrey Stedfast2001-01-222-17/+91
| | | | | | | | | | | 2001-01-21 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (build_message): Fixed some memory leaks dealing with content-type temp strings. Also implemented code to sign and/or encrypt the message if the user has specified that it should. svn path=/trunk/; revision=7688
* (Fix #1222: doing File->New->Mail Message doesn't include .sig)Jason Leach2001-01-222-1/+23
| | | | | | | | | | | | 2001-01-20 Jason Leach <jasonleach@usa.net> (Fix #1222: doing File->New->Mail Message doesn't include .sig) * evolution-composer.c (init): Get the users account information, see if they've specified a sig file, if they do, create a composer with that sig. svn path=/trunk/; revision=7686
* Use "Full Name <address>" for the label in the menu rather than theJeffrey Stedfast2001-01-202-1/+17
| | | | | | | | | | | 2001-01-19 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-hdrs.c (create_optionmenu): Use "Full Name <address>" for the label in the menu rather than the account name. Specify the account name only if it's not the same as the address. svn path=/trunk/; revision=7652
* (Adding a boolean "entry_changed" BonoboPropertyBag arg)Jason Leach2001-01-192-1/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | 2001-01-19 Jason Leach <jasonleach@usa.net> (Adding a boolean "entry_changed" BonoboPropertyBag arg) * gui/component/select-names/e-select-names-bonobo.c (entry_set_property_fn): Use a gtk_object_set_data to set the property to TRUE here. (entry_changed): New function, calls bonobo_control_set_property if entry_changed hasn't been set to TRUE yet. (impl_SelectNames_get_entry_for_section): Connect "changed" on each entry_widget to the new entry_changed() func. 2001-01-19 Jason Leach <jasonleach@usa.net> * e-msg-composer-hdrs.c (create_addressbook_entry): Listen for property bag changes to "entry_changed" on here, which means on the To, Cc, and Bcc entries. (addressbook_entry_changed): New function that gets called when "entry_changed" property is changed (to TRUE). svn path=/trunk/; revision=7649
* Updated to reflect changes to e_msg_composer_hdrs_get_from().Jeffrey Stedfast2001-01-184-30/+37
| | | | | | | | | | | | | | | | | 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
* Make the composer a standard library, not a libtool one. Nobody ever usesMiguel de Icaza2001-01-182-3/+8
| | | | | | | | | | 2001-01-12 Miguel de Icaza <miguel@gnu.org> * Makefile.am: Make the composer a standard library, not a libtool one. Nobody ever uses it as a shared library and it is not installed. svn path=/trunk/; revision=7612
* (Bug #1192: Set the Composer window title to something useful)Jason Leach2001-01-184-8/+65
| | | | | | | | | | | | | | | | | | | 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
* Add a "Send as:" option on the edit attachment dialog.Iain Holmes2001-01-184-40/+170
| | | | svn path=/trunk/; revision=7594
* comment out for now to ease compat issues. (evolution_composer_construct):Michael Meeks2001-01-182-4/+12
| | | | | | | | | | | 2001-01-17 Michael Meeks <michael@helixcode.com> * evolution-composer.c (enum_objects): comment out for now to ease compat issues. (evolution_composer_construct): pass in NULL for the item handler enum_objects fn + calm warning. svn path=/trunk/; revision=7584
* Use the to/cc/bcc addresses insted of just the to.JP Rosevear2001-01-182-2/+7
| | | | | | | | | 2001-01-17 JP Rosevear <jpr@ximian.com> * e-msg-composer.c (e_msg_composer_new_with_message): Use the to/cc/bcc addresses insted of just the to. svn path=/trunk/; revision=7581
* Ximianified email addresses.Federico Mena Quintero2001-01-173-6/+11
| | | | | | | | 2001-01-17 Federico Mena Quintero <federico@ximian.com> * e-icon-list.[ch]: Ximianified email addresses. svn path=/trunk/; revision=7572
* publicate mark_orig_text (set_editor_text): don't call mark_orig_text, letRadek Doulik2001-01-173-4/+9
| | | | | | | | | | 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
* (Plug leaking the subject string on each message sent)Jason Leach2001-01-162-2/+9
| | | | | | | | | | | | 2001-01-15 Jason Leach <jasonleach@usa.net> (Plug leaking the subject string on each message sent) * e-msg-composer-hdrs.c (e_msg_composer_hdrs_get_subject): Don't strdup before returning the subject, it's already been strdup'd from the gtk_object_get(). svn path=/trunk/; revision=7516
* (Fix Bug #1083: Composer IDLs not getting installed)Jason Leach2001-01-132-0/+9
| | | | | | | | | | 2001-01-13 Jason Leach <jasonleach@usa.net> (Fix Bug #1083: Composer IDLs not getting installed) * Makefile.am: add @idl and @idl_DATA vars. svn path=/trunk/; revision=7476
* Oops. Make sure to attach the item to the menu ;-)Jeffrey Stedfast2001-01-132-0/+6
| | | | | | | | | 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
* Call set_from_account which means we no longer have to do all the crapJeffrey Stedfast2001-01-135-69/+168
| | | | | | | | | | | | | | | | | | | | | | 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
* Update .cvsignoreMiguel de Icaza2001-01-121-0/+1
| | | | svn path=/trunk/; revision=7443
* Small moniker updateMiguel de Icaza2001-01-121-1/+1
| | | | svn path=/trunk/; revision=7442
* Only attach to "changed" if the widget is an EEntry. The HEADER_COMBOBOXMiguel de Icaza2001-01-125-59/+31
| | | | | | | | | | | | | | 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
* Only set the popdown strings if we have anything to popdown.Miguel de Icaza2001-01-122-2/+8
| | | | | | | | | 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
* Add an ItemContainer Bonobo interface to allow client applications toMiguel de Icaza2001-01-124-3/+86
| | | | | | | | | | 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 callback to save draft. Fixes bug #1045.Jeffrey Stedfast2001-01-112-0/+19
| | | | | | | | | 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
* Removed more UNSAFE stuff. Maybe we should kill this macro, and haveMiguel de Icaza2001-01-102-10/+16
| | | | | | | | | | 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
* Updated for new config code - this time it works!Jeffrey Stedfast2001-01-092-11/+18
| | | | | | | | | 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
* Reverted back to old config code temporarily until I get the new configJeffrey Stedfast2001-01-092-13/+17
| | | | | | | | | | 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
* reenabled magic indentationRadek Doulik2001-01-081-2/+2
| | | | svn path=/trunk/; revision=7300
* Updated to reflect changes to the mail-config API.Jeffrey Stedfast2001-01-082-11/+18
| | | | | | | | | 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
* disable indenting for now, it crashes editorRadek Doulik2001-01-062-2/+7
| | | | | | | | | 2001-01-05 Radek Doulik <rodo@helixcode.com> * listener.c (impl_event): disable indenting for now, it crashes editor svn path=/trunk/; revision=7274
* If the headers have changed, then continue with the prompt else justJeffrey Stedfast2001-01-044-17/+44
| | | | | | | | | | | | | 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
* Use header_content_type_simple, not header_content_type_format.Dan Winship2001-01-033-5/+10
| | | | | | | | * 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
* Call e_utf8_to_gtk_string on the combobox strings.Dan Winship2001-01-022-2/+9
| | | | | | | * e-msg-composer-hdrs.c (create_dropdown_entry): Call e_utf8_to_gtk_string on the combobox strings. svn path=/trunk/; revision=7208
* Use CamelContentType instead of GMimeContentField.Dan Winship2000-12-294-23/+28
| | | | | | | | | | | | | * 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
* New function to get whether or not to encrypt the message.Jeffrey Stedfast2000-12-163-3/+116
| | | | | | | | | | | | | | 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
* Made it so that carriage return doesn't insert a newline in the subjectChristopher James Lahey2000-12-152-0/+6
| | | | | | | | | 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
* Don't convert the utf-8 string to a gtkstring because the widget expectsJeffrey Stedfast2000-12-133-10/+13
| | | | | | | | | | 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
* Add $(IDLS). (From campd.)Dan Winship2000-12-132-0/+5
| | | | | | * Makefile.am (EXTRA_DIST): Add $(IDLS). (From campd.) svn path=/trunk/; revision=6949
* psstRadek Doulik2000-12-081-4/+4
| | | | svn path=/trunk/; revision=6839
* added warnings (prepare_engine): updated toRadek Doulik2000-12-086-68/+81
| | | | | | | | | | | | 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
* Use camel to construct the list of recipients rather than justJeffrey Stedfast2000-12-062-0/+33
| | | | | | | | | | 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
* return NULL if we can't create a view.Michael Meeks2000-12-053-5/+5
| | | | | | | | | | | | | | 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
* debug printfRadek Doulik2000-11-221-0/+3
| | | | svn path=/trunk/; revision=6650
* Big patch. Evolution-services rewrite, services updated for new system,Iain Holmes2000-11-222-26/+65
| | | | | | | | 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
* update namespaceRadek Doulik2000-11-162-1/+3
| | | | | | | | 2000-11-15 Radek Doulik <rodo@helixcode.com> * e-msg-composer.c (prepare_engine): update namespace svn path=/trunk/; revision=6583
* updates for HTMLEditor API changesRadek Doulik2000-11-165-54/+60
| | | | | | | | | | 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-154-5/+35
| | | | | | | | | 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
* rename command to runCommandRadek Doulik2000-11-142-5/+7
| | | | | | | | 2000-11-14 Radek Doulik <rodo@helixcode.com> * listener.c (reply_indent): rename command to runCommand svn path=/trunk/; revision=6568
* updated to HTMLEditor API changesRadek Doulik2000-11-143-5/+11
| | | | | | | | | | 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
* extracted function, does reply indentation, use updated editor engine apiRadek Doulik2000-11-142-5/+24
| | | | | | | | | 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
* Clear the rdate and exrule lists from the component if we are setting aFederico Mena Quintero2000-11-131-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* A very, long, very tedious IDL API rename and re-scoping;Michael Meeks2000-11-116-44/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* set the HTML charset to utf-8 for all the html message parts.Larry Ewing2000-11-112-10/+26
| | | | | | | | | | | 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
* (get_signature): added in_html arg, it tells if we should use HTMLRadek Doulik2000-11-093-23/+44
| | | | | | | | | 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-088-87/+149
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Changed for message api changes. Use camel_address_unformat to convert theNot Zed2000-11-072-78/+46
| | | | | | | | | | | | | | | | | | | | 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
* looks like I missed this the last time.Larry Ewing2000-11-071-0/+8
| | | | | | --Larry svn path=/trunk/; revision=6473
* Two segfault fixesPeter Williams2000-11-072-2/+7
| | | | svn path=/trunk/; revision=6472
* set the content type on the plain part of outgoing messages.Larry Ewing2000-11-071-6/+36
| | | | | | | | | | | | 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
* Added #include <config.h> s/_HAVE_CONFIG_H/HAVE_CONFIG_H for working i18n.Kjartan Maraas2000-11-073-1/+8
| | | | | | | | | | 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
* fix test for regular file to !S_ISREG (statbuf.st_mode)Radek Doulik2000-11-042-1/+4
| | | | | | | | | 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
* use inline images hash tableRadek Doulik2000-11-0410-85/+126
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* oops, return NULL not voidJeffrey Stedfast2000-11-041-2/+2
| | | | svn path=/trunk/; revision=6385
* Don't allow attaching anything but regular files.Jeffrey Stedfast2000-11-042-15/+25
| | | | | | | | | 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
* Clean the idl-generated files properly.Federico Mena Quintero2000-11-042-0/+7
| | | | | | | | 2000-11-03 Federico Mena Quintero <federico@helixcode.com> * Makefile.am: Clean the idl-generated files properly. svn path=/trunk/; revision=6369
* The big api rename ...Michael Meeks2000-11-022-8/+8
| | | | | | | | 2000-11-02 Michael Meeks <michael@helixcode.com> * The big api rename ... svn path=/trunk/; revision=6346
* Don't create the To, Cc, and Bcc lists based only on the address, use bothJeffrey Stedfast2000-11-022-9/+33
| | | | | | | | | | 2000-11-01 Jeffrey Stedfast <fejj@helixcode.com> * e-msg-composer.c (e_msg_composer_new_with_message): Don't create the To, Cc, and Bcc lists based only on the address, use both the name and address and camel_address_encode() them. svn path=/trunk/; revision=6326
* Fix the CTE kludge, calculate the best mime transfer encoding for the mimeJeffrey Stedfast2000-11-022-15/+65
| | | | | | | | | | 2000-11-01 Jeffrey Stedfast <fejj@helixcode.com> * e-msg-composer-attachment-bar.c (attach_to_multipart): Fix the CTE kludge, calculate the best mime transfer encoding for the mime part and use that. Include e-msg-composer-select-file.h svn path=/trunk/; revision=6325
* modified or added a bunch of .cvsignore to ignore generated files, whichGediminas Paulauskas2000-11-011-0/+4
| | | | | | | | | * modified or added a bunch of .cvsignore to ignore generated files, which are not in repository. * call *textdomain() in various files only when ENABLE_NLS is defined svn path=/trunk/; revision=6310
* better reply editing, uses new HTMLEditor::Engine,Listener interfacesRadek Doulik2000-11-018-15/+386
| | | | | | | | | | | | | | | | | | | | | | | | 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
* builddir != srcdir fun.Ettore Perazzoli2000-10-282-1/+6
| | | | svn path=/trunk/; revision=6247
* Fixed my not-quite-right logic so that we don't accidently set the bodyJeffrey Stedfast2000-10-282-25/+89
| | | | | | | | | | | 2000-10-27 Jeffrey Stedfast <fejj@helixcode.com> * e-msg-composer.c (e_msg_composer_new_with_message): Fixed my not-quite-right logic so that we don't accidently set the body contents using a plain text attachment instead of the actual body of the message :-) svn path=/trunk/; revision=6236
* Populate the composer with any attachments.Jeffrey Stedfast2000-10-262-122/+187
| | | | | | | | | 2000-10-25 Jeffrey Stedfast <fejj@helixcode.com> * e-msg-composer.c (e_msg_composer_new_with_message): Populate the composer with any attachments. svn path=/trunk/; revision=6197
* Summary is back in :DIain Holmes2000-10-262-0/+8
| | | | | | Fixed a silly size issue for composer file selectors. svn path=/trunk/; revision=6187
* Attach send/postpone signal handlers to the EMsgComposer.Dan Winship2000-10-263-2/+21
| | | | | | | | | * evolution-composer.c (init): Attach send/postpone signal handlers to the EMsgComposer. (evolution_composer_factory_init): Take send/postpone signal handlers as arguments. svn path=/trunk/; revision=6184
* lots of i18n fixesDan Winship2000-10-243-5/+8
| | | | svn path=/trunk/; revision=6143
* Old cruft. Remove.Dan Winship2000-10-2410-1584/+12
| | | | | | | | | | | | | | * e-msg-composer-address-dialog.*, e-msg-composer-address-entry.*: Old cruft. Remove. * Makefile.am: Update for removed files. * e-msg-composer-hdrs.c: Remove e-msg-composer-address-entry.h include. * e-msg-composer.c: Remove e-msg-composer-address-dialog.h include svn path=/trunk/; revision=6130
* Include Composer.h instead of volution-Addressbook-SelectNames.hAriel Rios2000-10-242-1/+6
| | | | | | | | | 2000-10-23 Ariel Rios <ariel@arcavia.com> * e-msg-composer-hdrs.c: Include Composer.h instead of volution-Addressbook-SelectNames.h svn path=/trunk/; revision=6120
* No, don't ignore Evolution-Addressbook-SelectNames*. They're not supposedDan Winship2000-10-232-4/+5
| | | | | | | * .cvsignore: No, don't ignore Evolution-Addressbook-SelectNames*. They're not supposed to be there any more. svn path=/trunk/; revision=6109
* Pull the fix to the "attach-twice-and-crash" problem up to HEAD.Ettore Perazzoli2000-10-232-41/+15
| | | | svn path=/trunk/; revision=6108
* Ignore Evolution-Addressbook-SelectNames*Jeffrey Stedfast2000-10-212-0/+8
| | | | | | | | 2000-10-20 Jeffrey Stedfast <fejj@helixcode.com> * .cvsignore: Ignore Evolution-Addressbook-SelectNames* svn path=/trunk/; revision=6095
* oops. save first, then commitDan Winship2000-10-211-2/+3
| | | | svn path=/trunk/; revision=6078
* Evolution::Composer interface. So entirely not tested.Dan Winship2000-10-218-92/+499
| | | | | | | | | | | | | | * Evolution-Composer.idl: * evolution-composer.[ch]: Evolution::Composer interface. So entirely not tested. * Makefile.am (libcomposer_la_SOURCES): Add evolution-composer.[ch] (IDLS): Update this for Evolution-Composer.idl / Composer.idl * main.c: Removed. (Old, dead code) svn path=/trunk/; revision=6077
* Build fixes from Jacob, same as the other branch.Ettore Perazzoli2000-10-202-2/+11
| | | | svn path=/trunk/; revision=6035
* kill. (create_toolbar): die. (setup_ui): impl. (e_msg_composer_construct):Michael Meeks2000-10-194-203/+96
| | | | | | | | | | | | | | | | | 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 need the ID anymore.Iain Holmes2000-10-182-9/+6
| | | | | | | | 2000-10-16 Iain Holmes <iain@helixcode.com> * e-msg-composer-hdrs.c (init): Don't need the ID anymore. svn path=/trunk/; revision=5987
* If the body text was NULL, then don't bother turning it into HTMLJeffrey Stedfast2000-10-182-10/+17
| | | | | | | | | | 2000-10-17 Jeffrey Stedfast <fejj@helixcode.com> * e-msg-composer.c (e_msg_composer_new_with_message): If the body text was NULL, then don't bother turning it into HTML (besides, it causes a nasty segfault). svn path=/trunk/; revision=5971
* Move a bunch of CPPFLAGS defs into INCLUDES so they doesn't overrideDan Winship2000-10-162-3/+6
| | | | | | any CPPFLAGS set at configure time svn path=/trunk/; revision=5935
* If the entry widget is NULL, obviously we can't set any text on it.Jeffrey Stedfast2000-10-152-12/+7
| | | | | | | | | 2000-10-14 Jeffrey Stedfast <fejj@helixcode.com> * e-msg-composer-attachment.c (set_entry): If the entry widget is NULL, obviously we can't set any text on it. svn path=/trunk/; revision=5927
* Only allow one select-names dialog for each composer.Iain Holmes2000-10-142-2/+17
| | | | svn path=/trunk/; revision=5909
* stop using format_text, gtkhtml handles this now. (format_text): functionLarry Ewing2000-10-132-84/+18
| | | | | | | | | | 2000-10-13 Larry Ewing <lewing@helixcode.com> * e-msg-composer.c (build_message): stop using format_text, gtkhtml handles this now. (format_text): function removed. svn path=/trunk/; revision=5896
* Handle missing icons better.Iain Holmes2000-10-113-3/+29
| | | | svn path=/trunk/; revision=5827
* check to make sure we get a valid response from when calling get_text andLarry Ewing2000-10-111-2/+14
| | | | | | | | | | 2000-10-10 Larry Ewing <lewing@helixcode.com> * e-msg-composer.c (build_message): check to make sure we get a valid response from when calling get_text and get_html otherwise bail out of the build. svn path=/trunk/; revision=5823
* If the body of the message has 8-bit chars, set theJeffrey Stedfast2000-10-032-16/+33
| | | | | | | | | | 2000-10-02 Jeffrey Stedfast <fejj@helixcode.com> * e-msg-composer.c (build_message): If the body of the message has 8-bit chars, set the Content-Transfer-Encoding type to the best encoding. svn path=/trunk/; revision=5662
* fix #include of gnome-canvas-pixbuf.hDan Winship2000-10-032-1/+5
| | | | | | * e-icon-list.c: fix #include of gnome-canvas-pixbuf.h svn path=/trunk/; revision=5659
* If the description of an attachment is a blank string, revert toIain Holmes2000-10-024-4/+74
| | | | | | | | | | | | | | | | 2000-10-02 Iain Holmes <iain@helixcode.com> * e-msg-composer-attachment-bar.c: If the description of an attachment is a blank string, revert to displaying the filename. 2000-10-01 Iain Holmes <iain@helixcode.com> * e-icon-list.c: If you try to add an icon from a file that doesn't exist put a "Broken icon" image. * bad-icon.xpm: Broken icon image. svn path=/trunk/; revision=5652
* The big eye-candy commit.Iain Holmes2000-10-019-42/+3042
| | | | | | Make thumbnails out of image attachments. svn path=/trunk/; revision=5648
* Check to see if the body has 8bit chars, if so - set theJeffrey Stedfast2000-09-292-1/+26
| | | | | | | | | | 2000-09-28 Jeffrey Stedfast <fejj@helixcode.com> * e-msg-composer.c (build_message): Check to see if the body has 8bit chars, if so - set the Content-Transfer-Encoding to 8bit. Addresses Bugzilla bug #652. svn path=/trunk/; revision=5623
* fix typo in tooltip. fix accelerator for "Save as" to be different fromDan Winship2000-09-263-2/+9
| | | | | | | | | * e-msg-composer-hdrs.c (setup_headers): fix typo in tooltip. * e-msg-composer.c (create_menubar_file): fix accelerator for "Save as" to be different from "Save". (Both problems pointed out by menthos@menthos.com.) svn path=/trunk/; revision=5570
* Updated to handle FIFO streams.Jeffrey Stedfast2000-09-252-31/+23
| | | | | | | | | 2000-09-24 Jeffrey Stedfast <fejj@helixcode.com> * e-msg-composer.c (get_signature): Updated to handle FIFO streams. svn path=/trunk/; revision=5563
* Don't g_error out if the html-editor-control fails. (create_composer): NewDan Winship2000-09-193-64/+70
| | | | | | | | | | | | | * 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
* Use gnome_vfs_get_file_info.Dan Winship2000-09-193-12/+36
| | | | | | | | | | * e-msg-composer-attachment.c (get_mime_type): Use gnome_vfs_get_file_info. * e-msg-composer-attachment-bar.c (update): Use gnome_vfs_mime functions, not old gnome_mime. svn path=/trunk/; revision=5496
* Added check for gnome-app-lib. Removed directories that have been moved toChristopher James Lahey2000-09-187-7/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * configure.in: Added check for gnome-app-lib. Removed directories that have been moved to gal. From addressbook/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/Makefile.am, contact-editor/Makefile.am, ename/Makefile.am, gui/component/Makefile.am, gui/widgets/Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * backend/ebook/e-card.c, backend/pas/pas-backend-file.c, contact-editor/e-contact-editor-address.c, contact-editor/e-contact-editor-categories.c, contact-editor/e-contact-editor-categories.h, contact-editor/e-contact-editor-fullname.c, contact-editor/e-contact-editor.c, contact-editor/e-contact-save-as.c, ename/e-address-western.c, ename/test-ename-western-gtk.c, gui/component/addressbook-factory.c, gui/component/addressbook.c, gui/component/e-cardlist-model.h, gui/component/e-ldap-storage.c, gui/component/select-names/e-select-names-bonobo.c, gui/component/select-names/e-select-names-manager.c, gui/component/select-names/e-select-names-model.c, gui/component/select-names/e-select-names-table-model.c, gui/component/select-names/e-select-names-table-model.h, gui/component/select-names/e-select-names-text-model.h, gui/component/select-names/e-select-names.c, gui/component/select-names/e-select-names.h, gui/search/e-addressbook-search-dialog.c, gui/widgets/e-addressbook-model.h, gui/widgets/e-addressbook-view.c, gui/widgets/e-minicard-label.c, gui/widgets/e-minicard-view-widget.c, gui/widgets/e-minicard-view-widget.h, gui/widgets/e-minicard-view.c, gui/widgets/e-minicard-view.h, gui/widgets/e-minicard-widget.h, gui/widgets/e-minicard.c, gui/widgets/test-minicard-label.c, gui/widgets/test-reflow.c, printing/e-contact-print.c: Fixed the #include lines to deal properly with gal. From calendar/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * gui/Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * gui/calendar-model.h, gui/e-calendar-table.c, gui/e-day-view.c, gui/e-week-view-event-item.c, gui/e-week-view.c, gui/event-editor.c, gui/gncal-todo.c, gui/gnome-cal.c, gui/main.c, gui/print.c, gui/dialogs/task-editor.c: Fixed the #include lines to deal properly with gal. * gui/check-filled.xpm: New file since we can't include it from e-table anymore. From camel/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * camel-folder-search.c, camel-folder-search.h, camel-remote-store.c, providers/imap/camel-imap-folder.c, providers/imap/camel-imap-store.c: Fixed the #include lines to deal properly with gal. From composer/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * e-msg-composer-address-dialog.c, e-msg-composer-address-entry.c, e-msg-composer-attachment.c, e-msg-composer-hdrs.c, e-msg-composer.c: Fixed the #include lines to deal properly with gal. From e-util/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Removed all the files moved to gal. * e-dialog-widgets.c: Fixed the #include lines to deal properly with gal. * e-gui-utils.c, e-gui-utils.h: Removed all of the functionality that was moved to gal. * e-canvas-utils.c, e-canvas-utils.h, e-canvas-vbox.c, e-canvas-vbox.h, e-canvas.c, e-canvas.h, e-cursors.c, e-cursors.h, e-font.c, e-font.h, e-popup-menu.c, e-popup-menu.h, e-printable.c, e-printable.h, e-unicode.c, e-unicode.h, e-util.c, e-util.h, e-xml-utils.c, e-xml-utils.h: Moved to gal. From filter/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * filter-editor.c, filter-filter.c, filter-folder.c, filter-input.c, filter-message-search.c, filter-option.c, filter-rule.c, score-editor.c, vfolder-editor.c, vfolder-rule.c: Fixed the #include lines to deal properly with gal. From mail/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * component-factory.c, folder-browser-factory.c, folder-browser.c, mail-callbacks.c, mail-config-gui.c, mail-display.c, mail-display.h, main.c, message-list.c, message-list.h: Fixed the #include lines to deal properly with gal. From po/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * POTFILES.in: Removed files that have been moved to gal. From shell/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * e-component-registry.c, e-corba-storage-registry.c, e-corba-storage.c, e-folder-type-registry.c, e-folder.c, e-local-folder.c, e-local-storage.c, e-shell-folder-creation-dialog.c, e-shell-folder-selection-dialog.c, e-shell-folder-title-bar.c, e-shell-view.c, e-shell.c, e-shortcuts-view.c, e-shortcuts.c, e-storage-set-view.c, e-storage-set-view.h, e-storage-set.c, e-storage.c, evolution-local-storage.c, evolution-session.c, evolution-shell-client.c, evolution-shell-component-client.c, evolution-shell-component.c, evolution-shell-view.c, evolution-storage-listener.c, evolution-storage.c, main.c: Fixed the #include lines to deal properly with gal. From widgets/meeting-time-sel/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * e-meeting-time-sel-list-item.c, e-meeting-time-sel.c, e-meeting-time-sel.h: Fixed the #include lines to deal properly with gal. If you've read this far, you deserve a prize. The first email in my mailbox with the subject "What a commit message!" (and your physical mailing address somewhere in the message) will receive a free Helix Code T-shirt mailed to anywhere within the continental United States. I cannot be held responsible for problems with email systems anywhere. This is supposed to be for fun, so please don't make a fuss if something goes wrong and your mail doesn't reach me. Find my email elsewhere in this message, and if it's been more than a few days, you're probably too late. From widgets/misc/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * e-calendar-item.c, e-calendar.c, e-calendar.h, e-title-bar.c: Fixed the #include lines to deal properly with gal. * e-scroll-frame.c, e-scroll-frame.h: Moved to gal. From widgets/shortcut-bar/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * e-icon-bar.c, e-icon-bar.h, e-shortcut-bar.c, e-shortcut-model.c, test-shortcut-bar.c: Fixed the #include lines to deal properly with gal. From widgets/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Removed directories that have been moved to gal. * e-paned/.cvsignore, e-paned/Makefile.am, e-paned/e-hpaned.c, e-paned/e-hpaned.h, e-paned/e-paned.c, e-paned/e-paned.h, e-paned/e-vpaned.c, e-paned/e-vpaned.h: Moved to gal. * e-reflow/.cvsignore, e-reflow/Makefile.am, e-reflow/e-reflow-sorted.c, e-reflow/e-reflow-sorted.h, e-reflow/e-reflow.c, e-reflow/e-reflow.h: Moved to gal. * e-table/.cvsignore, e-table/ChangeLog, e-table/LICENSE, e-table/Makefile.am, e-table/ROADMAP.e-table, e-table/TODO, e-table/add-col.xpm, e-table/arrow-down.xpm, e-table/arrow-up.xpm, e-table/check-empty.xpm, e-table/check-filled.xpm, e-table/clip.png, e-table/e-cell-checkbox.c, e-table/e-cell-checkbox.h, e-table/e-cell-string.c, e-table/e-cell-text.c, e-table/e-cell-text.h, e-table/e-cell-toggle.c, e-table/e-cell-toggle.h, e-table/e-cell-tree.c, e-table/e-cell-tree.h, e-table/e-cell.c, e-table/e-cell.h, e-table/e-table-click-to-add.c, e-table/e-table-click-to-add.h, e-table/e-table-col-dnd.h, e-table/e-table-col.c, e-table/e-table-col.h, e-table/e-table-column-model.h, e-table/e-table-column.c, e-table/e-table-config.c, e-table/e-table-config.glade, e-table/e-table-config.glade.h, e-table/e-table-config.h, e-table/e-table-defines.h, e-table/e-table-example-1.c, e-table/e-table-example-2.c, e-table/e-table-field-chooser-dialog.c, e-table/e-table-field-chooser-dialog.h, e-table/e-table-field-chooser-item.c, e-table/e-table-field-chooser-item.h, e-table/e-table-field-chooser.c, e-table/e-table-field-chooser.glade, e-table/e-table-field-chooser.glade.h, e-table/e-table-field-chooser.h, e-table/e-table-group-container.c, e-table/e-table-group-container.h, e-table/e-table-group-leaf.c, e-table/e-table-group-leaf.h, e-table/e-table-group.c, e-table/e-table-group.glade, e-table/e-table-group.glade.h, e-table/e-table-group.h, e-table/e-table-header-item.c, e-table/e-table-header-item.h, e-table/e-table-header.c, e-table/e-table-header.h, e-table/e-table-item.c, e-table/e-table-item.h, e-table/e-table-model.c, e-table/e-table-model.h, e-table/e-table-one.c, e-table/e-table-one.h, e-table/e-table-scrolled.c, e-table/e-table-scrolled.h, e-table/e-table-selection-model.c, e-table/e-table-selection-model.h, e-table/e-table-simple.c, e-table/e-table-simple.h, e-table/e-table-size-test.c, e-table/e-table-sort-info.c, e-table/e-table-sort-info.h, e-table/e-table-sorted-variable.c, e-table/e-table-sorted-variable.h, e-table/e-table-sorted.c, e-table/e-table-sorted.h, e-table/e-table-sorter.c, e-table/e-table-sorter.h, e-table/e-table-subset-variable.c, e-table/e-table-subset-variable.h, e-table/e-table-subset.c, e-table/e-table-subset.h, e-table/e-table-text-model.c, e-table/e-table-text-model.h, e-table/e-table-tooltip.h, e-table/e-table-tree.h, e-table/e-table.c, e-table/e-table.h, e-table/e-tree-example-1.c, e-table/e-tree-example-2.c, e-table/e-tree-model.c, e-table/e-tree-model.h, e-table/e-tree-simple.c, e-table/e-tree-simple.h, e-table/image1.png, e-table/image2.png, e-table/image3.png, e-table/remove-col.xpm, e-table/sample.table, e-table/table-test.c, e-table/table-test.h, e-table/test-check.c, e-table/test-cols.c, e-table/test-table.c: Moved to gal. * e-text/.cvsignore, e-text/Makefile.am, e-text/e-entry-test.c, e-text/e-entry.c, e-text/e-entry.h, e-text/e-text-event-processor-emacs-like.c, e-text/e-text-event-processor-emacs-like.h, e-text/e-text-event-processor-types.h, e-text/e-text-event-processor.c, e-text/e-text-event-processor.h, e-text/e-text-model.c, e-text/e-text-model.h, e-text/e-text-test.c, e-text/e-text.c, e-text/e-text.h: Moved to gal. i.e., ... changed evolution to work with gal. svn path=/trunk/; revision=5490
* The Commit from hell that breaks all UI related stuff;Michael Meeks2000-09-143-9/+15
| | | | | | Anything UI related that breaks is now my fault; apologies in advance. svn path=/trunk/; revision=5415
* add a make sure the attachment isn't NULL. A more complete fix comingLarry Ewing2000-09-132-0/+7
| | | | | | | | | 2000-09-12 Larry Ewing <lewing@helixcode.com> * e-msg-composer-attachment-bar.c (add_common): add a make sure the attachment isn't NULL. A more complete fix coming soon. svn path=/trunk/; revision=5394
* Thou shalt add a space after `-I' when invoking `orbit-idl'.Ettore Perazzoli2000-09-132-1/+5
| | | | svn path=/trunk/; revision=5386
* Fix the accelerator for the "Format" menu so that it doesn't conflictEttore Perazzoli2000-09-062-1/+7
| | | | | | with that of the "File" menu. svn path=/trunk/; revision=5195
* Applied Jesse's patch that sets the composer's sig_fileJeffrey Stedfast2000-09-042-25/+32
| | | | | | | | | 2000-09-04 Jeffrey Stedfast <fejj@helixcode.com> * e-msg-composer.c (e_msg_composer_new_with_sig_file): Applied Jesse's patch that sets the composer's sig_file svn path=/trunk/; revision=5190
* A bit more e_utf8 wrappers here and thereLauris Kaplinski2000-09-022-3/+11
| | | | svn path=/trunk/; revision=5180
* This needs to return a const char * and not a char *, because we're notJeffrey Stedfast2000-09-024-66/+86
| | | | | | | | | | | | | | 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-023-2/+8
| | | | | | | | | | 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
* Always request to import the HTML version if at all possible so that weJeffrey Stedfast2000-08-293-5/+9
| | | | | | | | | | 2000-08-28 Jeffrey Stedfast <fejj@helixcode.com> * e-msg-composer.c (e_msg_composer_new_with_message): Always request to import the HTML version if at all possible so that we maintain formatting and other nifty stuff :-) svn path=/trunk/; revision=5085
* Set the "From" address in the CamelMimeMessage. Also updated to useJeffrey Stedfast2000-08-294-45/+74
| | | | | | | | | | | | | | | | 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
* More UTF-8 handlingLauris Kaplinski2000-08-254-20/+62
| | | | svn path=/trunk/; revision=5032
* Fix GDK_THREADS_entering and leaving, hopefully once and for all. Genericify ↵Peter Williams2000-08-252-0/+6
| | | | | | the recursive-store-loading. Load stores when they're added to the config page. svn path=/trunk/; revision=5005
* many fixes to make it compile with strange prefixes...Mathieu Lacage2000-08-211-1/+3
| | | | | | | neither mail nor the calendar components work though... evil stuff. svn path=/trunk/; revision=4892
* kill using_oaf assertion.Michael Meeks2000-08-122-1/+5
| | | | | | | | | | | | 2000-08-12 Michael Meeks <michael@helixcode.com> * main.c (main): kill using_oaf assertion. 2000-08-12 Michael Meeks <michael@helixcode.com> * e-msg-composer.c (get_text): get_text not get_txt. svn path=/trunk/; revision=4770
* Check nrow, not srow.JP Rosevear2000-08-122-3/+6
| | | | | | | | 2000-08-11 JP Rosevear <jpr@helixcode.com> * mail-config-gui.c (news_edit_clicked): Check nrow, not srow. svn path=/trunk/; revision=4738
* Remove unneeded e-setup.h includeDan Winship2000-08-112-1/+4
| | | | | | * e-msg-composer.c: Remove unneeded e-setup.h include svn path=/trunk/; revision=4709
* Made asyncJeffrey Stedfast2000-08-112-57/+86
| | | | | | | | 2000-08-10 Jeffrey Stedfast <fejj@helixcode.com> * e-msg-composer.c (exit_dialog_cb): Made async svn path=/trunk/; revision=4698
* Workaround Zucchi's new append_messagePeter Williams2000-08-112-4/+40
| | | | svn path=/trunk/; revision=4693
* Merge with camel-async.Peter Williams2000-08-114-13/+15
| | | | svn path=/trunk/; revision=4687
* Return the text in GtkCombo->entryJeffrey Stedfast2000-08-102-1/+6
| | | | | | | | | 2000-08-10 Jeffrey Stedfast <fejj@helixcode.com> * e-msg-composer-hdrs.c (e_msg_composer_hdrs_get_from): Return the text in GtkCombo->entry svn path=/trunk/; revision=4681
* Fixed the GList identity stuff, should now display all configuredJeffrey Stedfast2000-08-102-9/+11
| | | | | | | | | 2000-08-09 Jeffrey Stedfast <fejj@helixcode.com> * e-msg-composer-hdrs.c (create_dropdown_entry): Fixed the GList identity stuff, should now display all configured identities. svn path=/trunk/; revision=4679
* Fixed some warnings.Christopher James Lahey2000-08-104-18/+35
| | | | | | | | | | | | | | 2000-08-09 Christopher James Lahey <clahey@helixcode.com> * e-msg-composer-address-dialog.c: Fixed some warnings. * e-msg-composer-hdrs.c: Switched the composer to use an EEntry for the subject field. * e-msg-composer.c: Changed the non scaling objects in this vbox to be FALSE, FALSE instead of FALSE, TRUE. svn path=/trunk/; revision=4675
* Modified to allow dropdown entry-boxes as well (for headers like From:)Jeffrey Stedfast2000-08-104-32/+153
| | | | | | | | | | | | | | | | | 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
* Fix build by allowing includes for e-table dirJP Rosevear2000-08-082-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-08-08 JP Rosevear <jpr@helixcode.com> * Makefile.am: Fix build by allowing includes for e-table dir 2000-08-08 JP Rosevear <jpr@helixcode.com> * mail-ops.c (check_configured): Use config accessors (fetch_mail): ditto (composer_send_cb): ditto (create_msg_composer): ditto * mail-config-gui.h: Update API * mail-config.h: Update API * mail-config.c: Add accessor functions (mail_config_is_configured): accessor function (mail_config_get_default_identity): ditto (mail_config_get_default_source): ditto (mail_config_get_transport): ditto (mail_config_send_html): ditto (identity_copy): Make public (identity_destroy): ditto (identity_destroy_each): ditto (service_copy): ditto (service_destroy): ditto (service_destroy_each): ditto (mail_config_init): Rename from init_config and make public (mail_config_clear): Rename from clear_config and make public (mail_config_read): Rename from read_config and make public (mail_config_write): Reanme from write_config and make public * main.c (main): Call mail_config_init. * mail.h: Include mail-config-gui.h * mail-config-gui.c: Move config gui stuff here. (source_dialog): Kill memory leak from debug leftovers. Make sure returned source is NULL by default svn path=/trunk/; revision=4592