aboutsummaryrefslogtreecommitdiffstats
path: root/mail
Commit message (Collapse)AuthorAgeFilesLines
...
* s/it's/its/ in mail warning.David Woodhouse2004-01-052-1/+5
| | | | svn path=/trunk/; revision=24036
* Implemented; sets an image attachment as the GNOME wallpaper.David Moore2003-12-224-3/+132
| | | | | | | | | | | | | | 2003-12-22 David Moore <davmre@bellsouth.net> * em-popup.c (emp_part_popup_set_background): Implemented; sets an image attachment as the GNOME wallpaper. * em-utils.c (emu_save_part_done): Created a prototype at the top of the file. (em_utils_save_part_to_file): Added; save a message part to a specified file on disk. svn path=/trunk/; revision=23998
* Merge in evolution-mail-message-display.xml first, since it is the parentRodney Dawes2003-12-192-2/+8
| | | | | | | | | | 2003-12-18 Rodney Dawes <dobey@ximian.com> * em-message-browser.c (emmb_init): Merge in evolution-mail-message-display.xml first, since it is the parent UI XML, really fixes bug #49949 svn path=/trunk/; revision=23984
* #ifdef out certain code pieces if s/mime isn't supportedJP Rosevear2003-12-172-0/+14
| | | | | | | | | 2003-12-16 JP Rosevear <jpr@ximian.com> * em-format-html-display.c: #ifdef out certain code pieces if s/mime isn't supported svn path=/trunk/; revision=23950
* Fix erroneous function callJP Rosevear2003-12-152-1/+8
| | | | | | | | | | | 2003-12-14 JP Rosevear <jpr@ximian.com> * em-folder-tree.c (emft_tree_row_collapsed): Fix erroneous function call Fixes #52120 svn path=/trunk/; revision=23939
* put the style in .evolution.Not Zed2003-12-123-1/+11
| | | | | | | | | | | | | 2003-12-12 Not Zed <NotZed@Ximian.com> * mail-config.c (config_write_style): put the style in .evolution. ** See bug #52023. * message-list.c (message_list_select_uid): noop if we've been destroyed (foldre == NULL). svn path=/trunk/; revision=23932
* ** See bug #52108.Not Zed2003-12-124-0/+16
| | | | | | | | | | | | | | | | 2003-12-12 Not Zed <NotZed@Ximian.com> ** See bug #52108. * em-format.c (em_format_is_attachment): also recognise application/pkcs7-mime for mailers who like to make up their own standards. * em-format-html.c (type_builtin_table[]): * em-format-html-display.c (type_builtin_table[]): make recognise application/pkcs7-mime too. svn path=/trunk/; revision=23931
* get the build moving again. add CERT_UI_CFLAGS here for the time being.Chris Toshok2003-12-122-0/+6
| | | | | | | | | 2003-12-11 Chris Toshok <toshok@ximian.com> * Makefile.am (INCLUDES): get the build moving again. add CERT_UI_CFLAGS here for the time being. svn path=/trunk/; revision=23929
* Fixes bug #1717.Jeffrey Stedfast2003-12-122-23/+67
| | | | | | | | | | | | | | | | | | | | 2003-12-11 Jeffrey Stedfast <fejj@ximian.com> Fixes bug #1717. * em-folder-browser.c (emfb_list_built): If we have a uid to select, select that instead of selecting the first unread. (emfb_set_folder): CamelObject::meta_get() actually returns a strdup'd buffer, so we need to free it. Get the last selected uid and set that up as the uid to select when the message-list finishes building. (emfb_list_message_selected): Save the selected uid. (emfb_init): Connect to the message-list's message_selected signal so that we can save selected state (don't want to do this in EMFolderView or MessageList because we don't want the state to be saved for the EMMessageBrowser). svn path=/trunk/; revision=23928
* Shorten the namespace of some internal functions to just emft.Jeffrey Stedfast2003-12-122-4/+7
| | | | | | | | | | | 2003-12-11 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c: Shorten the namespace of some internal functions to just emft. (emft_popup_delete_rec): Don't delete the contents of a folder if it is a vFolder. Fixes bug #52029. svn path=/trunk/; revision=23927
* Shorten the namespace of some internal functions to just emft.Jeffrey Stedfast2003-12-123-119/+154
| | | | | | | | | | | | | | 2003-12-11 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c: Shorten the namespace of some internal functions to just emft. * em-mailer-prefs.c (em_mailer_prefs_construct): Use newv() here and pass an array of GTypes - makes it simpler to change the order of columns later and/or add new columns if we need to. Also makes the line shorter :-) svn path=/trunk/; revision=23926
* display x-evolution-mailer pseudo header irrespective of xmailer_mask.Grahame Bowland2003-12-117-7/+690
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-12-11 Grahame Bowland <grahame@angrygoats.net> * em-format-html.c (efh_format_header): display x-evolution-mailer pseudo header irrespective of xmailer_mask. This is now handled by a header configuration dialog. * mail-config.glade: add tab to mail configuration dialog to allow custom headers to be specified for display. * em-mailer-prefs.h: modify struct _EMMailerPrefs to add widgets for custom header tab. Add defines for custom header flags. Add struct EMMailerCustomHeader to describe custom headers, and add function em_mailer_custom_headers_from_xml to allow XML from gconf key to be parsed into this structure. * em-folder-view.c (emfv_setting_notify): catch changes to custom header gconf key and update mail view to correspond * em-mailer-prefs.c (em_mailer_prefs_apply): save custom headers to gconf (header_list_enabled_toggled): toggle clicked toggle column (add_header): add header to custom header list if valid (remove_header): remove selected custom header (is_valid_header): return true if passed header is valid, otherwise false (entry_header_changed): call add_header_update_sensitivity (em_mailer_prefs_construct): initialise header selection tab. Load gconf data for header selection dialog. (em_mailer_custom_header_to_xml): load a header structure from XML document structure (em_mailer_custom_header_from_xml): load a header structure from a string containing valid XML. if any failure, the header.name is set to NULL. (header_list_row_selected): call remove_header_update_sensitivity (remove_header_update_sensitivity): set the sensitivity of the remove button to FALSE if the list is empty or nothing is selected. Otherwise, set it to TRUE. (add_header_update_sensitivity): set the sensitivity of the the add button to FALSE if the entry box is empty, contains a duplicate header, or contains an invalid header. Otherwise, set it to TRUE. * evolution-mail.schemas.in.in: add mail/display/headers svn path=/trunk/; revision=23924
* (efh_text_enriched): add table around the enriched part so itLarry Ewing2003-12-112-2/+12
| | | | | | matches html and text modes. svn path=/trunk/; revision=23922
* Modified to simply copy mbox files from one place to another (and theJeffrey Stedfast2003-12-112-62/+215
| | | | | | | | | | 2003-12-10 Jeffrey Stedfast <fejj@ximian.com> * em-migrate.c (em_migrate_dir): Modified to simply copy mbox files from one place to another (and the summary files) rather than going thru camel so as to bypass the need for parsing MIME. svn path=/trunk/; revision=23919
* add text/x-patch as a plain type.Larry Ewing2003-12-112-0/+5
| | | | | | | | 2003-12-10 Larry Ewing <lewing@ximian.com> * em-format-html.c: add text/x-patch as a plain type. svn path=/trunk/; revision=23918
* check m->fi != NULL before dereferencing it.Not Zed2003-12-112-1/+6
| | | | | | | | | 2003-12-10 Not Zed <NotZed@Ximian.com> * em-folder-tree.c (em_folder_tree_get_folder_info__got): check m->fi != NULL before dereferencing it. svn path=/trunk/; revision=23916
* Fixed a leak.Jeffrey Stedfast2003-12-113-1/+30
| | | | | | | | | | 2003-12-10 Jeffrey Stedfast <fejj@ximian.com> * em-migrate.c (get_local_store): Fixed a leak. * mail-component.c (impl_upgradeFromVersion): Implemented. svn path=/trunk/; revision=23914
* Add INFO_FAST here as we don't need it to get unread counts.Jeffrey Stedfast2003-12-113-4/+14
| | | | | | | | | | | | | 2003-12-10 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c (em_folder_tree_set_selected): Add INFO_FAST here as we don't need it to get unread counts. (tree_row_expanded): Here too. * em-folder-tree-model.c (em_folder_tree_model_set_folder_info): Check CAMEL_FOLDER_NOCHILDREN. svn path=/trunk/; revision=23912
* Update the unread count in the model if the folder got new mail.Jeffrey Stedfast2003-12-118-7/+68
| | | | | | | | | | | | | | | | | | | 2003-12-10 Jeffrey Stedfast <fejj@ximian.com> * mail-folder-cache.c (real_flush_updates): Update the unread count in the model if the folder got new mail. * em-folder-selection.c (em_select_folder): Updated. * em-folder-selection-button.c (em_folder_selection_button_clicked): Updated. * em-folder-tree-model.c (em_folder_tree_model_set_unread_count): New function to update the unread count for a folder. * mail-component.c (mail_component_peek_tree_model): Don't ref the model. Also renamed s/get/peek/ svn path=/trunk/; revision=23910
* treat application/pkcs7-signature as application/x-pkcs-signature. StupudNot Zed2003-12-104-3/+12
| | | | | | | | | | | | 2003-12-10 Not Zed <NotZed@Ximian.com> * em-format-html-display.c (efhd_multipart_signed): * em-format-html.c (efh_multipart_signed): * em-format.c (emf_multipart_signed): treat application/pkcs7-signature as application/x-pkcs-signature. Stupud non-rfc-compliant mailers from apple. Bug #51750. svn path=/trunk/; revision=23907
* rewritten to get rid of hte old crap that should've been gotten rid ofNot Zed2003-12-103-169/+26
| | | | | | | | | | | | | 2003-12-10 Not Zed <NotZed@Ximian.com> * em-folder-selection.c (em_select_folder): rewritten to get rid of hte old crap that should've been gotten rid of before. Bug #51602. (em_folder_selection_run_dialog_uri): removed. (em_folder_selection_run_dialog): removed. this file is gutted and should probably be removed. svn path=/trunk/; revision=23906
* use a POSITIVE value for the response value, gtk uses -ative ones. BugNot Zed2003-12-105-5/+93
| | | | | | | | | | | | | | | | | | | | | 2003-12-10 Not Zed <NotZed@Ximian.com> * em-folder-selector.h: use a POSITIVE value for the response value, gtk uses -ative ones. Bug #51752. * Makefile.am (INCLUDES): added smime/lib and smime/gui to includes. * em-folder-tree.c (emft_popup_rename_folder): removed unused 'why', why not? * em-format-html-display.c (efhd_xpkcs7mime_validity_clicked): setup a table of buttons to view any certs we have. * em-folder-browser.c (emfb_activate): separeate view_menu unreffing from view_instance. fixes a runtime warning. svn path=/trunk/; revision=23905
* separeate view_menu unreffing from view_instance. fixes a runtime warning.Not Zed2003-12-103-7/+23
| | | | | | | | | | | | | | 2003-12-10 Not Zed <NotZed@Ximian.com> * em-folder-browser.c (emfb_activate): separeate view_menu unreffing from view_instance. fixes a runtime warning. ** See bug #51718. * mail-component.c (em_uri_to_camel): handle an e-uri which has an account uid which isn't in user@host format. svn path=/trunk/; revision=23897
* ** See bug #51899.Not Zed2003-12-092-1/+10
| | | | | | | | | | | | 2003-12-09 Not Zed <NotZed@Ximian.com> ** See bug #51899. * em-folder-tree-model.c (em_folder_tree_model_set_folder_info): CAMEL_FOLDER_CHILDREN is only advisory, some servers don't give it to you. svn path=/trunk/; revision=23890
* Remove hard coded disable deprecated flagsJP Rosevear2003-12-072-1/+4
| | | | | | | | 2003-12-06 JP Rosevear <jpr@ximian.com> * Makefile.am: Remove hard coded disable deprecated flags svn path=/trunk/; revision=23662
* Remove the extra || unread check in the conditional in the g_object_set ()Rodney Dawes2003-12-062-1/+6
| | | | | | | | | 2003-12-05 Rodney Dawes <dobey@ximian.com> * em-folder-tree.c (render_display_name): Remove the extra || unread check in the conditional in the g_object_set () call svn path=/trunk/; revision=23657
* Fixes bug #51482Rodney Dawes2003-12-062-3/+9
| | | | | | | | | | | 2003-12-05 Rodney Dawes <dobey@ximian.com> Fixes bug #51482 * em-folder-tree.c (render_display_name): Don't hardcode colors for the folder tree, instead use bold for unread, as in 1.4 svn path=/trunk/; revision=23656
* use new gtk_html_flush method instead of forcing processing of all gtkRadek Doulik2003-12-052-3/+12
| | | | | | | | | 2003-12-05 Radek Doulik <rodo@ximian.com> * em-html-stream.c (emhs_sync_flush): use new gtk_html_flush method instead of forcing processing of all gtk events svn path=/trunk/; revision=23649
* Make sure folder_path is non-NULL ("Loading..." nodes will have a NULLJeffrey Stedfast2003-12-052-3/+9
| | | | | | | | | | 2003-12-04 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree-model.c (em_folder_tree_model_remove_folders): Make sure folder_path is non-NULL ("Loading..." nodes will have a NULL path). Fixes bug #51731. svn path=/trunk/; revision=23638
* Fixes bug #51618Jeffrey Stedfast2003-12-053-6/+18
| | | | | | | | | | | 2003-12-04 Jeffrey Stedfast <fejj@ximian.com> Fixes bug #51618 * mail-ops.c (empty_trash_empty): Get the proper local folders store uri (it's not file:/ anymore). svn path=/trunk/; revision=23636
* Fixes bug #51605.Jeffrey Stedfast2003-12-055-30/+67
| | | | | | | | | | | | | | | 2003-12-04 Jeffrey Stedfast <fejj@ximian.com> Fixes bug #51605. * em-folder-selector.c (emfs_response): Handle creating a new folder (pop up a create-folder-selector dialog). * em-folder-tree.c (emft_popup_new_folder_response): Moved all the logic into em_folder_tree_create_folder(). (em_folder_tree_create_folder): New function to create a folder. svn path=/trunk/; revision=23635
* set junk toolbar buttons pixmapsRadek Doulik2003-12-052-2/+6
| | | | | | | | 2003-12-04 Radek Doulik <rodo@ximian.com> * em-folder-view.c: set junk toolbar buttons pixmaps svn path=/trunk/; revision=23633
* monitor gconf key /apps/evolution/mail/junk/check_incoming and keepRadek Doulik2003-12-047-26/+246
| | | | | | | | | | | | | 2003-12-04 Radek Doulik <rodo@ximian.com> * mail-session.c: monitor gconf key /apps/evolution/mail/junk/check_incoming and keep session junk flag uptodate * em-mailer-prefs.c (em_mailer_prefs_construct): added junk preferences svn path=/trunk/; revision=23630
* Updated to add use mail subdirs. (mail_config_uri_renamed): UpdatedJeffrey Stedfast2003-12-043-87/+141
| | | | | | | | | | | | | | | | 2003-12-03 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (uri_to_evname): Updated to add use mail subdirs. (mail_config_uri_renamed): Updated cachenames[] (mail_config_folder_to_cachename): Fixed to use the correct path. * em-folder-browser.c (emfb_create_view_menus): Updated the galview path to point to the evo-1.5 location. (emfb_set_folder): Update the galview view_instance. (emfb_create_view_instance): Split out from emfb_create_view_menus() (emfb_create_view_menus): Reduced code, call emfb_create_view_instance() svn path=/trunk/; revision=23624
* Emit the OK response, not the CREATE_NEW response. Also,Jeffrey Stedfast2003-12-042-1/+8
| | | | | | | | | | | 2003-12-03 Jeffrey Stedfast <fejj@ximian.com> * em-folder-selector.c (emfs_create_name_activate): Emit the OK response, not the CREATE_NEW response. Also, g_signal_emit_by_name() does not take a GQuark detail argument, so don't pass one. Fixes bug #51661. svn path=/trunk/; revision=23623
* tedfast <fejj@ximian.com>Jeffrey Stedfast2003-12-042-0/+4
| | | | | | | | | tedfast <fejj@ximian.com> * em-folder-view.c (emfv_set_folder): Sync the folder before replacing it with the new folder. svn path=/trunk/; revision=23619
* (emft_popup_rename_folder): Set oldpath and newpath to the properJeffrey Stedfast2003-12-042-2/+4
| | | | | | values. Fixes bug #51656. svn path=/trunk/; revision=23616
* Need to prepend a "/" to path if the path is the url fragment. Also fixedJeffrey Stedfast2003-12-043-16/+36
| | | | | | | | | | 2003-12-03 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c (em_folder_tree_set_selected): Need to prepend a "/" to path if the path is the url fragment. Also fixed to select the store node if path == "/". svn path=/trunk/; revision=23611
* Fixed a FIXME by using the CamelProvider url flags to determine if the urlJeffrey Stedfast2003-12-043-10/+26
| | | | | | | | | | 2003-12-03 Jeffrey Stedfast <fejj@ximian.com> * em-folder-selector.c (em_folder_selector_get_selected_uri): Fixed a FIXME by using the CamelProvider url flags to determine if the url used url->fragment or url->path as the folder path. svn path=/trunk/; revision=23604
* remove the source before savingJP Rosevear2003-12-042-2/+6
| | | | | | | | | 2003-12-03 JP Rosevear <jpr@ximian.com> * em-folder-tree.c (em_folder_tree_destroy): remove the source before saving svn path=/trunk/; revision=23603
* Set the save_state_id to 0 or we will never get a chance to run again.Jeffrey Stedfast2003-12-042-2/+8
| | | | | | | | | 2003-12-03 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c (em_folder_tree_save_state): Set the save_state_id to 0 or we will never get a chance to run again. svn path=/trunk/; revision=23602
* fixed a compile warningJeffrey Stedfast2003-12-032-4/+4
| | | | svn path=/trunk/; revision=23599
* Commit ChangeLog.Ettore Perazzoli2003-12-031-0/+20
| | | | svn path=/trunk/; revision=23597
* Do not depend on e-folder-list.Ettore Perazzoli2003-12-037-18/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gui/component/addressbook-config.c: Do not depend on e-folder-list. * gui/component/select-names/e-select-names.c: Remove dependency on evolution-folder-selector-button. (e_addressbook_create_folder_selector): Just return a FIXME label for now. (folder_selected): #if 0 out. (e_select_names_init): Do not connect. * gui/component/select-names/e-select-names-manager.c (e_select_names_manager_activate_dialog): Don't get a shell_client arg anymore. (load_completion_books): Stub out. * gui/component/select-names/e-select-names.c (e_select_names_new): Don't get an EvolutionShellClient anymore. Don't create the folder selector button for now. * gui/component/select-names/e-select-names.h: Remove dependency on evolution-shell-client. * gui/component/select-names/e-select-names-bonobo.c: Remove dependency on evolution-shell-client. (impl_SelectNames_activate_dialog): Stub out. * gui/widgets/eab-gui-util.c: Remove dependency on evolution-shell-client. (eab_transfer_contacts): Stub out. * importers/icalendar-importer.c: Do not #include shell stuff. * gui/main.c: Do not #include <evolution-shell-client.h>. * gui/e-itip-control.c: Do not #include <e-folder-selector-button.h> nor <evolution-shell-client.h>. (start_default_server): Return FALSE. (default_server_started_cb): Do not connect the "selected" signal on the button since it's now NULL. (button_selected_cb): #if 0 out. * gui/e-cal-list-view.h: Do not #include "evolution-activity-client.h". * gui/tasks-component.c (impl_createControls): Give an empty label for the status bar. * gui/e-day-view.h: Remove all deps on evolution-activity-client. * e-msg-composer-hdrs.c: Do not #include <evolution-folder-selector-button.h>. (e_msg_composer_hdrs_set_post_to): #if 0 out for now. (e_msg_composer_hdrs_get_post_to): Likewise. * mail-vfolder.c: Do not #include "evolution-shell-component.h". * Makefile.am (libevolution_mail_la_SOURCES): Don't compile mail-importer.[ch] for now. * mail-component-factory.c: Do not #include <evolution-shell-client.h>. * mail-config.c: Likewise. * mail-vfolder.h: Do not #include <evolution-storage.h> or <evolution-shell-component.h>. * mail.h: Do not #include <evolution-storage.h>. * mail-ops.h: Do not #include <evolution-storage.h>. (mail_scan_subfolders): Remove prototype. (mail_update_subfolders): Likewise. svn path=/trunk/; revision=23595
* save the state immediately if there is a timeout setJP Rosevear2003-12-031-3/+4
| | | | | | | | | | | 2003-12-03 JP Rosevear <jpr@ximian.com> * em-folder-tree.c (em_folder_tree_destroy): save the state immediately if there is a timeout set (em_folder_tree_save_state): be true GSourceFunc and just return FALSE to remove the source svn path=/trunk/; revision=23594
* save the state immediately if there is a timeout setJP Rosevear2003-12-032-7/+17
| | | | | | | | | | | 2003-12-03 JP Rosevear <jpr@ximian.com> * em-folder-tree.c (em_folder_tree_destroy): save the state immediately if there is a timeout set (em_folder_tree_save_state): be true GSourceFunc and just return FALSE to remove the source svn path=/trunk/; revision=23593
* changed to setup the rule part properly, it could never have worked. BugNot Zed2003-12-036-13/+88
| | | | | | | | | | | | | | | | | | | 2003-12-03 Not Zed <NotZed@Ximian.com> * mail-autofilter.c (rule_match_thread): changed to setup the rule part properly, it could never have worked. Bug #51601. * em-popup.c (emp_uri_popup_address_add): implement. * em-folder-view.c (emfv_popup_add_sender): implement. (emfv_add_sender_addressbook): hook up to above func. * em-utils.c (em_utils_add_address): implementation to add an email address to the addressbook. (emu_add_address_cb): callback required for funny api. Bug #51321. svn path=/trunk/; revision=23592
* Moved here. (drop_folder): Moved here. (import_message_rfc822): MovedJeffrey Stedfast2003-12-037-537/+450
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-12-02 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree-model.c (drop_uid_list): Moved here. (drop_folder): Moved here. (import_message_rfc822): Moved here. (drop_message_rfc822): Moved here. (drop_text_uri_list): Moved here. (model_drag_data_received): Moved the logic from em-folder-tree.c into here. (model_row_drop_possible): Same. (model_row_draggable): Same. (drag_text_uri_list): Moved here. (model_drag_data_get): Moved logic here. (model_drag_data_delete): Moved logic here. * em-folder-tree.c (drag_data_get_cb): Pass the full_name to camel_store_get_folder() rather than the path. (drag_data_received_cb): Same. (drop_uid_list): Removed. (drop_folder): Removed. (import_message_rfc822): Removed. (drop_message_rfc822): Removed. (drop_text_uri_list): Removed. (drag_data_received_cb): Removed. (row_drop_possible_cb): Removed. (row_draggable_cb): Removed. (drag_text_uri_list): Removed. (drag_data_get_cb): Removed. (drag_data_delete_cb): Removed. (em_folder_tree_enable_drag_and_drop): Don't connect to any of the drag & drop signals, they don't exist anymore. * mail-component.c (impl_createControls): Enable drag-and-drop. * em-folder-tree.c (em_folder_tree_new_with_model): Connect to the loading row signal. (loading_row_cb): Expand the path if needed. (em_folder_tree_destroy): Disconnect from the loading-row signal. (em_folder_tree_enable_drag_and_drop): New function to enable drag-and-drop. (em_folder_tree_new): Remove drag-and-drop setup code. * em-folder-tree-model.c (em_folder_tree_model_class_init): Define the loading-row signal. (em_folder_tree_model_set_folder_info): emit the loading-row signal. svn path=/trunk/; revision=23590
* Connect to the loading row signal. (loading_row_cb): Expand the path ifJeffrey Stedfast2003-12-035-0/+68
| | | | | | | | | | | | | | | 2003-12-02 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c (em_folder_tree_new_with_model): Connect to the loading row signal. (loading_row_cb): Expand the path if needed. (em_folder_tree_destroy): Disconnect from the loading-row signal. * em-folder-tree-model.c (em_folder_tree_model_class_init): Define the loading-row signal. (em_folder_tree_model_set_folder_info): emit the loading-row signal. svn path=/trunk/; revision=23589
* more fixesJeffrey Stedfast2003-12-033-5/+7
| | | | svn path=/trunk/; revision=23587
* fixed some mem leaks in my codeJeffrey Stedfast2003-12-032-52/+17
| | | | svn path=/trunk/; revision=23586
* Fixed to pass the evolution dir into em_folder_tree_model_new().Jeffrey Stedfast2003-12-035-136/+192
| | | | | | | | | | | | | | | | | | | | | | | | 2003-12-02 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c (em_folder_tree_new): Fixed to pass the evolution dir into em_folder_tree_model_new(). (model_save_state): Removed. (em_folder_tree_save_state): Moved all the saving logic into em_folder_tree_model_save_expanded(). * em-folder-tree-model.c (em_folder_tree_model_new): Load the expanded state off disk. (em_folder_tree_model_save_expanded): New function to save expanded state. (em_folder_tree_model_get_expanded): new function to get if a node should be expanded. (em_folder_tree_model_set_expanded): new function to set the expanded state of a node. * mail-component.c (mail_component_init): Pass the evo dir to em_folder_tree_model_new() which now requires it. svn path=/trunk/; revision=23585
* Version the schemas Removed AddedRodney Dawes2003-12-023-15/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-12-02 Rodney Dawes <dobey@ximian.com> * gui/component/Makefile.am: Version the schemas * gui/component/apps_evolution_addressbook.schemas: Removed * gui/component/apps_evolution_addressbook.schemas.in.in: Added 2003-12-02 Rodney Dawes <dobey@ximian.com> * gui/Makefile.am: Version the schemas * gui/apps_evolution_calendar.schemas: Removed * gui/apps_evolution_calendar.schemas.in.in: Added 2003-12-02 Rodney Dawes <dobey@ximian.com> * Makefile.am: Version the schemas * evolution-mail.schemas: Removed * evolution-mail.schemas.in.in: Added 2003-12-02 Rodney Dawes <dobey@ximian.com> * Makefile.am: Version the schemas * apps_evolution_shell.schemas: Removed * apps_evolution_shell.schemas.in.in: Added svn path=/trunk/; revision=23579
* moved the gtk_widget_show_all to before we add the pages, otherwise it canNot Zed2003-12-022-1/+6
| | | | | | | | | | 2003-12-02 Not Zed <NotZed@Ximian.com> * mail-config-druid.c (mail_config_druid_new): moved the gtk_widget_show_all to before we add the pages, otherwise it can override per-page logic. Bug #50790. svn path=/trunk/; revision=23573
* setup another image (followup completed) to flag status list.Not Zed2003-12-022-6/+21
| | | | | | | | | | | | 2003-12-02 Not Zed <NotZed@Ximian.com> * message-list.c (message_list_create_extras): setup another image (followup completed) to flag status list. (states_pixmaps[]): added flag_for_followup_done. (ml_tree_value_at): return 0,1 or 2 for completed icon. also use the real ints, these shouldn't have been true/false. Bug #43514. svn path=/trunk/; revision=23570
* Added empty_trash prompt key.Not Zed2003-12-029-88/+123
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-12-02 Not Zed <NotZed@Ximian.com> * evolution-mail.schemas: Added empty_trash prompt key. * em-utils.c (em_utils_prompt_user): changed to take the gconf 'prompt again' key directly. Fixed callers. (em_utils_expunge_folder): prompt the user with an expunge specific message. (em_utils_empty_trash): have an empty-trash specific message for prompting confirm. (emu_confirm_expunge): removed, no longer needed. Bug #38613. (em_utils_expunge_folder): remove most line feeds, let the label wrap them. (em_utils_empty_trash): ditto. * em-subscribe-editor.c (sub_folder_subscribed): update the ui selection state after we're done. maybe we should listen on the model but this is easier. Bug #50861. * em-message-browser.c (emmb_activate): hook up our own verb list. (emmb_message_verbs[], emmb_close): implement the close verb. Bug #51558. * em-format-html-display.c (efhd_attachment_popup): duh, actually add the menu list we create. Bug #49902. * em-format.c (d): turn off debug, committed by accident. svn path=/trunk/; revision=23562
* (do_op_status): Use data->activity_id, not localEttore Perazzoli2003-12-022-4/+7
| | | | | | activity_id. svn path=/trunk/; revision=23558
* Commit changes missing from previous commit.Ettore Perazzoli2003-12-022-54/+33
| | | | svn path=/trunk/; revision=23557
* New member activity_handler. (mail_component_init): Initialize.Ettore Perazzoli2003-12-022-12/+39
| | | | | | | | | | | | | | | | | | | | | | * mail-component.c (struct _MailComponentPrivate): New member activity_handler. (mail_component_init): Initialize. (impl_dispose): Unref. (mail_component_peek_activity_handler): New. (impl_createControls): Create an ETaskBar, attach it to the ActivityHandler, and return it to the caller as the statusbar control. * e-activity-handler.c (e_activity_handler_operation_finished): Argh, renamed from e_activity_client_operation_finished(). (e_activity_handler_operation_started): Don't unref the pixbuf. * e-shell-window.c (setup_widgets): Hide the menu hint label. * e-activity-handler.c (init): Init to next_activity_id to 1 so callers can rely on it being nonzero. svn path=/trunk/; revision=23556
* Pass a label for the status bar control for now.Ettore Perazzoli2003-12-022-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gui/component/addressbook-component.c (impl_createControls): Pass a label for the status bar control for now. * gui/calendar-component.c (impl_createControls): Pass a label for the status bar control for now. * gui/tasks-component.c (impl_createControls): Pass a label for the status bar control for now. * mail-component.c (impl_createControls): Pass a label for the status bar control for now. * e-shell.c (struct _EShellPrivate): Remove member activity_handler. (setup_activity_interface): Remove. (e_shell_init): Don't call. (create_window): Don't attach the task bar to the activity handler. * e-shell-window.c (struct _ComponentView): New member statusbar_widget. (struct _EShellWindowPrivate): Remove member task_bar. (init_view): Get the status bar control from createControls and put it in the ComponentView struct. (setup_task_bar): New. (setup_statusbar_notebook): New. (switch_view): Switch the statusbar notebook too. (impl_dispose): Add missing GTK_OBJECT() cast. (e_shell_window_peek_task_bar): Remove. * Evolution-Component.idl (Component::createControls): New out arg "statusbar_control"; this way components can provide their own status bar. * e-activity-handler.c, e-activity-handler.h: Turn into a plain GObject; translate all the CORBA methods into plain C methods. * Makefile.am: Move e-activity-handler to libeshell instead of it being in the shell. svn path=/trunk/; revision=23555
* Use fcntl() to set FD_CLOEXEC on each fd rather than close()ing it.Jeffrey Stedfast2003-12-022-6/+10
| | | | | | | | | | | 2003-12-01 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (mail_config_signature_run_script): Use fcntl() to set FD_CLOEXEC on each fd rather than close()ing it. Apparently Linux's older pthread implementations use sockets and so this fouls threading up. GO LINUX! GO! svn path=/trunk/; revision=23548
* Updated to call em_folder_tree_model_set_folder_info().Jeffrey Stedfast2003-12-026-466/+482
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-12-01 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c (em_folder_tree_get_folder_info__got): Updated to call em_folder_tree_model_set_folder_info(). (folder_subscribed_cb): Removed. (folder_unsubscribed_cb): Removed. (folder_created_cb): Removed. (folder_deleted_cb): Removed. (folder_renamed_cb): Removed. * em-folder-tree-model.c (em_folder_tree_store_set_folder_info): New function to replace tree_store_set_folder_info() which had been in em-folder-tree.c (em_folder_tree_model_remove_uri): Made private. (em_folder_tree_model_remove_store_info): Made private. (em_folder_tree_model_remove_folders): New function to replace remove_folders() from em-folder-tree.c (em_folder_tree_model_new): No longer takes any args. * em-folder-tree.c (em_folder_tree_new): Updated. * mail-component.c (add_store): Add the store to the model rather than the treeview. (impl_createControls): create a new treeview based on the already-instantiated model. (mail_component_init): Create a new tree model. (mail_component_remove_store): Remove the store from the model directly. (mail_component_get_tree_model): Updated. * em-folder-tree.c (folder_unsubscribed_cb): Call em_folder_tree_model_remove_folders() rather than the deprecated internal remove_folders() function. (folder_renamed_cb): Same. (em_folder_tree_remove_store): Removed. (em_folder_tree_add_store): Removed. (remove_folders): Removed. svn path=/trunk/; revision=23545
* Use BASE_VERSION for repo_ids and OAFIIDs Update killev to kill theRodney Dawes2003-12-0218-65/+81
| | | | | | | | | | 2003-12-01 Rodney Dawes <dobey@ximian.com> * Use BASE_VERSION for repo_ids and OAFIIDs * Update killev to kill the correct versions of gnome-spell and the GtkHTML Editor svn path=/trunk/; revision=23543
* rfc2047 encode the Organization header value.Jeffrey Stedfast2003-12-022-2/+10
| | | | | | | | | 2003-12-01 Jeffrey Stedfast <fejj@ximian.com> * em-composer-utils.c (composer_get_message): rfc2047 encode the Organization header value. svn path=/trunk/; revision=23535
* Make sure our parent folder hasn't been unsubscribed or else we get aJeffrey Stedfast2003-12-024-4/+193
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-12-01 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c (em_folder_tree_get_folder_info__got): Make sure our parent folder hasn't been unsubscribed or else we get a segfault here if it has. 03-11-28 Dave Camp <dave@ximian.com> * em-folder-tree.c (render_pixbuf): Set the pixbuf renderer invisible for stores. 2003-11-25 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (mail_config_get_account_by_uid): New function. * em-folder-tree.c (tree_store_set_folder_info): Expand the tree node if the saved state tells us it was expanded the previous session. (em_folder_tree_load_state): Load the saved state. (em_folder_tree_add_store): Conditionally expand the store node. (em_folder_tree_new_with_model): Expand all the nodes that should be expanded. svn path=/trunk/; revision=23530
* ops, now it's the right versionRadek Doulik2003-12-011-1/+2
| | | | svn path=/trunk/; revision=23519
* use CAMEL_VTRASH_NAME, CAMEL_VJUNK_NAMERadek Doulik2003-12-012-7/+22
| | | | | | | | | | | | | | 2003-12-01 Radek Doulik <rodo@ximian.com> * em-folder-tree.c (render_pixbuf): use CAMEL_VTRASH_NAME, CAMEL_VJUNK_NAME 2003-11-28 Radek Doulik <rodo@ximian.com> * em-folder-tree.c (render_pixbuf): added junk icon to folder icons svn path=/trunk/; revision=23516
* override the em-folder-view impl, and handle the search bar properly. ForNot Zed2003-12-013-1/+49
| | | | | | | | | | | | | 2003-12-01 Not Zed <NotZed@Ximian.com> * em-folder-browser.c (emfb_edit_cut, emfb_edit_copy) (emfb_edit_paste): override the em-folder-view impl, and handle the search bar properly. For #48746. * mail-security.glade: added some padding to the security details frames. svn path=/trunk/; revision=23514
* added some padding to the security details frames.Not Zed2003-12-012-2/+14
| | | | | | | | | | | | 2003-12-01 Not Zed <NotZed@Ximian.com> * mail-security.glade: added some padding to the security details frames. * em-format-html-display.c (efhd_xpkcs7mime_validity_clicked): some cosmetic layout changes. svn path=/trunk/; revision=23513
* connect "changed" signal. (mail_account_editor_changed): change signalCharles Zhang2003-12-012-8/+65
| | | | | | | | | | 2003-11-27 Charles Zhang <charles.zhang@sun.com> * mail-account-editor.c (construct): connect "changed" signal. (mail_account_editor_changed): change signal handler. Fixes bug #48998. svn path=/trunk/; revision=23508
* Remove all the syncFolder stuff since it's not in the Component interfaceEttore Perazzoli2003-12-015-108/+20
| | | | | | | | | | | | | | | * mail-offline-handler.c: Remove all the syncFolder stuff since it's not in the Component interface anymore. * mail-mt.c: Remove declaration for global_shell_client. #if 0 all the code that uses that. * mail-component-factory.c: Remove declaration for global_shell_client. * mail-vfolder.c: Remove declaration for global_shell_client. svn path=/trunk/; revision=23506
* Missing changelog entryJP Rosevear2003-11-261-0/+4
| | | | svn path=/trunk/; revision=23490
* turn on deprecated Gtk stuffJP Rosevear2003-11-261-1/+0
| | | | | | | | 2003-11-26 JP Rosevear <jpr@ximian.com> * Makefile.am: turn on deprecated Gtk stuff svn path=/trunk/; revision=23489
* New function to save tree expanded state.Jeffrey Stedfast2003-11-254-1/+153
| | | | | | | | | | | | | | | 2003-11-24 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c (em_folder_tree_save_state): New function to save tree expanded state. (em_folder_tree_queue_save_state): New function to queue saving of the expanded state. (em_folder_tree_construct): Connect to the row-collapsed signal. (tree_row_collapsed): Queue a save-state. (tree_row_expanded): Queue a save state. (em_folder_tree_get_folder_info__got): Queue a save-state. svn path=/trunk/; revision=23485
* set session on print formatter for signatures to work.Not Zed2003-11-257-260/+218
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-25 Not Zed <NotZed@Ximian.com> * em-folder-view.c (em_folder_view_print): set session on print formatter for signatures to work. * em-message-browser.c (emmb_destroy): kill warning. * em-format-html.c (efh_output_secure): same as efhd_output_secure, output the security bar, but for printing/plain html. (efh_application_xpkcs7mime): use output_secure. (em_format_html_multipart_signed_sign): removed, output_secure does what this did. * em-format-html-display.c (smime_sign_table, smime_encrypt_table): Added a short description for the mail display. (efhd_xpkcs7mime_button): only good/bad signature at this point, if only encrypted, then display 'bad' icon. (efhd_output_secure): output the security bar/button and handle multi-level enveloping properly. (efhd_application_xpkcs7mime): just call output_secure to do the security bar. (efhd_multipart_signed): same. (efhd_signature_button): removed, no longer used. (efhd_signature_check): removed, no longer used. svn path=/trunk/; revision=23483
* use new colors (efh_text_html): dittoRadek Doulik2003-11-244-7/+48
| | | | | | | | | | | | | | | | 2003-11-24 Radek Doulik <rodo@ximian.com> * em-format-html.c (efh_text_plain): use new colors (efh_text_html): ditto * em-format-html-display.c (efhd_gtkhtml_realise): set new colors according to style * em-format-html.c (efh_init): init new colors * em-format-html.h: added frame and content colors svn path=/trunk/; revision=23477
* do not use horizonal rule, attachment content is now inside simple frameRadek Doulik2003-11-245-27/+50
| | | | | | | | | | | | | | | | | | | | 2003-11-24 Radek Doulik <rodo@ximian.com> * em-format.c (emf_multipart_mixed): do not use horizonal rule, attachment content is now inside simple frame * em-format-html.c (efh_text_plain): add 6 points around text plain content and frame it (efh_text_html): frame text/html (efh_format_do): fix body tag, set bgcolor (em_format_html_format_headers): do not put headers into own table, content body is framed now instead (efh_format_message): update for headers/body changes * em-format-html-display.c (efhd_format_attachment): put additional vertical space around attachment button svn path=/trunk/; revision=23474
* Swap the retval varargs value to the last argument instead of the first.Jeffrey Stedfast2003-11-242-5/+12
| | | | | | | | | | | 2003-11-22 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree-model.c (model_drag_data_received) (model_row_drop_possible, model_row_draggable) (model_drag_data_get, model_drag_data_delete): Swap the retval varargs value to the last argument instead of the first. svn path=/trunk/; revision=23469
* Removed call to mail_tool_delete_meta_data(). Fixes bug #51236.Jeffrey Stedfast2003-11-212-2/+3
| | | | | | | | | 2003-11-20 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (mail_config_uri_deleted): Removed call to mail_tool_delete_meta_data(). Fixes bug #51236. svn path=/trunk/; revision=23465
* Implemented. (mail_component_class_init): Overload the handleURI method.Jeffrey Stedfast2003-11-212-8/+20
| | | | | | | | | 2003-11-20 Jeffrey Stedfast <fejj@ximian.com> * mail-component.c (impl_handleURI): Implemented. (mail_component_class_init): Overload the handleURI method. svn path=/trunk/; revision=23464
* fixed a spelling mistakeJeffrey Stedfast2003-11-211-1/+1
| | | | svn path=/trunk/; revision=23463
* Fixes bug #51012.Jeffrey Stedfast2003-11-212-11/+64
| | | | | | | | | | | | | | | | 2003-11-20 Jeffrey Stedfast <fejj@ximian.com> Fixes bug #51012. * em-folder-tree.c (emft_popup_rename_folder): Fixed a FIXME to not use the OS-specific g_path_*() stuff. (em_folder_tree_set_selected): For the case where the tree has already loaded enough subfodlers to include the path we need to select, exopand the nodes to that path as well. For the case that the tree hasn't loaded enough of the folder nodes, load them and then have the node selected/expanded to. svn path=/trunk/; revision=23462
* Fixed a FIXME to not use the OS-specific g_path_*() stuff.Jeffrey Stedfast2003-11-212-22/+33
| | | | | | | | | 2003-11-20 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c (emft_popup_rename_folder): Fixed a FIXME to not use the OS-specific g_path_*() stuff. svn path=/trunk/; revision=23458
* Emit the response signal with the RESPONSE_NEW value.Jeffrey Stedfast2003-11-203-16/+38
| | | | | | | | | | | | | 2003-11-19 Jeffrey Stedfast <fejj@ximian.com> * em-folder-selector.c (emfs_create_name_activate): Emit the response signal with the RESPONSE_NEW value. (emfs_create_name_changed): Sanity check the entry text and set OK sensitivity. (folder_selected_cb): If there is an entry widget, then call name_changed() to decide sensitivity, else set OK to be sensitive. svn path=/trunk/; revision=23453
* Same.Jeffrey Stedfast2003-11-205-21/+36
| | | | | | | | | | | | | 2003-11-19 Jeffrey Stedfast <fejj@ximian.com> * em-utils.c (em_utils_selection_set_urilist): Same. * em-format-html-display.c (efhd_drag_data_get): Same as below. * em-folder-tree.c (drag_text_uri_list): Terminate each url of a text/uri-list with a \r\n. svn path=/trunk/; revision=23451
* Add an "evolution:uri_schemas" attribute.Ettore Perazzoli2003-11-202-0/+9
| | | | | | | Add an "evolution:uri_schemas" attribute. svn path=/trunk/; revision=23446
* if we're setting the fragment, strip leading /'s.Not Zed2003-11-194-82/+27
| | | | | | | | | | | | | | | 2003-11-19 Not Zed <NotZed@Ximian.com> * mail-component.c (em_uri_to_camel): if we're setting the fragment, strip leading /'s. * mail-tools.c (mail_tool_get_meta_data) (mail_tool_delete_meta_data, meta_data_key): old stuff killed. (mail_tool_uri_to_folder): handle email: uri's specially. this is a bit of a hack, the filter callbacks should manage this itself since filters are the only bits which use those uri's. svn path=/trunk/; revision=23437
* Don't leak the message objects.Jeffrey Stedfast2003-11-192-0/+4
| | | | | | | | 2003-11-18 Jeffrey Stedfast <fejj@ximian.com> * em-migrate.c (em_migrate_dir): Don't leak the message objects. svn path=/trunk/; revision=23428
* Execute asynchronously by queueing the copy in another thread.Jeffrey Stedfast2003-11-192-34/+80
| | | | | | | | | | 2003-11-18 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c (em_copy_folders): Execute asynchronously by queueing the copy in another thread. (em_copy_folders__copy): Moved the original logic here. svn path=/trunk/; revision=23427
* Queue the camel_store_get_folder_info() call in another thread.Jeffrey Stedfast2003-11-192-49/+122
| | | | | | | | | | | 2003-11-18 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c (tree_row_expanded): Queue the camel_store_get_folder_info() call in another thread. (em_folder_tree_get_folder_info__got): Moved all the logic of tree_row_expanded here. svn path=/trunk/; revision=23426
* Fixed to check fi->child as well (since mbox does it right).Jeffrey Stedfast2003-11-182-12/+19
| | | | | | | | | | | | | 2003-11-17 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c (tree_row_expanded): Fixed to check fi->child as well (since mbox does it right). (emft_popup_new_folder_response): Fixed to subscribe to the correct folder. (emft_popup_delete_folders): Fixed to use the full_name rather than the path. svn path=/trunk/; revision=23407
* more fixesJeffrey Stedfast2003-11-182-4/+28
| | | | svn path=/trunk/; revision=23405
* Fixed to not include leading '/' in the folder name in the label.Jeffrey Stedfast2003-11-183-28/+90
| | | | | | | | | | | | | 2003-11-17 Jeffrey Stedfast <fejj@ximian.com> * em-folder-selection-button.c (set_contents): Fixed to not include leading '/' in the folder name in the label. * em-folder-tree.c (emft_popup_new_folder_response): Implemented error reporting via gtk dialogs. (emft_popup_copy_folder_selected): Same. svn path=/trunk/; revision=23401
* Use a folder_name rather than a path as the name argument toJeffrey Stedfast2003-11-182-1/+7
| | | | | | | | | | 2003-11-17 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c (emft_popup_new_folder_response): Use a folder_name rather than a path as the name argument to camel_store_create_folder(), fixes creation of IMAP folders. svn path=/trunk/; revision=23395
* use the server.mk file to get rules for building versioned .server filesJP Rosevear2003-11-172-4/+2
| | | | | | | | | | | 2003-11-17 JP Rosevear <jpr@ximian.com> * configure.in: use the server.mk file to get rules for building versioned .server files * */Makefile.am: use simplified rule subst svn path=/trunk/; revision=23387
* handle an unparsable url without crashing.Not Zed2003-11-172-9/+5
| | | | | | | | | 2003-11-17 Not Zed <NotZed@Ximian.com> * em-folder-selection-button.c (set_contents): handle an unparsable url without crashing. svn path=/trunk/; revision=23381
* thin wrapper on mail_component_get_local_inbox.Not Zed2003-11-176-27/+27
| | | | | | | | | | | | | | | | 2003-11-17 Not Zed <NotZed@Ximian.com> * mail-tools.c (mail_tool_get_local_inbox): thin wrapper on mail_component_get_local_inbox. * mail-component.c (mail_component_get_local_inbox): helper to get the default local inbox. * mail-ops.c (fetch_mail_fetch): if we can't get the inbox, make sure we still unref the filter driver here by using hte same exit code. Fixes a crash. svn path=/trunk/; revision=23377
* We can't use a uri to do a lookup of a store-info on the store_hash, weJeffrey Stedfast2003-11-153-5/+72
| | | | | | | | | | | | | | | | | | 2003-11-14 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c (emft_popup_new_folder_response): We can't use a uri to do a lookup of a store-info on the store_hash, we have to get a CamelStore first. (row_draggable_cb): validate the iter before using it. (row_drop_possible_cb): Same. (drag_data_received_cb): Here too. (drag_data_get_cb): Same. (drag_data_delete_cb): Again here. (tree_store_set_folder_info): Recursively add nodes if fi->child is non-NULL rather than adding a dummy node. (folder_renamed_cb): Implemented. svn path=/trunk/; revision=23367
* We can't use a uri to do a lookup of a store-info on the store_hash, weJeffrey Stedfast2003-11-152-12/+45
| | | | | | | | | | | | | | | 2003-11-14 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c (emft_popup_new_folder_response): We can't use a uri to do a lookup of a store-info on the store_hash, we have to get a CamelStore first. (row_draggable_cb): validate the iter before using it. (row_drop_possible_cb): Same. (drag_data_received_cb): Here too. (drag_data_get_cb): Same. (drag_data_delete_cb): Again here. svn path=/trunk/; revision=23363
* Removed most of the code. This is basically now a nop. Need to somehow getJeffrey Stedfast2003-11-152-19/+7
| | | | | | | | | 2003-11-14 Jeffrey Stedfast <fejj@ximian.com> * mail-mt.c (set_stop): Removed most of the code. This is basically now a nop. Need to somehow get the uic and fix this. svn path=/trunk/; revision=23361
* Removed.Jeffrey Stedfast2003-11-155-223/+39
| | | | | | | | | | | | | | | | 2003-11-14 Jeffrey Stedfast <fejj@ximian.com> * folder-browser-factory.[c,h]: Removed. * mail-component.c (folder_selected_cb): Don't create a new view anymore, simply set the new folder uri on the folder browser. This makes the mailer use a lot less memory than in 1.x (view_control_activate_cb): Moved here from folder-browser-factory.c (impl_createControls): Connect to the activate signal on the view control. svn path=/trunk/; revision=23360
* oops, fixed for when path is a store nodeJeffrey Stedfast2003-11-151-3/+3
| | | | svn path=/trunk/; revision=23359
* Don't create a new view anymore, simply set the new folder uri on theJeffrey Stedfast2003-11-152-58/+12
| | | | | | | | | | 2003-11-14 Jeffrey Stedfast <fejj@ximian.com> * mail-component.c (folder_selected_cb): Don't create a new view anymore, simply set the new folder uri on the folder browser. This makes the mailer use a lot less memory than in 1.x svn path=/trunk/; revision=23358
* Only set OK to sensitive if the selected node is not a store node.Jeffrey Stedfast2003-11-155-104/+146
| | | | | | | | | | | | | | 2003-11-14 Jeffrey Stedfast <fejj@ximian.com> * em-folder-selection.c (folder_selected_cb): Only set OK to sensitive if the selected node is not a store node. * em-folder-tree-model.c: Moved the store_hash and uri_hash from EMFolderTreePrivate into here instead. * em-folder-tree.c: Updated for above changes. svn path=/trunk/; revision=23355
* Updated. (emfv_popup_copy): Updated.Jeffrey Stedfast2003-11-155-48/+81
| | | | | | | | | | | | | | | | | | 2003-11-14 Jeffrey Stedfast <fejj@ximian.com> * em-folder-view.c (emfv_popup_move): Updated. (emfv_popup_copy): Updated. * em-folder-tree.c (emft_popup_copy): Updated. (emft_popup_move): Updated. * em-folder-selection.c (create_dialog): New convenience function to construct the dialog contents for all three public functions. (em_folder_selection_run_dialog): Now longer takes a caption arg. (em_folder_selection_run_dialog_uri): Same. (em_select_folder): Here too. svn path=/trunk/; revision=23353
* Use em_folder_tree_get_model() since an emft is not a GtkTreeView.Jeffrey Stedfast2003-11-143-2/+5
| | | | | | | | | | | | 2003-11-13 Jeffrey Stedfast <fejj@ximian.com> * mail-component.c (mail_component_get_tree_model): Use em_folder_tree_get_model() since an emft is not a GtkTreeView. * em-folder-tree.c (em_folder_tree_get_model): New function to get the tree model. svn path=/trunk/; revision=23347
* Use em_folder_tree_get_model() since an emft is not a GtkTreeView.Jeffrey Stedfast2003-11-142-0/+16
| | | | | | | | | | | | 2003-11-13 Jeffrey Stedfast <fejj@ximian.com> * mail-component.c (mail_component_get_tree_model): Use em_folder_tree_get_model() since an emft is not a GtkTreeView. * em-folder-tree.c (em_folder_tree_get_model): New function to get the tree model. svn path=/trunk/; revision=23346
* Rewritten to use EMFolderTRee.Jeffrey Stedfast2003-11-142-89/+109
| | | | | | | | 2003-11-13 Jeffrey Stedfast <fejj@ximian.com> * em-folder-selection.c: Rewritten to use EMFolderTRee. svn path=/trunk/; revision=23345
* Updated for function name changes in mail-component.cJeffrey Stedfast2003-11-142-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-13 Jeffrey Stedfast <fejj@ximian.com> * mail-vfolder.c (vfolder_load_storage): Updated for function name changes in mail-component.c * mail-offline-handler.c: Updated for function name changes in mail-component.c * mail-account-gui.c (add_new_store): Fixed to not use EStorage. (mail_account_gui_save): Updated for function name changes. * em-account-prefs.c (account_delete_clicked): Updated for function name changes. (account_able_clicked): Same. (account_able_toggled): Same. * mail-component.c: Renamed mail_component_*storage*() functions to mail_component_*store*() since we are no longer dealing with storages, but instead with CamelStore's. (create_view_widget): If the user selects a store node, don't try to open it as a folder. svn path=/trunk/; revision=23341
* Updated for function name changes in mail-component.cJeffrey Stedfast2003-11-147-115/+114
| | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-13 Jeffrey Stedfast <fejj@ximian.com> * mail-vfolder.c (vfolder_load_storage): Updated for function name changes in mail-component.c * mail-offline-handler.c: Updated for function name changes in mail-component.c * mail-account-gui.c (add_new_store): Fixed to not use EStorage. (mail_account_gui_save): Updated for function name changes. * em-account-prefs.c (account_delete_clicked): Updated for function name changes. (account_able_clicked): Same. (account_able_toggled): Same. * mail-component.c: Renamed mail_component_*storage*() functions to mail_component_*store*() since we are no longer dealing with storages, but instead with CamelStore's. (create_view_widget): If the user selects a store node, don't try to open it as a folder. svn path=/trunk/; revision=23340
* If the user selects a store node, don't try to open it as a folder.Jeffrey Stedfast2003-11-142-6/+17
| | | | | | | | | 2003-11-13 Jeffrey Stedfast <fejj@ximian.com> * mail-component.c (create_view_widget): If the user selects a store node, don't try to open it as a folder. svn path=/trunk/; revision=23336
* (impl_sendAndReceive): New, implementation forEttore Perazzoli2003-11-142-0/+14
| | | | | | | Evolution.Component.sendAndReceive. (mail_component_class_init): Install. svn path=/trunk/; revision=23335
* Modified to not use EStorage* functions. I don't even think it *needs* toJeffrey Stedfast2003-11-144-7/+19
| | | | | | | | | | | 2003-11-13 Jeffrey Stedfast <fejj@ximian.com> * mail-vfolder.c (context_rule_removed): Modified to not use EStorage* functions. I don't even think it *needs* to remove the folder from the mail-component, the mail-component should just pick it up automagically via CamelStore events. svn path=/trunk/; revision=23333
* fixed a build issueJeffrey Stedfast2003-11-141-2/+2
| | | | svn path=/trunk/; revision=23332
* New folder-tree widget that replaces the shell's folder-tree widget.Jeffrey Stedfast2003-11-1420-2315/+2277
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-13 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.[c,h]: New folder-tree widget that replaces the shell's folder-tree widget. * em-folder-tree-model.[c,h]: New source files subclassing GtkTreeStore for handling the mess that is drag&drop. * em-folder-selection-button.c: Ported to use EMFolderTree. * em-folder-selection.c: Ported to use EMFolderTree. * em-folder-selector.c: Ported to use EMFolderTree. * mail-component.c: Ported to use EMFolderTree. * mail-offline-handler.c (storage_go_online): Updated to not pass a storage argument. * mail-folder-cache.c: Removed storage stuff. * mail-send-recv.c (receive_update_got_store): Don't do EStorage* stuff anymore. svn path=/trunk/; revision=23331
* (impl__get_userCreatableItems): New,Ettore Perazzoli2003-11-132-1/+48
| | | | | | | | | implementation for the Component.userCreatableItems attribute. (impl_requestCreateItem): New, implementation for the Component.requestCreateItem() method. (mail_component_class_init): Install. svn path=/trunk/; revision=23321
* (em_junk_sa_test_spamd): rename em_junk_sa_spamd_tested toRadek Doulik2003-11-132-36/+37
| | | | | | em_junk_sa_tested, always set em_junk_sa_tested svn path=/trunk/; revision=23319
* new helper function, use it before any call to spamassassin, spamc andRadek Doulik2003-11-132-10/+40
| | | | | | | | | | 2003-11-13 Radek Doulik <rodo@ximian.com> * em-junk-filter.c (em_junk_sa_is_available): new helper function, use it before any call to spamassassin, spamc and sa-learn (em_junk_sa_test_spamd): first test if spamassassin is available svn path=/trunk/; revision=23317
* don't call CAMEL_IS_VJUNK_FOLDER, it was added by mistakeRadek Doulik2003-11-132-1/+6
| | | | | | | | | 2003-11-13 Radek Doulik <rodo@ximian.com> * mail-folder-cache.c (folder_changed): don't call CAMEL_IS_VJUNK_FOLDER, it was added by mistake svn path=/trunk/; revision=23316
* use malloc0 for the pobject memory.Not Zed2003-11-133-3/+6
| | | | | | | | | 2003-11-13 Not Zed <NotZed@Ximian.com> * em-format-html.c (em_format_html_add_pobject): use malloc0 for the pobject memory. svn path=/trunk/; revision=23313
* implement the key selector popup using e-cert-selector.Not Zed2003-11-136-78/+365
| | | | | | | | | | | | | | | | | | | | | | 2003-11-12 Not Zed <NotZed@Ximian.com> * mail-account-gui.c (smime_sign_key_select) (smime_encrypt_key_select, smime_encrypt_key_selected) (smime_sign_key_selected): implement the key selector popup using e-cert-selector. 2003-11-11 Not Zed <NotZed@Ximian.com> * em-format-html.c (efh_application_xpkcs7mime): output icons of the status. (em_format_html_add_pobject): Changed to take a size specificier, return the pobject, and re-ordered args to be more consistent with puri stuff. (em_format_html_remove_pobject): handle the free callback if set. * em-format.c (emf_application_xpkcs7mime): moved this to em-format-html since it needs to do icon stuff. svn path=/trunk/; revision=23312
* merged spam filtering branchRadek Doulik2003-11-1318-71/+717
| | | | svn path=/trunk/; revision=23302
* new glade file for security related stuff.Not Zed2003-11-114-207/+221
| | | | | | | | | | | 2003-11-11 Not Zed <NotZed@Ximian.com> * mail-security.glade: new glade file for security related stuff. * mail-config.glade: removed the message security dialogue, it gets opened automatically by the config code :( svn path=/trunk/; revision=23277
* Set an "evolution:component_alias" property with a value of "mail".Ettore Perazzoli2003-11-112-0/+7
| | | | | | | Set an "evolution:component_alias" property with a value of "mail". svn path=/trunk/; revision=23266
* changed for cipher context api changes. ditto.Not Zed2003-11-104-22/+270
| | | | | | | | | | | | | | | | | | | | 2003-11-10 Not Zed <NotZed@Ximian.com> * em-format-html.c (em_format_html_multipart_signed_sign): changed for cipher context api changes. * em-format.c (emf_multipart_signed): ditto. 2003-11-07 Not Zed <NotZed@Ximian.com> * mail-config.glade: added security_information_dialog (probably temporarily in this file). * em-format.c (em_format_is_attachment): also treat pkcs7-mime as non-attachment. (emf_application_xpkcs7mime): no longer need to worry about scanning the part. svn path=/trunk/; revision=23243
* Don't #include e-name-western.h, since the code that uses it is commentedDan Winship2003-11-082-1/+7
| | | | | | | | | * message-list.c: Don't #include e-name-western.h, since the code that uses it is commented out, and we want to remove the local copy, but we don't want to make the mailer depend on the e-d-s copy if it's not even going to be using it. svn path=/trunk/; revision=23230
* new sources files - work in progress to try and replace the e-storage-set* codeJeffrey Stedfast2003-11-082-0/+1217
| | | | svn path=/trunk/; revision=23223
* build the marshall files right at the beginningJP Rosevear2003-11-072-2/+10
| | | | | | | | 2003-11-07 JP Rosevear <jpr@ximian.com> * Makefile.am: build the marshall files right at the beginning svn path=/trunk/; revision=23222
* Shush.JP Rosevear2003-11-071-0/+4
| | | | svn path=/trunk/; revision=23214
* Various changes to merge in evolution-data-server reliance.JP Rosevear2003-11-071-3/+0
| | | | svn path=/trunk/; revision=23206
* Call em_migrate_uri() instead of em_uri_from_camel(). (em_migrate_uri):Jeffrey Stedfast2003-11-072-2/+48
| | | | | | | | | | | | 2003-11-06 Jeffrey Stedfast <fejj@ximian.com> * em-migrate.c (em_migrate_filter_file): Call em_migrate_uri() instead of em_uri_from_camel(). (em_migrate_uri): Special-case file: uri's by converting them into email://local@local/ uri's since these folders will have been migrated to the newer mbox tree structure. svn path=/trunk/; revision=23203
* fixed some compile warningsJeffrey Stedfast2003-11-071-1/+2
| | | | svn path=/trunk/; revision=23202
* User vfolder rules should be in ${evolution_dir}/mail/vfolders.xml ratherJeffrey Stedfast2003-11-077-20/+181
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-06 Jeffrey Stedfast <fejj@ximian.com> * mail-vfolder.c (mail_vfolder_delete_uri): User vfolder rules should be in ${evolution_dir}/mail/vfolders.xml rather than ${evolution_dir}/vfolders.xml (mail_vfolder_rename_uri): Same. (store_folder_deleted): Here too. (store_folder_renamed): And here. (vfolder_load_storage): Again here. (vfolder_editor_response): Same. (edit_rule_response): And here. (new_rule_clicked): Here too. * mail-session.c (main_get_filter_driver): User filter rules should be in ${evolution_dir}/mail/filters.xml rather than ${evolution_dir}/filters.xml * mail-autofilter.c (filter_gui_add_from_message): Same. (mail_filter_rename_uri): And here. (mail_filter_delete_uri): Here too. * em-utils.c (filter_editor_response): Again here. (em_utils_edit_filters): Same. * em-migrate.c (em_migrate_filter_file): Same (also for vfolders.xml) 2003-11-05 Jeffrey Stedfast <fejj@ximian.com> * em-migrate.[c,h]: New source files to migrate from the old mail directory to the new mail directory. * mail-component.c (mail_component_init): Changed to use ~/.evolution and added code to migrate the old mail folders over if ~/.evolution/mail does not yet exist. svn path=/trunk/; revision=23201
* New source files to migrate from the old mail directory to the new mailJeffrey Stedfast2003-11-065-48/+626
| | | | | | | | | | | | | 2003-11-05 Jeffrey Stedfast <fejj@ximian.com> * em-migrate.[c,h]: New source files to migrate from the old mail directory to the new mail directory. * mail-component.c (mail_component_init): Changed to use ~/.evolution and added code to migrate the old mail folders over if ~/.evolution/mail does not yet exist. svn path=/trunk/; revision=23193
* Use "evolution2:config_item"Ettore Perazzoli2003-11-042-13/+19
| | | | | | | properties for the config item instead of "evolution:config_item" ones. svn path=/trunk/; revision=23174
* fixed the buildJeffrey Stedfast2003-11-042-5/+5
| | | | svn path=/trunk/; revision=23169
* setup filter-on-thread and vfolder-on-thread.Jeffrey Stedfast2003-11-014-2/+67
| | | | | | | | | | | 2003-11-01 Jeffrey Stedfast <fejj@ximian.com> * em-folder-view.c: setup filter-on-thread and vfolder-on-thread. * mail-autofilter.c (rule_from_message): handle AUTO_THREAD (rule_match_thread): new function to setup a filter on a msgid svn path=/trunk/; revision=23158
* updatedJeffrey Stedfast2003-11-011-6/+2
| | | | svn path=/trunk/; revision=23157
* added a #includeJeffrey Stedfast2003-11-011-0/+1
| | | | svn path=/trunk/; revision=23156
* set up vars and rules for versioning the .server filesJP Rosevear2003-10-312-14/+10
| | | | | | | | | | | | 2003-10-31 JP Rosevear <jpr@ximian.com> * configure.in: set up vars and rules for versioning the .server files * Makefile.am's: use rules for versioning .server file, ensure built files are removed before disting svn path=/trunk/; revision=23149
* Rearranged smime config slightly, and added encrypt key preference.Not Zed2003-10-314-90/+403
| | | | | | | | | | | | | | | | 2003-10-31 Not Zed <NotZed@Ximian.com> * mail-config.glade: Rearranged smime config slightly, and added encrypt key preference. * mail-account-gui.c (mail_account_gui_save, mail_account_gui_new): enable smime always if have_nss. Added new options in glade file and handle changed names. (smime_changed, smime_sign_key_select, smime_sign_key_clear) (smime_encrypt_key_select, smime_encrypt_key_clear): Add a bunch of mostly dummy UI behaviour management stuff. svn path=/trunk/; revision=23145
* show application/x-pkcs7-mime inline always by default.Not Zed2003-10-304-20/+111
| | | | | | | | | | | | | | | | | | | | | | 2003-10-30 Not Zed <NotZed@Ximian.com> * em-format.c (em_format_is_inline): show application/x-pkcs7-mime inline always by default. 2003-10-30 Not Zed <NotZed@Ximian.com> * em-format.c (emf_multipart_signed): handle application/x-pkcs7-signature. 2003-10-29 Not Zed <NotZed@Ximian.com> * em-format-html.c (em_format_html_multipart_signed_sign): handle application/x-pkcs7-signature. * em-format.c (emf_application_xpkcs7mime): Handle application/x-pkcs7-mime. svn path=/trunk/; revision=23129
* Changed the OAFIID.Jeffrey Stedfast2003-10-306-9/+20
| | | | | | | | | | | | | | | 2003-10-29 Jeffrey Stedfast <fejj@ximian.com> * em-account-prefs.h: Changed the OAFIID. * em-composer-prefs.h: Changed the OAFIID. * em-mailer-prefs.h: Changed the OAFIID. * GNOME_Evolution_Mail.server.in.in: Changed OAFIIDs for the prefs controls. svn path=/trunk/; revision=23119
* Nuked the MailConfig interface stuff.Jeffrey Stedfast2003-10-307-568/+16
| | | | | | | | | | | | | | | | | | | 2003-10-29 Jeffrey Stedfast <fejj@ximian.com> * GNOME_Evolution_Mail.server.in.in: Nuked the MailConfig interface stuff. * Mailer.idl: Removed. None of the interfaces are needed/used anymore. * folder-info.[c,h]: Removed. The summary was the only thing that needed/used this code and it has been nuked into oblivion, so these interfaces are no longer needed. * mail-config.c: Removed old crufty CORBA interface snot that is no longer needed or used. svn path=/trunk/; revision=23118
* Fixes bug #49816Jeffrey Stedfast2003-10-286-141/+155
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-10-27 Jeffrey Stedfast <fejj@ximian.com> * Fixes bug #49816 * em-popup.c (emp_part_popup_reply_sender): No need to pass a parent window arg anymore. (emp_part_popup_reply_list): Same. (emp_part_popup_reply_all): Here too. (emp_part_popup_forward): Same. (emp_uri_popup_address_send): Here too. * em-folder-browser.c (emfb_mail_compose): No need to pass a parent window arg anymore. (emfb_mail_post): Same. * em-folder-view.c (emfv_message_reply): Don't pass a parent window argument anymore. (emfv_popup_forward): Same. (emfv_popup_resend): Same here. (em_folder_view_open_selected): Same. (emfv_message_forward_attached): Here too. (emfv_message_forward_inline): And here. (emfv_message_forward_quoted): Same. (emfv_message_redirect): Here too. (emfv_message_post_reply): And here. (emfv_format_link_clicked): ANd finally here. * em-utils.c (create_new_composer): Don't set_transient_for() anymore. (em_utils_compose_new_message): No longer takes a parent window argument. (em_utils_forward_attached): No longer takes a parent window arg. (em_utils_forward_inline): Same. (em_utils_forward_quoted): Same. (em_utils_forward_message): Same. (em_utils_forward_messages): Here too. (redirect_get_composer): Don't set_transient_for() here either. (em_utils_redirect_message): No longer takes a parent window arg. (em_utils_redirect_message_by_uid): Same. (reply_get_composer): Don't set_transient_for() here. (em_utils_reply_to_message): No longer takes a parent window arg. (em_utils_reply_to_message_by_uid): Same. (post_reply_to_message): Don't set_transient_for() here. (em_utils_post_reply_to_message_by_uid): No longer takes a parent window arg. (em_utils_compose_new_message_with_mailto): Don't set_transient_for() here. (em_utils_post_to_url): Same. (em_utils_edit_message): No longer takes a parent window arg. (em_utils_edit_messages): Same. svn path=/trunk/; revision=23092
* get rid of this bloody file...Jeffrey Stedfast2003-10-251-0/+0
| | | | svn path=/trunk/; revision=23072
* more cruft gone to the bit bucket...Jeffrey Stedfast2003-10-252-551/+0
| | | | svn path=/trunk/; revision=23071
* good bye...Jeffrey Stedfast2003-10-251-130/+0
| | | | svn path=/trunk/; revision=23070
* removed more cruftJeffrey Stedfast2003-10-256-5500/+0
| | | | svn path=/trunk/; revision=23069
* removed unused filesJeffrey Stedfast2003-10-252-3372/+0
| | | | svn path=/trunk/; revision=23068
* Re-Namespaced mail-accounts.cJeffrey Stedfast2003-10-2517-240/+264
| | | | | | | | | | | | | | | | | | | | | | | | | | 2003-10-24 Jeffrey Stedfast <fejj@ximian.com> * em-account-prefs.[c,h]: Re-Namespaced mail-accounts.c * em-composer-prefs.[c,h]: Re-Namespaced mail-composer-prefs.c * em-mailer-prefs.[c,h]: Re-Namespaced mail-preferences.c * mail-accounts.[c,h]: Removed. * mail-composer-prefs.[c,h]: Removed. * mail-preferences.[c,h]: Removed. * mail-account-editor.c: Updated. * mail-account-gui.c: Updated. * mail-config-factory.c: Updated. * mail-component-factory.c: Updated. svn path=/trunk/; revision=23066
* Add an "evolution:button_icon" attribute.Ettore Perazzoli2003-10-232-0/+6
| | | | | | | Add an "evolution:button_icon" attribute. svn path=/trunk/; revision=23024
* removed mail-local.[c,h]Jeffrey Stedfast2003-10-234-1603/+0
| | | | svn path=/trunk/; revision=23022
* ding dong the witch is deadJeffrey Stedfast2003-10-232-465/+0
| | | | svn path=/trunk/; revision=23020
* buh-bye mail-search.[c,h]Jeffrey Stedfast2003-10-232-478/+0
| | | | | | was nice knowin' ya! svn path=/trunk/; revision=23019
* Add an "evolution:button_sort_order" attribute.Ettore Perazzoli2003-10-232-0/+6
| | | | | | | Add an "evolution:button_sort_order" attribute. svn path=/trunk/; revision=23014
* removed old upgrade-mailer.c scriptJeffrey Stedfast2003-10-231-1169/+0
| | | | svn path=/trunk/; revision=23013
* removed unused etspec filesJeffrey Stedfast2003-10-233-22/+1
| | | | svn path=/trunk/; revision=23011
* removed more unused source filesJeffrey Stedfast2003-10-232-852/+0
| | | | svn path=/trunk/; revision=23009
* removed #include "folder-browser.h"Jeffrey Stedfast2003-10-231-1/+0
| | | | svn path=/trunk/; revision=23007
* removed unused source filesJeffrey Stedfast2003-10-232-1731/+0
| | | | svn path=/trunk/; revision=23006
* remove unused filesJeffrey Stedfast2003-10-234-4466/+0
| | | | svn path=/trunk/; revision=23005
* Removed, use em_utils_selection_get_uidlist() instead. (drop_uid_list):Jeffrey Stedfast2003-10-234-45/+37
| | | | | | | | | | | | | | | | | | | 2003-10-22 Jeffrey Stedfast <fejj@ximian.com> * mail-component.c (parse_uid_list): Removed, use em_utils_selection_get_uidlist() instead. (drop_uid_list): Use em_utils_selection_get_uidlist() to parse the x-uid-list selection data and use mail_tool_uri_to_folder() directly since we have the uri (originally we expected the first component of the selection data to be the e-storage-set-view folder path rather than the uri). (folder_receive_drop_cb): Call gtk_drag_finish() here. * message-list.c: s/x-evolution-message/x-uid-list/ * em-utils.c: Same. svn path=/trunk/; revision=23004
* Use e_storage_browser_peek_widget_scrolled() to retrieve the scrolledEttore Perazzoli2003-10-232-2/+10
| | | | | | | | | | | | | | | * mail-component.c (impl_createControls): Use e_storage_browser_peek_widget_scrolled() to retrieve the scrolled window that the EStorageSetView is contained in. * e-storage-browser.c (struct _EStorageBrowserPrivate): New member "storage_set_view_scrolled". (e_storage_browser_new): Put the storage_set_view in a scrolled window. Set priv->storage_set_view_scrolled to this scrolled window. (e_storage_browser_peek_tree_widget_scrolled): New. svn path=/trunk/; revision=22993
* Add an "evolution:button_label" property on the component for use in theEttore Perazzoli2003-10-232-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gui/component/GNOME_Evolution_Addressbook.server.in.in: Add an "evolution:button_label" property on the component for use in the shell. * gui/GNOME_Evolution_Calendar.server.in.in: Add an "evolution:button_label" property on the component for use in the shell. * GNOME_Evolution_Mail.server.in.in: Add an "evolution:button_label" attribute to the Component for use in the shell. * e-shell-window.c (struct _ComponentView): New member button_id. (struct _EShellWindowPrivate): New member sidebar. (component_new_new): Get a button_id arg. (component_button_clicked_callback): Removed. (sidebar_button_selected_callback): New. (create_component_button): Removed. (setup_widget): Set up the sidebar using ESidebar and hook up its "button_selected" signal. Also get the component name from a property on the server info. (e_shell_window_new): Use BASE_VERSION for the version in the app name instead of hardcoding "1.5". * e-sidebar.c: New. * e-sidebar.h: New. svn path=/trunk/; revision=22988
* handle destination of "" properly. (emc_popup_copy_folder_selected):Not Zed2003-10-222-15/+58
| | | | | | | | | | | | | | 2003-10-22 Not Zed <NotZed@Ximian.com> * mail-component.c (em_copy_folders): handle destination of "" properly. (emc_popup_copy_folder_selected): handle url->path properly, strip leading /. (em_copy_folders): if we just created a new folder on a subscribable store, subscribe to it. (em_copy_folders): handle nonselectable folders specially. svn path=/trunk/; revision=22973
* New functions to handle drag & drop to/from the folder tree.Jeffrey Stedfast2003-10-222-0/+495
| | | | | | | | | | | | 2003-10-21 Jeffrey Stedfast <fejj@ximian.com> * mail-component.c (drag_text_uri_list, folder_dragged_cb) (drop_uid_list, drop_folder, import_message_rfc822) (drop_message_rfc822, drop_text_uri_list, folder_receive_drop_cb): New functions to handle drag & drop to/from the folder tree. (impl_createControls): Setup drag & drop support. svn path=/trunk/; revision=22970
* Put an <hr> between parts of a multipart.Jeffrey Stedfast2003-10-222-3/+7
| | | | | | | | | 2003-10-21 Jeffrey Stedfast <fejj@ximian.com> * em-format.c (emf_multipart_mixed): Put an <hr> between parts of a multipart. svn path=/trunk/; revision=22969
* fixed changelogJeffrey Stedfast2003-10-221-3/+3
| | | | svn path=/trunk/; revision=22968
* compiler fixesJeffrey Stedfast2003-10-221-17/+15
| | | | svn path=/trunk/; revision=22967
* Merge new-ui-branch to the trunk.Ettore Perazzoli2003-10-2271-616/+20395
| | | | svn path=/trunk/; revision=22964
* removed unused headerJeffrey Stedfast2003-10-171-1/+0
| | | | svn path=/trunk/; revision=22916
* Check for gnome-thumbnail.h existence.Frédéric Crozat2003-10-092-0/+13
| | | | | | | | | | * configure.in: Check for gnome-thumbnail.h existence. * mail/em-icon-stream.c: (emis_sync_close): Use gnome-thumbnail_scale_down_pixbuf if available, for better performance. svn path=/trunk/; revision=22829
* Add a hide_mask to the create-rule-from-message bars so that we don'tJeffrey Stedfast2003-10-092-3/+9
| | | | | | | | | | 2003-10-08 Jeffrey Stedfast <fejj@ximian.com> * em-folder-view.c: Add a hide_mask to the create-rule-from-message bars so that we don't segfault when we right click with a multi-selection. svn path=/trunk/; revision=22822
* removed unused etspec fileJeffrey Stedfast2003-10-072-13/+1
| | | | svn path=/trunk/; revision=22809
* fixed ChangeLogJeffrey Stedfast2003-10-071-1/+1
| | | | svn path=/trunk/; revision=22804
* Fixed.Jeffrey Stedfast2003-10-073-7/+11
| | | | | | | | | | | 2003-10-06 Jeffrey Stedfast <fejj@ximian.com> * mail-config-druid.c (identity_prepare): Fixed. * mail-ops.c (fetch_mail_fetch): Always save the uid cache no matter what. svn path=/trunk/; revision=22803
* Convert real name to UTF-8 if needed.Frédéric Crozat2003-10-032-8/+13
| | | | | | | * mail-config-druid.c: (identity_prepare), (config_wizard_new): Convert real name to UTF-8 if needed. svn path=/trunk/; revision=22796
* Disable the selection of the first unread message for now. This isJeffrey Stedfast2003-10-032-1/+9
| | | | | | | | | | 2003-10-03 Jeffrey Stedfast <fejj@ximian.com> * em-folder-browser.c (emfb_set_folder): Disable the selection of the first unread message for now. This is actually annoying the fuck out of me, Radek, and a few other people. svn path=/trunk/; revision=22794
* fixed suresh's broken changelog entryJeffrey Stedfast2003-10-031-13/+10
| | | | svn path=/trunk/; revision=22793
* Fix for 40917 "Backspace shouldn't highlight the whole remaining string inSuresh Chandrasekharan2003-10-032-13/+15
| | | | | | | | | | | | | | | | | | | 2003-10-02 Suresh Chandrasekharan <suresh.chandrasekharan@sun.com> * mail-config-druid.c: Fix for 40917 "Backspace shouldn't highlight the whole remaining string in Setup Assistant". Removed repeated focussing per keystroke for the following functions (identity_changed) (source_changed) (transport_changed) (management_changed) (identity_prepare): Removed the initial highlighting for Full Name, also the unneeded intial grab_focus. svn path=/trunk/; revision=22790
* zero out last_part if we're clearing. Uh, this fixes, but shouldn't, partNot Zed2003-10-024-43/+44
| | | | | | | | | | | | | | | | | | 2003-10-02 Not Zed <NotZed@Ximian.com> * em-format-html.c (efh_format_timeout): zero out last_part if we're clearing. Uh, this fixes, but shouldn't, part of #49034. The problem is the 'last part' logic is based on the address, which can quite easily be repeated for different messages. * em-folder-view.c (emfv_list_message_selected): reverted jeff's patch for #48618, use a much simpler method. * em-message-browser.c (emmb_destroy): hook onto destroy handler, we need to destroy the messagelist ourselves, since we dont attach it to any parent window. svn path=/trunk/; revision=22785
* turn off blocking writes. (efh_format_timeout): don't do a htmlbegin onNot Zed2003-10-023-16/+28
| | | | | | | | | | | | | | | | | 2003-10-01 Not Zed <NotZed@Ximian.com> * em-format-html.c (efh_init): turn off blocking writes. (efh_format_timeout): don't do a htmlbegin on the page yet, it'll be handled by em-html-stream when it has data, to reduce flicker. (efh_format_do): close the main gtkhtml stream as soon as we're done writing the body. any sub-jobs should be using frames etc. (efh_text_plain): dont write a table around the text, try to reduce flickering. layout may be out now though. * em-html-stream.c (emhs_sync_write): if we have no html_stream yet, begin a new one. svn path=/trunk/; revision=22784
* Use "Sans Regular" instead of "Helvetica" Fixes bug #47878Rodney Dawes2003-10-012-1/+6
| | | | | | | | | 2003-09-30 Rodney Dawes <dobey@ximian.com> * em-format-html-print.c: Use "Sans Regular" instead of "Helvetica" Fixes bug #47878 svn path=/trunk/; revision=22771
* remove gconf stuff. (em_format_html_set_xmailer_mask): new method to setNot Zed2003-09-308-61/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-09-30 Not Zed <NotZed@Ximian.com> * em-format-html.c (efh_init): remove gconf stuff. (em_format_html_set_xmailer_mask): new method to set the xmailer mask. * em-folder-view.c (emfv_display_keys[]): Added charset key to monitor/retrieve, and xmailer_mask. (emfv_setting_notify): Monitor charset setting, pass onto the formatter, as well as xmailer_mask. * mail-preferences.c (mail_preferences_construct): use the new charset key. (mail_preferences_apply): use the new charset key. * evolution-mail.schemas: Moved the mail/format/charset to mail/display/charset. 1. it makes more sense, and 2. it makes notification update easier in em-folder-view.c * em-format.c (emf_init): remove the gconf charset stuff, for bug #48791, and also actually fixes the fixme that jeff thought he fixed. (em_format_format_text): use default charset as fallback. (em_format_set_default_charset): New method to set the default charset. (gconf_charset_changed): removed. svn path=/trunk/; revision=22768
* Oops, put the arguments in the right order.Jeffrey Stedfast2003-09-302-1/+5
| | | | | | | | 2003-09-29 Jeffrey Stedfast <fejj@ximian.com> * em-format.c (emf_init): Oops, put the arguments in the right order. svn path=/trunk/; revision=22757
* removed subscribe-dialog.etspec and added another FIXME to em-folder-browser.cJeffrey Stedfast2003-09-303-10/+2
| | | | svn path=/trunk/; revision=22756
* added a FIXME commentJeffrey Stedfast2003-09-301-1/+2
| | | | svn path=/trunk/; revision=22749
* Allow any file: uri to point to a sent or drafts folder.Jeffrey Stedfast2003-09-262-2/+9
| | | | | | | | | 2003-09-25 Jeffrey Stedfast <fejj@ximian.com> * mail-account-gui.c (mail_account_gui_save): Allow any file: uri to point to a sent or drafts folder. svn path=/trunk/; revision=22706
* Make the dialog more HIG-compliant by fixing widget alignment/spacingRodney Dawes2003-09-262-8/+7
| | | | | | | | | 2003-09-25 Rodney Dawes <dobey@ximian.com> * mail-send-recv.c: Make the dialog more HIG-compliant by fixing widget alignment/spacing issues, and removing separators svn path=/trunk/; revision=22702
* fixed ChangeLogJeffrey Stedfast2003-09-251-1/+6
| | | | svn path=/trunk/; revision=22691
* Same as below.Jeffrey Stedfast2003-09-253-2/+6
| | | | | | | | | | | | | 2003-09-24 Jeffrey Stedfast <fejj@ximian.com> * mail-preferences.c (mail_preferences_construct): Same as below. * mail-composer-prefs.c (mail_composer_prefs_construct): gconf can return empty string if the charset has not been set, so if the charset string is empty, default the charset to the user's locale charset. Partial fix for bug #47638. svn path=/trunk/; revision=22690
* Don't xmlFree (name) until after we've g_strdup'd it. (em_migrate_dir): IfJeffrey Stedfast2003-09-242-8/+23
| | | | | | | | | | | | 2003-09-23 Jeffrey Stedfast <fejj@ximian.com> * evolution-mbox-upgrade.c (get_local_store): Don't xmlFree (name) until after we've g_strdup'd it. (em_migrate_dir): If the metadata file doesn't exist, don't even bother trying subfolers (the shell just ignores them so we should too). svn path=/trunk/; revision=22679
* Don't xmlFree (name) until after we've g_strdup'd it.Jeffrey Stedfast2003-09-242-2/+5
| | | | | | | | | 2003-09-23 Jeffrey Stedfast <fejj@ximian.com> * evolution-mbox-upgrade.c (get_local_store): Don't xmlFree (name) until after we've g_strdup'd it. svn path=/trunk/; revision=22676
* Fix for bug #48791 (and also fixes a FIXME)Jeffrey Stedfast2003-09-243-16/+55
| | | | | | | | | | | | | | | | 2003-09-23 Jeffrey Stedfast <fejj@ximian.com> Fix for bug #48791 (and also fixes a FIXME) * em-format.c (emf_init): Setup a gconf listener for changes to the charset setting. (gconf_charset_changed): Update the cached gconf charset value. (emf_finalise): Free the EMFormatPrivate data, unref the gconf client, disconnect the charset notify id, and free the cached gconf charset value. (em_format_format_text): Use the cached gconf charset value. svn path=/trunk/; revision=22675
* ** See bug #32996Not Zed2003-09-233-2/+15
| | | | | | | | | | | | | | | | 2003-09-22 Not Zed <NotZed@Ximian.com> ** See bug #32996 * mail-folder-cache.c (real_flush_updates): don't just pass TRUE to the 'can work offline' parameter of new shell folder. ** See bug #39410 * mail-ops.c (prep_offline_do): sync all messages, not just unread or flagged ones. svn path=/trunk/; revision=22655
* removed, moved to em-folder-view, for now, it has access to an invisible.Not Zed2003-09-233-15/+71
| | | | | | | | | | | | | | 2003-09-22 Not Zed <NotZed@Ximian.com> * em-popup.c (emp_uri_popup_link_copy): removed, moved to em-folder-view, for now, it has access to an invisible. * em-folder-view.c (emfv_setting_notify): honour the load_http setting, at least the all setting. (emfv_format_popup_event): setup the popup menu item for copy link location here. svn path=/trunk/; revision=22652
* Connect to "value-changed" rather than "changed" for spin buttons.Jeffrey Stedfast2003-09-232-1/+6
| | | | | | | | | 2003-09-22 Jeffrey Stedfast <fejj@ximian.com> * mail-preferences.c (mail_preferences_construct): Connect to "value-changed" rather than "changed" for spin buttons. svn path=/trunk/; revision=22650
* implement, we hook into the mail progress reporting stuff by overridingNot Zed2003-09-233-1/+59
| | | | | | | | | | | | | | 2003-09-21 Not Zed <NotZed@Ximian.com> * mail-session.c (ms_thread_msg_new): implement, we hook into the mail progress reporting stuff by overriding the CamelOperation member with one from a dummy mail_msg. (ms_thread_msg_free): handle freeing. * mail-mt.c (mail_msg_free): mute the camel-operaiton when we free it so we no longer get updates. svn path=/trunk/; revision=22649
* Set the window title to be that of the message subject. Fixes bug #48617.Jeffrey Stedfast2003-09-202-1/+13
| | | | | | | | | 2003-09-19 Jeffrey Stedfast <fejj@ximian.com> * em-message-browser.c (emmb_set_message): Set the window title to be that of the message subject. Fixes bug #48617. svn path=/trunk/; revision=22629
* Fix for bug #48618.Jeffrey Stedfast2003-09-204-9/+55
| | | | | | | | | | | | | | 2003-09-19 Jeffrey Stedfast <fejj@ximian.com> Fix for bug #48618. * em-folder-view.c (emfv_list_message_selected): See if we have already loaded the message uid that has just been selected, if so - don't bother re-loading it. (emfv_list_done_message_selected): Update loaded_uid and loading_uid. svn path=/trunk/; revision=22628
* use gtkhtml's blockingRadek Doulik2003-09-192-0/+5
| | | | | | | | 2003-09-18 Radek Doulik <rodo@ximian.com> * em-format-html.c (efh_init): use gtkhtml's blocking svn path=/trunk/; revision=22622
* updated cvsignore fileJeffrey Stedfast2003-09-191-0/+3
| | | | svn path=/trunk/; revision=22619
* updated for CamelTransferEncoding namespace changesJeffrey Stedfast2003-09-194-11/+21
| | | | | | | | | | | | | | 2003-09-18 Jeffrey Stedfast <fejj@ximian.com> * em-inline-filter.c: updated for CamelTransferEncoding namespace changes * em-inline-filter.h: updated for CamelTransferEncoding namespace changes * mail-ops.c: updated for CamelTransferEncoding namespace changes svn path=/trunk/; revision=22618
* updated for camel namespace changesJeffrey Stedfast2003-09-1916-50/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-09-18 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c: updated for camel namespace changes * em-folder-view.c: updated for camel namespace changes * em-format-html-display.c: updated for camel namespace changes * em-format-html-quote.c: updated for camel namespace changes * em-format.c: updated for camel namespace changes * em-popup.c: updated for camel namespace changes * em-utils.c: updated for camel namespace changes * mail-autofilter.c: updated for camel namespace changes * mail-ops.c: updated for camel namespace changes * mail-session.c: updated for camel namespace changes * message-list.c: updated for camel namespace changes * message-tag-followup.c: updated for camel namespace changes * importers/evolution-mbox-importer.c: updated for camel namespace changes 2003-09-18 Jeffrey Stedfast <fejj@ximian.com> * em-popup.c (emp_standard_menu_factory): Don't forget to initialise/increment 'i' when using it as an object id in the for-loop. * em-format.c (em_format_format_text): Initialise charset to NULL or it may be used uninitialised. Also include gnome-vfs-mime-handlers.h for gnome_vfs_mime_type_get_description(). svn path=/trunk/; revision=22610
* Initialise charset to NULL or it may be used uninitialised. Also includeJeffrey Stedfast2003-09-193-11/+21
| | | | | | | | | | | | | 2003-09-18 Jeffrey Stedfast <fejj@ximian.com> * em-format.c (em_format_format_text): Initialise charset to NULL or it may be used uninitialised. Also include gnome-vfs-mime-handlers.h for gnome_vfs_mime_type_get_description(). * Makefile.am: Added $(MARSHALL_GENERATED) to $(BUILT_SOURCES) so that em-marshal.[c,h] were autogenerated. svn path=/trunk/; revision=22609
* cvs removed.Not Zed2003-09-1877-15950/+16729
| | | | | | | | | | | | | | | | | | | | | | | | | 2003-09-17 Not Zed <NotZed@Ximian.com> * folder-browser.c, folder-browser.h, folder-browser-ui.c folder-browser-ui.h, mail-callbacks.c, mail-callbacks.h mail-display.c, mail-display.h, mail-display-stream.c mail-display-stream.h, mail-format.c, mail-format.h mail-identify.c, mail-search.c, mail-search.h message-browser.c, message-browser.h, subscribe-dialog.c subscribe-dialog.h, mail-font-prefs.c, mail-font-prefs.h: cvs removed. * Makefile.am: Removed mail-font-prefs.[ch], hasn't been built for ages. * em-*.c: killed a bunch of printfs. * em-format-html-display.c (efhd_html_button_press_event): update for html object api chagnes. ** Merge in mail-refactor-2 branch. svn path=/trunk/; revision=22602
* New source file to migrate from the old mbox structure to the new mboxJeffrey Stedfast2003-09-183-2/+423
| | | | | | | | | 2003-09-17 Jeffrey Stedfast <fejj@ximian.com> * evolution-mbox-upgrade.c: New source file to migrate from the old mbox structure to the new mbox structure. svn path=/trunk/; revision=22596
* update for newer gtkhtmlRadek Doulik2003-09-172-2/+2
| | | | svn path=/trunk/; revision=22592
* temporarily reverting camel namespace changes until after other branches ↵Jeffrey Stedfast2003-08-2711-80/+51
| | | | | | have been merged svn path=/trunk/; revision=22374
* Updated for camel namespace changes.Jeffrey Stedfast2003-08-276-5/+17
| | | | | | | | | | | | | | | | 2003-08-26 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c: Updated for camel namespace changes. * folder-browser.c: Same. * mail-autofilter.c: Here too. * mail-callbacks.c: And here. * importers/evolution-mbox-importer.c: And finally here. svn path=/trunk/; revision=22367
* updated for namespace changed made to camel-mime-utils.[c,h]Jeffrey Stedfast2003-08-266-46/+63
| | | | | | | | | | | | | | | | | | | | | 2003-08-25 Jeffrey Stedfast <fejj@ximian.com> * mail-display.c: updated for namespace changed made to camel-mime-utils.[c,h] * mail-format.c: updated for namespace changed made to camel-mime-utils.[c,h] * mail-ops.c: updated for namespace changed made to camel-mime-utils.[c,h] * message-list.c: updated for namespace changed made to camel-mime-utils.[c,h] * message-tag-followup.c: updated for namespace changed made to camel-mime-utils.[c,h] svn path=/trunk/; revision=22357
* translate the local time format.Not Zed2003-08-237-33/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-08-22 Not Zed <NotZed@Ximian.com> * mail-format.c (write_date): translate the local time format. 2003-08-20 David Woodhouse <dwmw2@infradead.org> * mail-format.c (write_date): Use e_utf8_strftime() to generate localised time; avoid gratuitous extra translation and array of day names, and the autoconf magic which made Not Zed dislike the inclusion of the timezone name. 2003-08-05 Not Zed <NotZed@Ximian.com> ** See bug #32732 * message-list.c (mail_regen_list): use thread_new. * mail-local.c (reconfigure_response): use thread_new. * mail-display.c (stream_write_or_redisplay_when_loaded): use thread_new. * mail-config.c (mail_config_check_service): use thread_new rather than queue. * mail-callbacks.c (view_msg): change to use mail_get_messages(), fixes FIXME. (do_view_messages): handle get_messages callback. (do_view_message): removed. * mail-ops.c (mail_get_folderinfo): Use a new thread thread semantic. (mail_save_part): " (mail_store_set_offline): " (mail_sync_folder): use queued_slow thread queue. (mail_expunge_folder): " (mail_empty_trash): " svn path=/trunk/; revision=22340
* Don't abort at the first failure after sending (filtering, appending toJeffrey Stedfast2003-08-232-30/+63
| | | | | | | | | | | | | 2003-08-14 Jeffrey Stedfast <fejj@ximian.com> * mail-ops.c (mail_send_message): Don't abort at the first failure after sending (filtering, appending to Sent, syncing). Instead, keep a running tab of exceptions and then set a culmulative exception at the end to report to our caller. Also, if we fail to append to the account Sent folder, try again with the local Sent folder. Fixes bug #46512. svn path=/trunk/; revision=22336
* removed upgrade-mailer.c - no longer used/neededJeffrey Stedfast2003-08-202-1176/+0
| | | | svn path=/trunk/; revision=22291
* Removed the new-mail-notification mess.Jeffrey Stedfast2003-08-203-47/+115
| | | | | | | | | | | | | | | | | | | | 2003-08-18 Jeffrey Stedfast <fejj@ximian.com> * mail-session.c (main_get_filter_driver): Removed the new-mail-notification mess. * mail-folder-cache.c (notify_idle_cb): New idle callback to alert the user about new mail. (notify_type_changed): New function to intercept user changes to his/her notification settings changes. (real_flush_updates): Initialise new mail notification if not yet initialised and setup an idle callback if none is already set. (update_1folder): Now takes an additional argument `new' which states whether or not the fodler got any new mail so that we may handle notify the user (if needed). (folder_changed): Pass in the number of new messages received. svn path=/trunk/; revision=22290
* Added a comment for translators.Not Zed2003-08-192-3/+19
| | | | | | | | | | | | | | 2003-08-19 Not Zed <NotZed@Ximian.com> * mail-callbacks.c (mail_generate_reply): Added a comment for translators. 2003-08-19 David Woodhouse <dwmw2@infradead.org> * mail-callbacks.c (mail_generate_reply): Add a timezone offset to the attribution string. svn path=/trunk/; revision=22284
* Added translation for day and localtime strings. Also removed the tz_zoneNot Zed2003-08-192-2/+46
| | | | | | | | | | | | | | 2003-08-19 Not Zed <NotZed@Ximian.com> * mail-format.c (write_date): Added translation for day and localtime strings. Also removed the tz_zone stuff, and just use 'localtime' always. 2003-08-15 David Woodhouse <dwmw2@infradead.org> * mail-format.c (write_date): Show date in localtime too. svn path=/trunk/; revision=22283
* ** For #45348Harry Lu2003-08-192-1/+8
| | | | | | | | | | | 2003-08-19 Harry Lu <harry.lu@sun.com> ** For #45348 * mail-display.c (mail_display_render): Change "%P" to "%p" so that strftime() can work under solaris. svn path=/trunk/; revision=22278
* fixed shitJeffrey Stedfast2003-08-151-5/+6
| | | | svn path=/trunk/; revision=22239
* Fix for 45818 ( i18n mail messages search only produces '[?]'). NowSuresh Chandrasekharan2003-08-152-4/+12
| | | | | | | | | | | 2003-08-13 Suresh Chandrasekharan <suresh.chandrasekharan@sun.com> * e-searching-tokenizer.c (searcher_next_token): Fix for 45818 ( i18n mail messages search only produces '[?]'). Now multibyte character selection works correctly. But due to associated gtkhtml bug, the find button functionallity for multibyte characters is broken. svn path=/trunk/; revision=22236
* Removed unused function prototype.Jeffrey Stedfast2003-08-132-4/+4
| | | | | | | | 2003-08-12 Jeffrey Stedfast <fejj@ximian.com> * mail-tools.h: Removed unused function prototype. svn path=/trunk/; revision=22195
* removed all the timeout shite that we don't even use anymoreJeffrey Stedfast2003-08-122-235/+5
| | | | svn path=/trunk/; revision=22180
* Updated for CamelMimePart::content_type changes.Jeffrey Stedfast2003-08-125-68/+109
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-08-05 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (handle_multipart_encrypted): Updated for CamelMimePart::content_type changes. * mail-ops.c (save_part_save): Use camel_data_wrapper_decode_to_stream() here. * mail-display.c (drag_data_get_cb): Updated for CamelMimePart::content_type changes. (do_attachment_header): Same. 2003-07-31 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (mail_format_raw_message): Updated to pass FALSE as the 'decode' param to mail_format_data_wrapper_write_to_stream(). (mail_format_data_wrapper_write_to_stream): Now takes a boolean arg telling whether to decode or not. Also reworked the charset logic now that camel doesn't handle this for us any longer. (mail_format_get_data_wrapper_text): Updated. (handle_text_plain): Same. (handle_text_enriched): Here too. * mail-display.c (do_attachment_header): Call decode_to_stream here instead of write_to_stream. (do_external_viewer): Same. (on_url_requested): Same. Also updated for mail_format_data_wrapper_write_to_stream(). (try_part_urls): Call decode_to_stream. (drag_data_get_cb): Same. svn path=/trunk/; revision=22173
* ** See bug #47224. Hook onto clicked rather than button_pressed, so thatNot Zed2003-08-062-18/+36
| | | | | | | | | | | | | | | | | | | 2003-08-05 Not Zed <NotZed@Ximian.com> ** See bug #47224. Hook onto clicked rather than button_pressed, so that dnd works. * mail-display.c (inline_toggle): toggle a part inline. (button_press): change back to only handle button clicked events, renamed to inline_button_clicked. (do_attachment_header): hook onto clicked rather than button_press_event, and move key_press_event to inline_button_pressed. (do_signature): Same. (inline_button_pressed): handle inline button key press event explicitly. svn path=/trunk/; revision=22095
* add a CamelOperation for overriding status handler.Not Zed2003-08-0211-20/+41
| | | | | | | | | | | | | | | | | 2003-07-29 Not Zed <NotZed@Ximian.com> * mail-folder-cache.c (mail_note_store): add a CamelOperation for overriding status handler. * mail-send-recv.c (receive_update_got_store): Pass our own cancel handle to get_folderinfo and mail_note_store. (mail_send_receive, mail_receive_uri): Same for get_store. * mail-ops.c (mail_get_store, mail_get_folderinfo): Add a CamelOperation argument, for overriding the status handler. Fixed most calles to pass NULL to use the default. svn path=/trunk/; revision=22056
* *Fix for bug #6951Harry Lu2003-08-012-17/+164
| | | | | | | | | | | | | | | | | | | 2003-07-28 Harry Lu <harry.lu@sun.com> *Fix for bug #6951 * mail-display.c (launch_cb): Bypass the new added menu item. (save_all_parts_cb): New function. Do the real save-all work. (save_all_parts): New function. Get the directory to save to. (save_all_cb): New function. The call-back function for the new added menu item. (pixmap_press): Add the new menu item "Save All Attachment...". (ptr_array_free_notify): A simple wrapper function to free the pointer array. (do_attachment_header): Save attachment pointer in an array for "Save All Attachment" use. svn path=/trunk/; revision=22045
* close mail message window using 'ESC' key, fix bug #47087Yuedong Du2003-08-012-0/+8
| | | | | | | | | 2003-08-01 Yuedong Du <yuedong.du@sun.com> * message-browser.c: (on_key_press): close mail message window using 'ESC' key, fix bug #47087 svn path=/trunk/; revision=22043
* Removed smime functions as they were stale.Jeffrey Stedfast2003-07-293-180/+4
| | | | | | | | 2003-07-28 Jeffrey Stedfast <fejj@ximian.com> * mail-crypto.c: Removed smime functions as they were stale. svn path=/trunk/; revision=21995
* Handle our own Delete key presses. Fixes bug #45597.Jeffrey Stedfast2003-07-262-0/+26
| | | | | | | | | 2003-07-25 Jeffrey Stedfast <fejj@ximian.com> * message-browser.c (message_browser_new): Handle our own Delete key presses. Fixes bug #45597. svn path=/trunk/; revision=21971
* Revert prior changes.Jeffrey Stedfast2003-07-242-21/+52
| | | | | | | | | 2003-07-23 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (mail_format_data_wrapper_write_to_stream): Revert prior changes. svn path=/trunk/; revision=21921
* Fix type warnings (folder_browser_toggle_caret_mode): Remove unusedDan Winship2003-07-2310-28/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * folder-browser.c (message_list_drag_data_get): Fix type warnings (folder_browser_toggle_caret_mode): Remove unused variable. * folder-browser-ui.c (basename): remove unused function * mail-account-gui.c (mail_account_gui_build_extra_conf): Fix warnings * mail-callbacks.c (empty_trash): Remove unused variable. * mail-display.c: #include gal/widgets/e-gui-utils.h for e_auto_kill_popup_menu_on_selection_done * mail-importer.c: #include e-util/e-path.h for e_path_to_physical * mail-session.c (main_play_sound): don't declare filename to be const and then free it. * mail-vfolder.c (vfolder_edit_rule, vfolder_gui_add_rule): Fix casts * message-list.c (build_flat_diff): Fix a typo in the non-BROKEN_ETREE code svn path=/trunk/; revision=21903
* We don't have camel_pgp_mime_is_rfc2015_encrypted() anymore so just lookJeffrey Stedfast2003-07-172-48/+24
| | | | | | | | | | | | 2003-07-16 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (handle_multipart_encrypted): We don't have camel_pgp_mime_is_rfc2015_encrypted() anymore so just look at the protocol for now. (mail_format_data_wrapper_write_to_stream): Updated for the new way camel handles content objects. svn path=/trunk/; revision=21844
* We don't have camel_pgp_mime_is_rfc2015_encrypted() anymore so just lookJeffrey Stedfast2003-07-172-1/+9
| | | | | | | | | | 2003-07-16 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (handle_multipart_encrypted): We don't have camel_pgp_mime_is_rfc2015_encrypted() anymore so just look at the protocol for now. svn path=/trunk/; revision=21841
* Handle invalid URIs, or more likely, the last empty element in a URI listFederico Mena Quintero2003-07-163-0/+16
| | | | | | | | | | | | 2003-07-15 Federico Mena Quintero <federico@ximian.com> * folder-browser.c (message_list_drag_data_received): Handle invalid URIs, or more likely, the last empty element in a URI list --- g_strsplit() will yield { "uri1", "", NULL }. Fixes #46398. * component-factory.c (destination_folder_handle_drop): Likewise. svn path=/trunk/; revision=21818
* remove the use of caret mode widget style. use new gtkhtml api to setYuedong Du2003-07-153-6/+10
| | | | | | | | | | | 2003-07-15 Yuedong Du <yuedong.du@sun.com> * mail-config.c: (config_write_style), (mail_config_init): remove the use of caret mode widget style. * mail-display.c: (display_notify), (mail_display_new): use new gtkhtml api to set caret mode. svn path=/trunk/; revision=21816
* Change the EditPaste mask to IS_0MESSAGE so that it is always activatable.Antonio Xu2003-07-122-1/+6
| | | | | | | | | 2003-07-11 Antonio Xu <antonio.xu@sun.com> * folder-browser-ui.c: Change the EditPaste mask to IS_0MESSAGE so that it is always activatable. Fixes bug #46018. svn path=/trunk/; revision=21801
* camel-smime-utils.h doesn't exist anymoreJeffrey Stedfast2003-07-111-1/+0
| | | | svn path=/trunk/; revision=21795
* ** For bug #41839Maxx Cao2003-07-102-26/+76
| | | | | | | | | | | | | | | | | | 2003-07-04 Maxx Cao <maxx.cao@sun.com> ** For bug #41839 * mail-display.c (do_attachment_header): Attachment buttons made accessable with keyboard (focusable). "Inline" button is disabled when attachment can't be viewed inline. (do_signature): Signature button made accessable with keyboard (focusable). (button_press): Function changed to an event callback (originally gtkbutton signal callback). (popup_menu_placement_callback): Function added to place popup menu (of attachment) beside button when activated by keyboard. svn path=/trunk/; revision=21788
* add a gconf key corresponding to newly introduced caret mode of gtkhtmlYuedong Du2003-07-106-0/+83
| | | | | | | | | | | | | | | | | | | | | | 2003-07-10 Yuedong Du <yuedong.du@sun.com> * evolution-mail.schemas: add a gconf key corresponding to newly introduced caret mode of gtkhtml widget. * folder-browser-ui.c: new verb handling, corresponding the new menu entry for the caret mode flag. * folder-browser.h: declaration of new verb handler to the menu entry that turn caret mode on/off. The function just set the new introduced gconf key. * folder-browser.c: ditto * mail-config.c: lstione to the new gconf key, and when caret mode flag is set/unset,change the style of gtkhtml widget. see bug #44607. svn path=/trunk/; revision=21776
* Removed camel-pgp-mime.h, it no longer exists.Jeffrey Stedfast2003-07-103-2/+6
| | | | | | | | | | 2003-07-09 Jeffrey Stedfast <fejj@ximian.com> * mail-crypto.h: Removed camel-pgp-mime.h, it no longer exists. * mail-format.c: Remove camel-pgp-mime.h svn path=/trunk/; revision=21775
* Use camel_strcase_hash/equal.Jeffrey Stedfast2003-07-082-3/+6
| | | | | | | | | 2003-07-07 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (mail_generate_reply): Use camel_strcase_hash/equal. svn path=/trunk/; revision=21756
* Updated to use the camel-file-utils version of mkdir.Jeffrey Stedfast2003-07-082-4/+8
| | | | | | | | | 2003-07-07 Jeffrey Stedfast <fejj@ximian.com> * upgrade-mailer.c: Updated to use the camel-file-utils version of mkdir. svn path=/trunk/; revision=21754
* fixed the changelogJeffrey Stedfast2003-07-081-0/+8
| | | | svn path=/trunk/; revision=21750
* Apply a From-filter when dragging as a test/uri-list and message/rfc822.Jeffrey Stedfast2003-07-082-9/+5
| | | | | | | | | | | 2003-07-02 Jeffrey Stedfast <fejj@ximian.com> * folder-browser.c (message_list_drag_data_get): Apply a From-filter when dragging as a test/uri-list and message/rfc822. Fixes bug #45617. Also free the uids ptrarray for the text/uri-list case. svn path=/trunk/; revision=21749
* Strip the signature from the body text. Fixes bug #45523. While we'reJeffrey Stedfast2003-07-043-25/+86
| | | | | | | | | | | | | | | | | | | 2003-07-02 Jeffrey Stedfast <fejj@ximian.com> * mail-tools.c (mail_tool_forward_message): Strip the signature from the body text. Fixes bug #45523. While we're here, also fix the code to quote exactly the same way as the mail_tool_quote_message() function. (mail_tool_quote_message): The last arg should not be 'want_plain', because that arg is for whether or not the body should be quoted. * folder-browser.c (message_list_drag_data_get): Apply a From-filter when dragging as a test/uri-list and message/rfc822. Fixes bug #45617. Also free the uids ptrarray for the text/uri-list case. svn path=/trunk/; revision=21739
* Gone (pixbuf_gen_idle): Use e_icon_for_mime_type instead.Dan Winship2003-07-032-58/+7
| | | | | | | * mail-display.c (pixbuf_for_mime_type): Gone (pixbuf_gen_idle): Use e_icon_for_mime_type instead. svn path=/trunk/; revision=21736
* Use the newer utf8 versions of the e_strftime*() functions since ourJeffrey Stedfast2003-07-024-7/+19
| | | | | | | | | | | | | | | | 2003-06-27 Jeffrey Stedfast <fejj@ximian.com> * message-list.c (filter_date): Use the newer utf8 versions of the e_strftime*() functions since our format strings are all now in UTF-8. * mail-display.c (mail_display_render): Use the newer e_utf8_strftime_fix_am_pm(). * mail-callbacks.c (mail_generate_reply): Use e_utf8_strftime(), otherwise we can end up with invalid utf-8. svn path=/trunk/; revision=21712
* applied simpler spell error color fixRadek Doulik2003-06-262-5/+15
| | | | svn path=/trunk/; revision=21545
* reverted spell error color fixRadek Doulik2003-06-264-110/+30
| | | | svn path=/trunk/; revision=21542