aboutsummaryrefslogtreecommitdiffstats
path: root/mail
Commit message (Collapse)AuthorAgeFilesLines
* filter notification events to keep the redisplay count down.Larry Ewing2003-05-212-3/+18
| | | | | | | | | 2003-05-20 Larry Ewing <lewing@ximian.com> * mail-display.c: filter notification events to keep the redisplay count down. svn path=/trunk/; revision=21290
* remove references to gtkhtml property manager. Connect to missingLarry Ewing2003-05-218-123/+129
| | | | | | | | | | | | | | | | | | | | 2003-05-20 Larry Ewing <lewing@ximian.com> * mail-composer-prefs.c: remove references to gtkhtml property manager. Connect to missing settings. * mail-preferences.c: remove references to gtkhtml property manager. Connect to missing settings. * mail-config.glade: remove keybinding setting. * mail-display.c (mail_display_destroy): remove notification. (display_notify): set animate and redisplay. We have to redisplay because the citation color may have changed. * evolution-mail.schemas: add composer and display gconf entries. svn path=/trunk/; revision=21288
* Only re-add the store to the folder-tree if the account is enabled. Oops.Jeffrey Stedfast2003-05-202-1/+7
| | | | | | | | | | 2003-05-19 Jeffrey Stedfast <fejj@ximian.com> * mail-account-gui.c (mail_account_gui_save): Only re-add the store to the folder-tree if the account is enabled. Oops. Fixes bug #43214. svn path=/trunk/; revision=21283
* remove references to font prefs.Larry Ewing2003-05-204-35/+39
| | | | | | | | | | | | | | | | 2003-05-20 Larry Ewing <lewing@ximian.com> * mail-config-factory.c: remove references to font prefs. * component-factory.c: Remove stale refernces the the font prefs. (make_factory): remove unused variables. * mail-config.c (mail_config_init): add a notify callback to the spelling color. (config_write_style): rename and write out the spell color as well. svn path=/trunk/; revision=21279
* ** See bug #43234Not Zed2003-05-192-1/+11
| | | | | | | | | | | 2003-05-20 Not Zed <notzed@lostzed.mmc.com.au> ** See bug #43234 * mail-display.c (mail_display_set_message): if we've been destroyed, noop. svn path=/trunk/; revision=21247
* New async "empty trash" op.Dan Winship2003-05-194-16/+89
| | | | | | | | | * mail-ops.c (mail_empty_trash): New async "empty trash" op. * mail-callbacks.c (empty_trash): Use it rather than requiring that mail_tool_get_vtrash() work without blocking. #43091 svn path=/trunk/; revision=21243
* gnome_font_get_descender returns negative valueRadek Doulik2003-05-192-1/+6
| | | | | | | | | 2003-05-16 Radek Doulik <rodo@ximian.com> * mail-callbacks.c (footer_info_new): gnome_font_get_descender returns negative value svn path=/trunk/; revision=21238
* remove font prefs server from the listLarry Ewing2003-05-192-25/+5
| | | | | | | | | 2003-05-17 Larry Ewing <lewing@ximian.com> * GNOME_Evolution_Mail.server.in.in: remove font prefs server from the list svn path=/trunk/; revision=21236
* Add #include to fix warning.Jeremy Katz2003-05-178-17/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-05-17 Jeremy Katz <katzj@redhat.com> * mail-offline-handler.c: Add #include to fix warning. * mail-mt.c (mail_msg_new): Use glib macros for pointer/int conversions. (mail_msg_free): Likewise. (mail_msg_cancel): Likewise. (mail_msg_wait): Likewise. (mail_msg_active): Likewise. * mail-session.c (main_register_timeout): Likewise. (register_timeout): Likewise. (main_remove_timeout): Likewise. (remove_timeout): Likewise. * message-list.c (ml_value_to_string): Likewise. * mail-identify.c: Add #include to fix warning. * mail-config.c (config_write_fonts): Don't pass extra arguments to g_warning. * mail-callbacks.c: Add #include to fix warning. svn path=/trunk/; revision=21222
* ** See bug #42838.Not Zed2003-05-162-3/+11
| | | | | | | | | | | 2003-05-15 Not Zed <NotZed@Ximian.com> ** See bug #42838. * mail-account-gui.c (mail_account_gui_build_extra_conf): always add the extra entry to the hash table, most paths wouldn't. svn path=/trunk/; revision=21203
* Disabled some debugging messages.Jeffrey Stedfast2003-05-162-2/+6
| | | | | | | | 2003-05-14 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c: Disabled some debugging messages. svn path=/trunk/; revision=21192
* add protoJP Rosevear2003-05-157-57/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-05-14 JP Rosevear <jpr@ximian.com> * mail-local.h: add proto * mail-local.c (storage_listener_startup): don't listen for destruction, because we have a ref and it'll never happen (mail_local_storage_shutdown): release and unref the local storage * mail-display.c (retrieve_shell_view_interface_from_control): return a new copy every time (set_status_message): release and unref the shell view * folder-browser.c (folder_browser_destroy): guard for multiple destroys * folder-browser-factory.c (control_activate): release and unref the shell view (control_destroy_cb): just remove the control from the list (folder_browser_factory_new_control): don't weak ref the folder browser * component-factory.c (owner_unset_cb): shutdown local storage svn path=/trunk/; revision=21181
* Removed. (make_factory): No need to set up the SIGSEGV redirect handlerEttore Perazzoli2003-05-143-44/+16
| | | | | | | | | | | | * component-factory.c (segv_redirect): Removed. (make_factory): No need to set up the SIGSEGV redirect handler here, since it's already done in the shell now, and it's in-proc. * folder-browser-ui.c (folder_browser_ui_rm_all): Only do the bonobo_ui_component() stuff if the component does have a container. svn path=/trunk/; revision=21156
* Fix ChangeLog for yesterday's commit.Ettore Perazzoli2003-05-101-4/+3
| | | | svn path=/trunk/; revision=21141
* (request_password): Make sure password_dialog isEttore Perazzoli2003-05-092-2/+10
| | | | | | | | NULLified when the dialog is destroyed in any case, using g_object_add_weak_pointer(). Prevents a crash that could happen if the shell would quit with the password dialog still up. svn path=/trunk/; revision=21133
* Make sure that we haven't been destroyed before we start writing to theJeffrey Stedfast2003-05-092-0/+11
| | | | | | | | | | 2003-05-07 Jeffrey Stedfast <fejj@ximian.com> * mail-display.c (mail_display_render): Make sure that we haven't been destroyed before we start writing to the html engine. Fixes bug #42333. svn path=/trunk/; revision=21132
* ** See bug #42456Not Zed2003-05-082-0/+12
| | | | | | | | | | | | 2003-05-07 Not Zed <NotZed@Ximian.com> ** See bug #42456 * mail-composer-prefs.c (spell_language_button_press): set the enable/disable button to the right text when we toggle a column. Added a fixme about the weird code in the whole routine. svn path=/trunk/; revision=21127
* Correct default for list.Jeremy Katz2003-05-082-1/+7
| | | | | | | | | | 2003-05-07 Jeremy Katz <katzj@redhat.com> * evolution-mail.schemas (/schemas/apps/evolution/mail/display/mime_types): Correct default for list. svn path=/trunk/; revision=21125
* ** See bug #42400Not Zed2003-05-072-0/+15
| | | | | | | | | | | 2003-05-06 Not Zed <NotZed@Ximian.com> ** See bug #42400 * mail-tools.c (meta_data_key): protect against getting an unparsable uri. svn path=/trunk/; revision=21119
* ** See bug #42294.Not Zed2003-05-062-1/+9
| | | | | | | | | | | 2003-05-05 Not Zed <NotZed@Ximian.com> ** See bug #42294. * mail-config.c (config_write_fonts): Also set the custom font style for *BonoboPlug*GtkHTML. svn path=/trunk/; revision=21109
* (request_password): Set OK as the defaultEttore Perazzoli2003-05-062-0/+6
| | | | | | response for the password_dialog. svn path=/trunk/; revision=21104
* To be consistant with the message-list envelope toggle, undelete theJeffrey Stedfast2003-05-034-4/+38
| | | | | | | | | | | | | | | | | | | | | 2003-04-30 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (mark_as_unseen): To be consistant with the message-list envelope toggle, undelete the message when we unmark the Seen flag here as well. Fixes bug #42118. 2003-04-30 Jeffrey Stedfast <fejj@ximian.com> * message-list.c (ml_tree_value_at): Fixed to return the correct values (swapped) in order to fix bug #42120. 2003-04-30 Jeffrey Stedfast <fejj@ximian.com> * message-list.c (regen_list_regened): Save the tree state before we tear down the tree and then load it back again. yay. Fixes bug #42170 and #40074. svn path=/trunk/; revision=21047
* ** See bug #41748Not Zed2003-05-012-7/+26
| | | | | | | | | | | | | | | | | 2003-04-30 Not Zed <NotZed@Ximian.com> ** See bug #41748 * mail-send-recv.c (build_dialogue): make sure we dont add any SEND_SEND types to the receive table. When we add the SEND_SEND type, key it on a fixed string SEND_URI_KEY. (receive_done): if it is a SEND_SEND type, use SEND_URI_KEY to remove it from the active list. (mail_receive_uri): make sure we never add a SEND_SEND type to the receive list. (mail_send): key the send info on SEND_URI_KEY not transport url. svn path=/trunk/; revision=21038
* Don't just blindly cast an int to gpointer, use the proper glib magicJeremy Katz2003-04-302-2/+9
| | | | | | | | | 2003-04-29 Jeremy Katz <katzj@redhat.com> * folder-browser-ui.c (fbui_sensitise_item): Don't just blindly cast an int to gpointer, use the proper glib magic instead. svn path=/trunk/; revision=21026
* Updated for API change in the filter code.Jeffrey Stedfast2003-04-302-4/+10
| | | | | | | | | | 2003-04-29 Jeffrey Stedfast <fejj@ximian.com> * importers/netscape-importer.c (netscape_add_priority_workaround_filters): Updated for API change in the filter code. svn path=/trunk/; revision=21020
* ** See bug #41972Not Zed2003-04-305-14/+41
| | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-29 Not Zed <NotZed@Ximian.com> ** See bug #41972 * message-list.c (ml_tree_value_at): fix (void *) casts on trinary ops. * folder-browser.c (on_right_click): Store the label tag in the label callback data, not the translated name. * mail-config.c (label_defaults[]): Initialise with the tag values. (config_clear_labels): free tag field. (config_cache_labels): setup the tag field based on the position of the label name. (mail_config_get_label_color_by_name): Lookup colour by the untranslated TAG, not the translated/customisable tag. * mail-config.h (MailConfigLabel): Add a tag field, we were using the translated name as the label(!). svn path=/trunk/; revision=21008
* Remove preceding whitespaceDan Winship2003-04-302-0/+6
| | | | | | * mail-format.c (write_xmailer_header): Remove preceding whitespace svn path=/trunk/; revision=21004
* (mail_session_forget_passwords): Forget allEttore Perazzoli2003-04-292-1/+6
| | | | | | passwords again. [#41817] svn path=/trunk/; revision=20986
* Made toplevel container widgets set a border-width (including toplevelJeffrey Stedfast2003-04-296-2182/+2346
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-25 Jeffrey Stedfast <fejj@ximian.com> * mail-config.glade: Made toplevel container widgets set a border-width (including toplevel widgets within frames), set the table/hbox/vbox spacings, set the spacing between an image and the description text in hboxes to 12pts (as suggested by the HIG), Changed Add/Delete buttons to the stock Add/Remove buttons, etc 2003-04-24 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (mail_config_init): Cache the allowable mime-types. (mail_config_get_allowable_mime_types): New public function to get an array of allowable mime-types. * mail-format.c (mail_lookup_handler): Only allow a bonobo-component handler if the mime-type is something handled by evolution or the user has specifically chosen that type as available for viewing with a bonobo component in the gconf database. (mime_type_uses_evolution_component): New convenience function. (mime_type_can_use_component): Checks gconf to see if the user has allowed the mime-type to be viewed by a component. svn path=/trunk/; revision=20983
* as below (update_active): as belowRadek Doulik2003-04-253-4/+11
| | | | | | | | | | | | 2003-04-24 Radek Doulik <rodo@ximian.com> * mail-display.c (html_button_press_event): as below (update_active): as below * folder-browser.c (html_button_press_event): update for changed coordinates in gtk-2 svn path=/trunk/; revision=20959
* pass an exception to get_provider, to silence some warnings/get a validNot Zed2003-04-242-1/+9
| | | | | | | | | 2003-04-23 Not Zed <NotZed@Ximian.com> * mail-send-recv.c (get_receive_type): pass an exception to get_provider, to silence some warnings/get a valid result. svn path=/trunk/; revision=20950
* Only add the Organization: header if it is non-empty. Fixes bug #41730.Jeffrey Stedfast2003-04-242-1/+6
| | | | | | | | | 2003-04-22 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (composer_get_message): Only add the Organization: header if it is non-empty. Fixes bug #41730. svn path=/trunk/; revision=20935
* Protect against a NULL strv result from parsing the language list string.Jeffrey Stedfast2003-04-222-5/+12
| | | | | | | | | 2003-04-18 Jeffrey Stedfast <fejj@ximian.com> * mail-composer-prefs.c (spell_set_ui): Protect against a NULL strv result from parsing the language list string. svn path=/trunk/; revision=20903
* Fixes for bug #41142.Jeffrey Stedfast2003-04-192-3/+11
| | | | | | | | | | | | | 2003-04-17 Jeffrey Stedfast <fejj@ximian.com> Fixes for bug #41142. * mail-search.c (dialog_response_cb): Handle a GTK_RESPONSE_CLOSE response. (mail_search_construct): Changed the Cancel button into a Close button. svn path=/trunk/; revision=20889
* [ fixes #21499 ]Rodney Dawes2003-04-195-3/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-18 Rodney Dawes <dobey@ximian.com> [ fixes #21499 ] * gui/component/Makefile.am: * gui/component/addressbook.c: * gui/component/select-names/e-select-names-bonobo.c: * gui/contact-editor/Makefile.am: * gui/contact-editor/e-contact-editor.c: * gui/contact-list-editor/Makefile.am: * gui/contact-list-editor/e-contact-list-editor.c: Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui () * gui/Makefile.am: * gui/calendar-commands.c: * gui/tasks-control.c: * gui/dialogs/Makefile.am: * gui/dialogs/comp-editor.c: Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui () * Makefile.am: * e-msg-composer.c: Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui (). Fixes bug #21499. * Makefile.am: * folder-browser-ui.c: * mail-signature-editor.c: * message-browser.c: Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui (). Fixes bug #21499. * Makefile.am: * e-summary-factory.c: Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui () * e-shell-view.c: Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui () [#21499] svn path=/trunk/; revision=20888
* remove the help menu item handling, as the help menu is removed. Clean upNot Zed2003-04-172-7/+5
| | | | | | | | | 2003-04-17 Not Zed <NotZed@Ximian.com> * mail-signature-editor.c (menu_help): remove the help menu item handling, as the help menu is removed. Clean up of #38927. svn path=/trunk/; revision=20877
* Remove COMPONENTDIR and set BINDIR and VERSION instead.Not Zed2003-04-177-12/+26
| | | | | | | | | | | | | | | | 2003-04-16 Not Zed <NotZed@Ximian.com> * importers/Makefile.am (%.server.in): Remove COMPONENTDIR and set BINDIR and VERSION instead. * (importers/GNOME_Evolution_Mail_Pine_Intelligent_Importer.server.in.in, importers/GNOME_Evolution_Mail_Mbox_Importer.server.in.in, importers/GNOME_Evolution_Mail_Outlook_Importer.server.in.in, importers/GNOME_Evolution_Mail_Netscape_Intelligent_Importer.server.in.in, importers/GNOME_Evolution_Mail_Elm_Intelligent_Importer.server.in.in:) : Convert the type back to exe, and point to the main evolution executable. Fixes #41164. svn path=/trunk/; revision=20875
* schema keys can't be directories (#41419)Jeremy Katz2003-04-172-1/+5
| | | | | | | | 2003-04-16 Jeremy Katz <katzj@redhat.com> * evolution-mail.schemas: schema keys can't be directories (#41419) svn path=/trunk/; revision=20871
* Fixed a logic error that was the cause of bug #41389.Jeffrey Stedfast2003-04-172-1/+6
| | | | | | | | | 2003-04-15 Jeffrey Stedfast <fejj@ximian.com> * mail-config-druid.c (config_wizard_set_page): Fixed a logic error that was the cause of bug #41389. svn path=/trunk/; revision=20866
* For bug #41199.Not Zed2003-04-163-185/+285
| | | | | | | | | | | | | | | | | | | 2003-04-15 Not Zed <NotZed@Ximian.com> * For bug #41199. * subscribe-dialog.glade: New interface from Anna. Setup the wigdet names and add a progress bar, and set the default opening size to something reasonable. * subscribe-dialog.c (subscribe_dialog_construct): changes to match the glade file chagnes. remove the search stuff. hide the progress bar by default. (sc_activity_cb): show the progress bar when we're active, hide it when inactive. dont set any status. (struct _SubscribeDialogPrivate): Remove the appbar. svn path=/trunk/; revision=20858
* Free the temporary error text.Hans Petter Jansson2003-04-162-0/+5
| | | | | | | | 2003-04-15 Hans Petter Jansson <hpj@ximian.com> * mail-mt.c (mail_msg_check_error): Free the temporary error text. svn path=/trunk/; revision=20850
* Set the correct border width and vbox spacing to be HIG compliant. FixesJeffrey Stedfast2003-04-163-4/+18
| | | | | | | | | | | | | 2003-04-14 Jeffrey Stedfast <fejj@ximian.com> * mail-vfolder.c (vfolder_gui_add_rule): Set the correct border width and vbox spacing to be HIG compliant. Fixes bug #41209. (vfolder_edit_rule): Same here. * local-config.glade: Updated to comply with the HIG. Fixes bug #41244. svn path=/trunk/; revision=20846
* create a stock cancel button with a cancel all text. (build_dialogue):Not Zed2003-04-153-4/+21
| | | | | | | | | | | | | | | 2003-04-14 Not Zed <NotZed@Ximian.com> * mail-send-recv.c (build_dialogue): create a stock cancel button with a cancel all text. (build_dialogue): Create stock-like cancel buttons with no accelerators. A workaround for #41043. * message-list.c (ml_tree_value_at): if the node is the root node, do nothing. etable shouldn' really be searching the root node if it isn't visible ...? For #41190. svn path=/trunk/; revision=20842
* add proper defaults for the fonts settings.Larry Ewing2003-04-152-1/+8
| | | | | | | | | 2003-04-14 Larry Ewing <lewing@ximian.com> * evolution-mail.schemas: add proper defaults for the fonts settings. svn path=/trunk/; revision=20839
* Fixes bug #41243.Jeffrey Stedfast2003-04-123-337/+319
| | | | | | | | | | | | | 2003-04-11 Jeffrey Stedfast <fejj@ximian.com> Fixes bug #41243. * message-tag-followup.c (construct): Change the window border width and packing to comply with the HIG. * message-tags.glade: Updated to comply with the HIG. svn path=/trunk/; revision=20833
* Add padding around the entry/checkbox and change the border width of theJeffrey Stedfast2003-04-122-2/+10
| | | | | | | | | | 2003-04-11 Jeffrey Stedfast <fejj@ximian.com> * mail-session.c (request_password): Add padding around the entry/checkbox and change the border width of the dialog window to comply with the HIG. Fixes bug #41004. svn path=/trunk/; revision=20822
* Change the action button ordering and also change the padding to complyJeffrey Stedfast2003-04-112-15/+24
| | | | | | | | | | | 2003-04-10 Jeffrey Stedfast <fejj@ximian.com> * mail-search.c (mail_search_construct): Change the action button ordering and also change the padding to comply with the HIG. Fixes bug #41046 and at least part of bug #41142 (except for the s/Search/OK/ thing, which has not been agreed upon yet). svn path=/trunk/; revision=20808
* Change the padding to comply with the GNOME HIG. Fixes bug #41001.Jeffrey Stedfast2003-04-112-11/+18
| | | | | | | | | 2003-04-10 Jeffrey Stedfast <fejj@ximian.com> * mail-send-recv.c (build_dialogue): Change the padding to comply with the GNOME HIG. Fixes bug #41001. svn path=/trunk/; revision=20806
* ** See bug #40921Not Zed2003-04-093-32/+117
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-09 Not Zed <NotZed@Ximian.com> ** See bug #40921 * subscribe-dialog.c (subscribe_dialog_finalise): add a finalise funciton which actually free's resources. (get_short_folderinfo_got): dont call activity callback implicitly here, do it from the callers callback. (subscribe_get_short_folderinfo): dont call activity callback here. (fe_got_children): check implicitly if we were cancelled. also add back the node sort, and also call the activity callback from here instead of breaking layers of abstraction as above. (folder_etree_cancel_all): new method, force a cancel of all ops, but dont free anything. (store_data_free): dont unref the widget anymore, not needed. call cancel all on the ftree if its still active. (sc_close_pressed): destroy the subscribe dialogue as well as the app, it doesn't seem to get destroyed otherwise. (sc_activity_cb): do nothing if we have been cancelled. (subscribe_dialog_destroy): trigger a cancel of all outstanding ops. only free most data in the finalise method. (subscribe_dialog_class_init): hook onto finalise. (store_data_get_widget): dont ref the widget. * mail-callbacks.c (manage_subscriptions): sink the dialog. svn path=/trunk/; revision=20784
* set sensitivity of font pickers based on share setting.Larry Ewing2003-04-096-161/+356
| | | | | | | | | | | | | | | | | | | | | | 2003-04-09 Larry Ewing <lewing@ximian.com> * mail-preferences.c (font_share_changed): set sensitivity of font pickers based on share setting. (mail_preferences_construct): initialize font prefs. (mail_preferences_apply): set the font prefs. (font_changed): add gnome-font-picker changed function. * mail-preferences.h: add font pref widgets. * mail-config.c (mail_config_init): add notify to on fonts dir. (config_write_fonts): write out a gtkrc that overrides the gtkhtml fonts settings based on the gconf keys. * mail-config.glade: move display font setttings to mail prefs. * evolution-mail.schemas: add font settings. svn path=/trunk/; revision=20779
* Add a check for a NULL uid here. Don't see how it can happen, but it seemsJeffrey Stedfast2003-04-092-1/+7
| | | | | | | | | | 2003-04-08 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (do_view_message): Add a check for a NULL uid here. Don't see how it can happen, but it seems to have for Aaron. Anyways, this should fix bug #40904. svn path=/trunk/; revision=20762
* Remove color specs from the druid so it will use the theme colorsDan Winship2003-04-082-25/+3
| | | | | | | * mail-config.glade: Remove color specs from the druid so it will use the theme colors svn path=/trunk/; revision=20758
* Fix bad XML noticed by Not ZedDan Winship2003-04-084-6/+13
| | | | | | | | | * importers/GNOME_Evolution_Mail_Elm_Intelligent_Importer.server.in.in: * importers/GNOME_Evolution_Mail_Netscape_Intelligent_Importer.server.in.in: * importers/GNOME_Evolution_Mail_Pine_Intelligent_Importer.server.in.in: Fix bad XML noticed by Not Zed svn path=/trunk/; revision=20748
* swap button order. For #40900.Not Zed2003-04-082-2/+7
| | | | | | | | | 2003-04-08 Not Zed <NotZed@Ximian.com> * mail-vfolder.c (vfolder_gui_add_rule): swap button order. For #40900. svn path=/trunk/; revision=20740
* For string columns, never return NULL - always return "" if the value isJeffrey Stedfast2003-04-082-12/+20
| | | | | | | | | | 2003-04-07 Jeffrey Stedfast <fejj@ximian.com> * message-list.c (ml_tree_value_at): For string columns, never return NULL - always return "" if the value is empty. Fixes bug #40728. svn path=/trunk/; revision=20730
* Set the "script" data on the GtkEntry to NULL. (sig_add_script_response):Jeffrey Stedfast2003-04-082-11/+47
| | | | | | | | | | | | | | | | 2003-04-07 Jeffrey Stedfast <fejj@ximian.com> * mail-composer-prefs.c (sig_add_script_cb): Set the "script" data on the GtkEntry to NULL. (sig_add_script_response): If the "script" data on the GtkEntry object is non-NULL, then we are editing an existing signature, so just change the values in place and don't add it to the signature db. (sig_edit_cb): If sig->script is non-NULL, then we are editing a script signature, so pop up the script dialog instead. Fixes bug #38929. svn path=/trunk/; revision=20723
* use e_iconv_locale_languageRadek Doulik2003-04-082-2/+6
| | | | | | | | | 2003-04-07 Radek Doulik <rodo@ximian.com> * mail-composer-prefs.c (spell_load_values): use e_iconv_locale_language svn path=/trunk/; revision=20721
* Clean up server namesDan Winship2003-04-088-53/+76
| | | | | | | | | | | | | | | | | | | | | | | | * GNOME_Evolution_Mail.server.in.in: Clean up server names * importers/GNOME_Evolution_Mail_Elm_Intelligent_Importer.server.in.in: Likewise, and fix evolution-mail location * importers/GNOME_Evolution_Mail_Mbox_Importer.server.in.in: Likewise * importers/GNOME_Evolution_Mail_Netscape_Intelligent_Importer.server.in.in: Likewise * importers/GNOME_Evolution_Mail_Outlook_Importer.server.in.in: Likewise * importers/GNOME_Evolution_Mail_Pine_Intelligent_Importer.server.in.in: Likewise * importers/Makefile.am (%.server.in): Fix this for evolution-mail being a shlib. svn path=/trunk/; revision=20703
* ** Bug 40536Not Zed2003-04-074-15/+28
| | | | | | | | | | | | | | | 2003-04-03 Not Zed <NotZed@Ximian.com> ** Bug 40536 * component-factory.c (send_receive_cb): run the warning dialogue asynchronously. Also, set the mail send/receive dialogue to transient for parent. * mail-send-recv.c (mail_send_receive): return the dialogue for send/receive. svn path=/trunk/; revision=20691
* added "folder_type" parameter to EvolutionImporterLoadFileFn.Rodrigo Moya2003-04-036-3/+16
| | | | | | | | | | | | | | | 2003-04-02 Rodrigo Moya <rodrigo@ximian.com> * importers/evolution-mbox-importer.c (load_file_fn): * importers/evolution-outlook-importer.c (load_file_fn): added "folder_type" parameter to EvolutionImporterLoadFileFn. * importers/elm-importer.c (elm_import_file): pass empty string for "folder_type" argument to GNOME_Evolution_Importer_loadFile. * importers/pine-importer.c (pine_import_file): ditto. * importers/netscape-importer.c (netscape_import_file): ditto. svn path=/trunk/; revision=20645
* Only clear the Mail passwords.Not Zed2003-04-022-2/+4
| | | | | | | | | 2003-04-02 Not Zed <NotZed@Ximian.com> * mail-session.c (mail_session_forget_passwords): Only clear the Mail passwords. svn path=/trunk/; revision=20632
* Don't allow the 'prefix' argument to make_safe_filename() be NULL. If weJeffrey Stedfast2003-04-022-5/+15
| | | | | | | | | | 2003-04-01 Jeffrey Stedfast <fejj@ximian.com> * mail-display.c (save_part): Don't allow the 'prefix' argument to make_safe_filename() be NULL. If we don't yet have a save_dir in gconf, use $HOME, etc. Fixes bug #40608. svn path=/trunk/; revision=20621
* Call composer_check_autosave if we're going interactive, to check forNot Zed2003-04-022-0/+10
| | | | | | | | | | 2003-04-02 Not Zed <NotZed@Ximian.com> * component-factory.c (interactive_cb): Call composer_check_autosave if we're going interactive, to check for unsaved files. Fixes #40300. svn path=/trunk/; revision=20617
* if we're called and the idle handler is set, remove it, so we dont go andNot Zed2003-04-012-1/+13
| | | | | | | | | | 2003-04-01 Not Zed <NotZed@Ximian.com> * mail-display.c (mail_display_redisplay): if we're called and the idle handler is set, remove it, so we dont go and redisplay it again. Fixes #40522. svn path=/trunk/; revision=20609
* Properly init message_list. Fixed a type-o that initialized it to theJeffrey Stedfast2003-04-012-1/+6
| | | | | | | | | 2003-03-31 Jeffrey Stedfast <fejj@ximian.com> * mail-session.c: Properly init message_list. Fixed a type-o that initialized it to the password_list. svn path=/trunk/; revision=20605
* need to check for config_service != NULL, not service != NULL beforeNot Zed2003-03-314-2/+16
| | | | | | | | | | | | | | | | 2003-03-31 Not Zed <NotZed@Ximian.com> * mail-session.c (pass_response): need to check for config_service != NULL, not service != NULL before calling set_save_password. Fix for #40472. 2003-03-28 Not Zed <NotZed@Ximian.com> * folder-browser-ui.c: include e-meta.h * folder-browser.c (on_right_click): remove unused var. svn path=/trunk/; revision=20586
* Declare a prototype for this function prior to fe_got_children() so thatJeffrey Stedfast2003-03-292-0/+9
| | | | | | | | | | 2003-03-28 Jeffrey Stedfast <fejj@ximian.com> * subscribe-dialog.c (fe_check_for_children): Declare a prototype for this function prior to fe_got_children() so that fe_got_children() can call us. svn path=/trunk/; revision=20558
* remove extra arg to camel_url_encodeDan Winship2003-03-272-1/+6
| | | | | | | * mail-format.c (write_address): remove extra arg to camel_url_encode svn path=/trunk/; revision=20546
* dont set the paned initial size here, but hook onto the realize signal.Not Zed2003-03-272-6/+19
| | | | | | | | | | | 2003-03-27 Not Zed <NotZed@Ximian.com> * folder-browser.c (folder_browser_gui_init): dont set the paned initial size here, but hook onto the realize signal. (paned_realised): set the paned size once we're realised. Fixes #37084, its a bit of a hack, but it seems to work. svn path=/trunk/; revision=20536
* Fixes bug #40074.Jeffrey Stedfast2003-03-274-0/+23
| | | | | | | | | | | | | | 2003-03-26 Jeffrey Stedfast <fejj@ximian.com> Fixes bug #40074. * folder-browser-factory.c (control_deactivate): Save message-list state. * message-list.c (message_list_save_state): Save the various states. svn path=/trunk/; revision=20525
* Fixes for bug #39870Jeffrey Stedfast2003-03-272-64/+74
| | | | | | | | | | | | | | 2003-03-26 Jeffrey Stedfast <fejj@ximian.com> Fixes for bug #39870 * message-browser.c (transfer_msg_done): Close the message-browser. Since the message doesn't exist anymore, we should close it. (message_browser_delete): New callback to handle deletion in the message-browser window. svn path=/trunk/; revision=20524
* If the CamelFolderInfo node doesn't have \NoInferriors set, then check forJeffrey Stedfast2003-03-272-4/+13
| | | | | | | | | | 2003-03-26 Jeffrey Stedfast <fejj@ximian.com> * subscribe-dialog.c (fe_got_children): If the CamelFolderInfo node doesn't have \NoInferriors set, then check for subfolders. Fixes bug #40314. svn path=/trunk/; revision=20520
* Undo jeff's patch below for #40275, the destroy timeout is already removedNot Zed2003-03-262-23/+22
| | | | | | | | | | | | | | 2003-03-26 Not Zed <NotZed@Ximian.com> * mail-display.c (popup_window_destroy_cb): Undo jeff's patch below for #40275, the destroy timeout is already removed in popup_info_free. Unref the widget 'w' when we're done with it. (popup_info_free): Move everything in here to popup_window_destroy and remove, since nothing else uses it. (make_popup_window): Ref the widget so it doesn't go away before we're finished with it. Really fixes bug #40275/40188. svn path=/trunk/; revision=20512
* Remove the timeout. Should fix bug #40275.Jeffrey Stedfast2003-03-262-0/+8
| | | | | | | | | 2003-03-25 Jeffrey Stedfast <fejj@ximian.com> * mail-display.c (popup_window_destroy_cb): Remove the timeout. Should fix bug #40275. svn path=/trunk/; revision=20511
* Remove search entry which never worked right (and can't work as usersJeffrey Stedfast2003-03-263-219/+24
| | | | | | | | | | | | 2003-03-25 Jeffrey Stedfast <fejj@ximian.com> * subscribe-dialog.c: Remove search entry which never worked right (and can't work as users expect anyway, since we don't do namespace stripping). Fixes bug #40083. (ftree_node_new): Ignore \NoSelect as far as marking it "subscribable". Fixes bug #40124. svn path=/trunk/; revision=20509
* Update for e_notice move (apply_changes): Pass a parent_window to e_noticeDan Winship2003-03-258-10/+18
| | | | | | | | | | | | | | | * mail-account-editor.c: Update for e_notice move (apply_changes): Pass a parent_window to e_notice * mail-account-gui.c: Update for e_notice move. (mail_account_gui_save): Pass a parent_window to e_notice * mail-callbacks.c: Update for e_notice move * mail-local.c: Likewise * mail-signature-editor.c: Likewise * mail-vfolder.c: Likewise svn path=/trunk/; revision=20502
* Update prototypeDan Winship2003-03-252-1/+6
| | | | | | * component-factory.c (interactive_cb): Update prototype svn path=/trunk/; revision=20494
* strdup the key before freeing the url as it is probably pointing there.Not Zed2003-03-252-1/+7
| | | | | | | | | 2003-03-25 Not Zed <NotZed@Ximian.com> * mail-tools.c (meta_data_key): strdup the key before freeing the url as it is probably pointing there. svn path=/trunk/; revision=20491
* remove a debug printf that made it in a commit.Not Zed2003-03-242-1/+3
| | | | | | | | | 2003-03-25 Not Zed <NotZed@Ximian.com> * component-factory.c (got_folder): remove a debug printf that made it in a commit. svn path=/trunk/; revision=20480
* Load per-folder setting of show_preview from meta data.Not Zed2003-03-248-19/+139
| | | | | | | | | | | | | | | | | | | | | | | | | 2003-03-25 Not Zed <NotZed@Ximian.com> * folder-browser-ui.c (folder_browser_ui_add_global): Load per-folder setting of show_preview from meta data. (folder_browser_ui_add_list): Same, for thread_list. * mail-tools.c (mail_tool_get_meta_data) (mail_tool_delete_meta_data): helpers to lookup/delete meta data. * mail-config.c (mail_config_uri_deleted): delete the meta-data for the folder. * folder-browser.c (folder_browser_reload): dont reload the uri if we're in the process of loading it still. (folder_browser_new): load the folder meta data before loading the folder. (folder_browser_toggle_preview): (folder_browser_toggle_threads): save change to meta-data. (got_folder): Load the metadata if we have a folder to set, and the meta-data has changed from initislisation. svn path=/trunk/; revision=20478
* pass FALSE for e_destination_get_textrep's include_email arg.Chris Toshok2003-03-232-2/+6
| | | | | | | | | 2003-03-23 Chris Toshok <toshok@ximian.com> * mail-callbacks.c (ask_confirm_for_unwanted_html_mail): pass FALSE for e_destination_get_textrep's include_email arg. svn path=/trunk/; revision=20468
* Default to the charset provied in the MimePart's Content-Type over that ofJeffrey Stedfast2003-03-222-2/+11
| | | | | | | | | | 2003-03-21 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (mail_format_data_wrapper_write_to_stream): Default to the charset provied in the MimePart's Content-Type over that of the user's mailer charset. Fixes bug #39204. svn path=/trunk/; revision=20462
* "en_us" should not be translated. Fixes bug #40088.Jeffrey Stedfast2003-03-222-1/+6
| | | | | | | | | 2003-03-21 Jeffrey Stedfast <fejj@ximian.com> * mail-composer-prefs.c (spell_load_values): "en_us" should not be translated. Fixes bug #40088. svn path=/trunk/; revision=20454
* remember to disconnect the destroy handler if whenever the loader is shutLarry Ewing2003-03-212-0/+7
| | | | | | | | | 2003-03-21 Larry Ewing <lewing@ximian.com> * mail-display.c (pixbuf_gen_idle): remember to disconnect the destroy handler if whenever the loader is shut down. svn path=/trunk/; revision=20449
* Change the message_destroy callback to just gtk_widget_destroy. No need toJeffrey Stedfast2003-03-212-7/+6
| | | | | | | | | | | 2003-03-20 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c (owner_set_cb): Change the message_destroy callback to just gtk_widget_destroy. No need to have a callback simply to call this function. (warning_response): Removed (see above). svn path=/trunk/; revision=20447
* Don't forget to add the signature to the signature list if it is a validJeffrey Stedfast2003-03-212-1/+6
| | | | | | | | | 2003-03-20 Jeffrey Stedfast <fejj@ximian.com> * mail-composer-prefs.c (sig_add_script_response): Don't forget to add the signature to the signature list if it is a valid script. svn path=/trunk/; revision=20444
* Make sure we can find the registered handler before trying to remove itJeffrey Stedfast2003-03-212-4/+11
| | | | | | | | | | 2003-03-20 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (mail_config_signature_unregister_client): Make sure we can find the registered handler before trying to remove it from the list. svn path=/trunk/; revision=20443
* Make the 5th argument to gtk_message_dialog_new() "%s" and move theJeffrey Stedfast2003-03-212-1/+20
| | | | | | | | | | | | | | | 2003-03-20 Jeffrey Stedfast <fejj@ximian.com> * mail-session.c (do_user_message): Make the 5th argument to gtk_message_dialog_new() "%s" and move the m->prompt to arg 6 so that we are safe if the prompt string contains any %'s. Also connect to the response signal for the user_msg dialog and set the callback to gtk_widget_destroy so that the user can actually close the dialog. We also need to g_object_weak_ref() the dialog so that we can set the global message_dialog pointer back to NULL when it gets destroyed. Fixes bug #40043. svn path=/trunk/; revision=20435
* Remove this since there's a function in CamelMimeMessage to do it now.Dan Winship2003-03-212-68/+7
| | | | | | | | * mail-ops.c (build_from): Remove this since there's a function in CamelMimeMessage to do it now. (save_messages_save): Use camel_mime_message_build_mbox_from. svn path=/trunk/; revision=20431
* updated for gnome spell API 0.3Radek Doulik2003-03-202-5/+5
| | | | svn path=/trunk/; revision=20383
* ** for mail part of bug #38461.Not Zed2003-03-208-316/+276
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-03-21 Not Zed <NotZed@Ximian.com> ** for mail part of bug #38461. * importers/evolution-outlook-importer.c (load_file_fn): dont pass in create flag to uri_to_folder, the folder must already exist. * importers/evolution-mbox-importer.c (folder_created_cb): Removed, we now force the caller to create the destination folder first. (load_file_fn): Dont try and create a folder if it doesn't exist. Also, use the uri directly as the destination uri, so we can import into any folder. (process_item_fn): If we dont have a folder, thats just an error, return BAD_FILE. * importers/netscape-importer.c (netscape_import_file): As below for elm_import_file. (import_next): similarly as for pine import_next. (importer_cb): just record result. (importer_timeout_fn): removed. * importers/pine-importer.c (import_next): Similar to below for the elm import_next. (pine_import_file): As below for elm_import_file. (importer_timeout_fn): removed. (importer_cb): just record the result, and exit. (import_next): change around to behave more like the elm importer, cleaning up when we're done. * importers/elm-importer.c (elm_import_file): Create the destination folder ourselves, dont pass it onto the mbox importer. Simplify logic, just do the import within a while loop, polling the g main loop as necessary, remove need for idle callbacks and other crap. (import_next): If elm_import_file fails, then just go straight to the next folder, stops it falling in a heap. (import_item_idle): removed. (importer_cb): just record result/exit. * mail-importer.c (mail_importer_create_folder): removed. (mail_importer_make_local_folder): new function to create a local-only folder from a path. It runs synchronously by using a recursive main loop. (folder_created_cb): callback for make_local_folder. svn path=/trunk/; revision=20379
* removed a dead header fileJeffrey Stedfast2003-03-201-1/+0
| | | | svn path=/trunk/; revision=20374
* Revert ettore's broken patch.Jeffrey Stedfast2003-03-204-248/+1
| | | | | | | | | | | 2003-03-19 Jeffrey Stedfast <fejj@ximian.com> * mail-config-druid.c (mail_config_druid_new): Revert ettore's broken patch. * mail-search-dialogue.c: Removed - nothing uses this. svn path=/trunk/; revision=20373
* Revert ettore's broken patch.Jeffrey Stedfast2003-03-203-7/+11
| | | | | | | | | | | | 2003-03-19 Jeffrey Stedfast <fejj@ximian.com> * mail-config-druid.c (mail_config_druid_new): Revert ettore's broken patch. * mail-search-dialogue.c (mail_search_dialogue_construct): Make the default size a little smaller. svn path=/trunk/; revision=20372
* Replace "evolution:menu-name" prop with "evolution:menu_name". [#39692]Ettore Perazzoli2003-03-203-2/+10
| | | | | | | | | | * importers/GNOME_Evolution_Mail_Mbox_Importer.server.in.in: Replace "evolution:menu-name" prop with "evolution:menu_name". [#39692] * importers/GNOME_Evolution_Mail_Outlook_Importer.server.in.in: Likewise. svn path=/trunk/; revision=20369
* (mail_config_druid_new): Give the druid theEttore Perazzoli2003-03-202-0/+6
| | | | | | DIALOG hint. [#39741 and friends.] svn path=/trunk/; revision=20357
* changed default language to en_us instead of enRadek Doulik2003-03-192-1/+34
| | | | | | | | | | | | 2003-03-19 Radek Doulik <rodo@ximian.com> * mail-composer-prefs.c (spell_load_values): changed default language to en_us instead of en (spell_language_button_press): new handler, ported from 1.2 (spell_setup): use spell_language_enable and spell_language_button_press svn path=/trunk/; revision=20356
* e_msg_composer_get_subject() now returns a const char *, so updateJeffrey Stedfast2003-03-192-5/+8
| | | | | | | | | | 2003-03-18 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (composer_get_message): e_msg_composer_get_subject() now returns a const char *, so update appropriately. svn path=/trunk/; revision=20349
* fix leak, cleanup variable name, and call gtk_window_set_transient_forLarry Ewing2003-03-192-6/+15
| | | | | | | | | | | 2003-03-18 Larry Ewing <lewing@ximian.com> * mail-callbacks.c (do_mail_print): fix leak, cleanup variable name, and call gtk_window_set_transient_for with a parent that is actually a GtkWindow. (mark_as_unseen): use g_source_remove. svn path=/trunk/; revision=20348
* Set the type hint to DIALOG so that Metacity shows this window on top.Jeffrey Stedfast2003-03-192-3/+12
| | | | | | | | | | 2003-03-18 Jeffrey Stedfast <fejj@ximian.com> * mail-config-druid.c (mail_config_druid_new): Set the type hint to DIALOG so that Metacity shows this window on top. Fixes bug #39914. svn path=/trunk/; revision=20343
* validate rule & rule is unique. Workaround for #39464. Should this justNot Zed2003-03-182-0/+23
| | | | | | | | | | 2003-03-18 Not Zed <NotZed@Ximian.com> * mail-vfolder.c (new_rule_clicked): validate rule & rule is unique. Workaround for #39464. Should this just use rule_context_add_rule_gui?? svn path=/trunk/; revision=20333
* unhook from the html engine signals here, before we redisplay the message.Not Zed2003-03-182-7/+16
| | | | | | | | | | | 2003-03-18 Not Zed <NotZed@Ximian.com> * mail-search.c (mail_search_destroy): unhook from the html engine signals here, before we redisplay the message. Also make sure this processing only happens once. For #39759. (mail_search_finalise): dont unhook from signals here. svn path=/trunk/; revision=20326
* use a hack to find out if the message-list was focussed before weNot Zed2003-03-183-3/+26
| | | | | | | | | | | 2003-03-12 Not Zed <NotZed@Ximian.com> * mail-callbacks.c (expunge_folder): use a hack to find out if the message-list was focussed before we desensitise it. (expunged_folder): If the message-list was focussed before, re-grab the focus. For bug #29564. svn path=/trunk/; revision=20325
* (mail_signature_editor): Give the editorEttore Perazzoli2003-03-182-0/+6
| | | | | | the GDK_WINDOW_TYPE_HINT_DIALOG hint. [#38926] svn path=/trunk/; revision=20320
* If we fail to load the pixbuf, don't use it (stops some g_warnings).Jeffrey Stedfast2003-03-182-0/+20
| | | | | | | | | 2003-03-17 Jeffrey Stedfast <fejj@ximian.com> * mail-display.c (pixbuf_gen_idle): If we fail to load the pixbuf, don't use it (stops some g_warnings). svn path=/trunk/; revision=20319
* Part of a fix for bug #39809Jeffrey Stedfast2003-03-183-3/+9
| | | | | | | | | | | | 2003-03-17 Jeffrey Stedfast <fejj@ximian.com> Part of a fix for bug #39809 * mail-vfolder.c (vfolder_edit): Don't add the cancel button here. * mail-callbacks.c (filter_edit): Don't add the cancel button here. svn path=/trunk/; revision=20316
* Lookup the handler for the type. If we don't have a registered handler orJeffrey Stedfast2003-03-184-1/+23
| | | | | | | | | | | | | | | 2003-03-17 Jeffrey Stedfast <fejj@ximian.com> * mail-display.c (do_external_viewer): Lookup the handler for the type. If we don't have a registered handler or if the registered handler is not meant to be handled via a bonobo component, don't use a bonobo component. * mail-format.c (mail_lookup_handler): If we register a new handler that is to be handled by a bonobo component, set handler->is_bonobo to TRUE. svn path=/trunk/; revision=20311
* Update for EvolutionStorage changeDan Winship2003-03-152-9/+10
| | | | | | | * component-factory.c (storage_connect, storage_connected): Update for EvolutionStorage change svn path=/trunk/; revision=20299
* reverted mail-display.c and mail-format.c fixes - pondering better fixesJeffrey Stedfast2003-03-143-45/+10
| | | | svn path=/trunk/; revision=20279
* Security vulnerability fixes.Jeffrey Stedfast2003-03-132-0/+12
| | | | | | | | | | | | | | | 2003-03-12 Jeffrey Stedfast <fejj@ximian.com> Security vulnerability fixes. * mail-display.c (do_external_viewer): Make sure that we don't launch a bonobo control to view a mime-type that we handle internally, otherwise maliciously formed HTML mail using <object> tags could potentially launch a bonobo vontrol to view the mime part bypassing any checks that Evolution might do on the data normally. svn path=/trunk/; revision=20269
* Security vulnerability fixes.Jeffrey Stedfast2003-03-132-10/+33
| | | | | | | | | | | | | | 2003-03-12 Jeffrey Stedfast <fejj@ximian.com> Security vulnerability fixes. * mail-format.c (handle_text_html, attachment_header) (handle_image, handle_via_bonobo): Encode the result from get_cid() so that malicious Content-Id strings cannot bypass the user's preference to not load http images, force a bonobo control to load passing it arbitrary data, etc. svn path=/trunk/; revision=20268
* revert a commit that I didn't mean to doJeffrey Stedfast2003-03-131-4/+4
| | | | svn path=/trunk/; revision=20267
* Rewritten to do the same as the composer's build_message() code.Jeffrey Stedfast2003-03-132-35/+69
| | | | | | | | | 2003-03-12 Jeffrey Stedfast <fejj@ximian.com> * mail-signature-editor.c (menu_file_save_cb): Rewritten to do the same as the composer's build_message() code. svn path=/trunk/; revision=20266
* Various small fixes leading up to a real fix.Jeffrey Stedfast2003-03-133-26/+41
| | | | | | | | 2003-03-12 Jeffrey Stedfast <fejj@ximian.com> * mail-signature-editor.c: Various small fixes leading up to a real fix. svn path=/trunk/; revision=20265
* Use gtk_window_set_transient_for() on the druid with the settings dialogJeffrey Stedfast2003-03-122-3/+18
| | | | | | | | | | 2003-03-11 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c (account_add_clicked): Use gtk_window_set_transient_for() on the druid with the settings dialog as the parent window. svn path=/trunk/; revision=20253
* Remove the yes/no buttons. Fixes bug #39382.Jeffrey Stedfast2003-03-112-1/+4
| | | | | | | | | 2003-03-10 Jeffrey Stedfast <fejj@ximian.com> * mail-signature-editor.c (do_exit): Remove the yes/no buttons. Fixes bug #39382. svn path=/trunk/; revision=20246
* New callback function to handle the checkbox getting toggled.Jeffrey Stedfast2003-03-112-4/+62
| | | | | | | | | | | | | 2003-03-10 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c (account_able_toggled): New callback function to handle the checkbox getting toggled. (mail_accounts_treeview_new): Save the toggle renderer so we can later connect to it's toggled signal. (mail_accounts_tab_construct): Connect to the toggle-cell's toggled signal. Fixes bug #39325. svn path=/trunk/; revision=20245
* Fix the response code, because some bastard changed the filter/* code andNot Zed2003-03-102-1/+7
| | | | | | | | | | 2003-03-11 Not Zed <NotZed@Ximian.com> * mail-vfolder.c (vfolder_editor_response): Fix the response code, because some bastard changed the filter/* code and didn't fix the callers. Partial fix for #39165. svn path=/trunk/; revision=20231
* Removed the debug printf. Added a case for the composer. Part of fixingNot Zed2003-03-102-2/+6
| | | | | | | | | | 2003-03-10 Not Zed <NotZed@Ximian.com> * component-factory.c (factory): Removed the debug printf. Added a case for the composer. Part of fixing #39256. svn path=/trunk/; revision=20228
* removed main.c from the build.Not Zed2003-03-104-35/+9
| | | | | | | | | | | | | 2003-03-10 Not Zed <NotZed@Ximian.com> * Makefile.am (libevolution_mail_la_SOURCES): removed main.c from the build. * component-factory.c (component_factory_init): Remove, not used anymore, causes linking problems some places. (factory): Removed the debug printf. svn path=/trunk/; revision=20226
* removed erroneous static prototype (it is now supposed to be a public symbol)Jeffrey Stedfast2003-03-081-4/+0
| | | | svn path=/trunk/; revision=20222
* All this snot just to fix bug #38925 and an attempt to fix bug #38926 (butJeffrey Stedfast2003-03-089-130/+186
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-03-07 Jeffrey Stedfast <fejj@ximian.com> All this snot just to fix bug #38925 and an attempt to fix bug #38926 (but it seems no matter what I do, I can't work around the bonoboness/modality/whatever of the shell's preferences dialog). * mail-account-gui.c (sig_add_new_signature): Get the toplevel parent GtkWindow and pass that along to mail_composer_prefs_new_signature() so that window layering can be done correctly. * mail-composer-prefs.c (mail_composer_prefs_new_signature): Simplify. We don't want to add the signature to the list until after they have saved. (sig_edit_cb): Pass FALSE as the is_new argument to mail_signature_editor(). (sig_event_client): Listen for signatures being added. (mail_composer_prefs_new_signature): Now takes a GtkWindow arg as the first arg rather than a MailComposerPrefs arg since we don't really need it to be a MailComposerPrefs object. We'd rather use the first arg as the parent GtkWindow so that we can set transience for the editor window. * mail-signature-editor.c (mail_signature_editor): Now takes a 'parent' argument (so we can set transient_for()) and a 'is_new' argument specifying whether the editor is editing a new signature or not. If it is, when the user saves, it will be added to the signature list. otherwise it won't. (sig_name_changed): Only use the mail_config_signature_set_name() interface if it is *not* a new signature. (menu_file_save_cb): If is_new, then save the signature to the config - otherwise do what we did before and set the modifications to it and emit the CHANGED event. * mail-config.c (mail_config_signature_new): Renamed from mail_config_signature_add(). We no longer immediately add the signature to the list of saved signatures. (mail_config_signature_add): New function which adds the signature and emits the SIG_ADDED event. svn path=/trunk/; revision=20221
* If the part url is a text part, useJeffrey Stedfast2003-03-084-25/+30
| | | | | | | | | | | | 2003-03-07 Jeffrey Stedfast <fejj@ximian.com> * mail-display.c (on_url_requested): If the part url is a text part, use mail_format_data_wrapper_write_to_stream(). This should fix bug #39204. * mail-format.c (mail_format_data_wrapper_write_to_stream): Make public. svn path=/trunk/; revision=20219
* (mail_accounts_treeview_new): Set theEttore Perazzoli2003-03-072-0/+6
| | | | | | shadow_type of the scrlled window to GTK_SHADOW_IN. svn path=/trunk/; revision=20205
* Add some spacing to the buttons. [#38227]Ettore Perazzoli2003-03-072-0/+5
| | | | svn path=/trunk/; revision=20204
* Use G_GNUC_FUNCTION instead of __FUNCTION__. (OUT): Likewise. Likewise.Ettore Perazzoli2003-03-075-8/+20
| | | | | | | | | | | | | | * importers/evolution-mbox-importer.c (IN): Use G_GNUC_FUNCTION instead of __FUNCTION__. (OUT): Likewise. * importers/netscape-importer.c (netscape_import_file): Likewise. * mail-send-recv.c (receive_done): Likewise. * mail-summary.c (SUMMARY_OUT): Likewise. (SUMMARY_IN): Likewise. (folder_changed_cb): Likewise. (message_changed_cb): Likewise. svn path=/trunk/; revision=20202
* #include <string.h>Jeffrey Stedfast2003-03-062-0/+4
| | | | | | | | 2003-03-06 Jeffrey Stedfast <fejj@ximian.com> * folder-browser-factory.c: #include <string.h> svn path=/trunk/; revision=20194
* Don't use __inline__ as not all platforms/compilers support this keyword.Jeffrey Stedfast2003-03-062-2/+8
| | | | | | | | | | 2003-03-06 Jeffrey Stedfast <fejj@ximian.com> * e-searching-tokenizer.c (camel_utf8_getc): Don't use __inline__ as not all platforms/compilers support this keyword. (g): Same. svn path=/trunk/; revision=20193
* remove debug printf.Not Zed2003-03-052-2/+4
| | | | | | | | 2003-03-06 Not Zed <NotZed@Ximian.com> * component-factory.c (owner_unset_cb): remove debug printf. svn path=/trunk/; revision=20168
* Removed old quit code. (owner_unset_cb): Make this call synchronous. WontNot Zed2003-03-052-37/+53
| | | | | | | | | | 2003-03-05 Not Zed <NotZed@Ximian.com> * component-factory.c (idle_quit): Removed old quit code. (owner_unset_cb): Make this call synchronous. Wont cover all cases but should be ok most of the time. svn path=/trunk/; revision=20167
* Prototype some functions to shut the compiler up.Jeffrey Stedfast2003-03-052-1/+9
| | | | | | | | 2003-03-04 Jeffrey Stedfast <fejj@ximian.com> * mail-search.c: Prototype some functions to shut the compiler up. svn path=/trunk/; revision=20163
* changed the button order to be HIG compliantJeffrey Stedfast2003-03-051-286/+297
| | | | svn path=/trunk/; revision=20138
* Go back to using e_destination_get_address() but use the camel-addressJeffrey Stedfast2003-03-052-10/+30
| | | | | | | | | | 2003-03-04 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (composer_get_message): Go back to using e_destination_get_address() but use the camel-address parser on the strings to make sure they are non-empty. Fixes bug #37854. svn path=/trunk/; revision=20137
* Use 'filename' when creating the uri rather than using the uninitialisedJeffrey Stedfast2003-03-042-3/+9
| | | | | | | | | | 2003-03-03 Jeffrey Stedfast <fejj@ximian.com> * mail-signature-editor.c (menu_file_save_cb): Use 'filename' when creating the uri rather than using the uninitialised 'uri' variable to create itself. Fixes bug #38864. svn path=/trunk/; revision=20125
* Do the same as below for request_password, so we dont leave a mainloopNot Zed2003-03-032-9/+22
| | | | | | | | | | | | | | | | 2003-03-03 Not Zed <NotZed@Ximian.com> * mail-session.c (do_user_message): Do the same as below for request_password, so we dont leave a mainloop lying around. 2003-03-03 Jeffrey Stedfast <fejj@ximian.com> * mail-session.c (request_password): Don't connect to the response signal if we are in the main thread - instead just use the return value from gtk_dialog_run and then call pass_response() with the response value. svn path=/trunk/; revision=20122
* Remove the e_tree_memory_sort_node, currently it crashes inside gal, theNot Zed2003-03-032-3/+11
| | | | | | | | | | 2003-03-03 Not Zed <NotZed@Ximian.com> * subscribe-dialog.c (fe_got_children): Remove the e_tree_memory_sort_node, currently it crashes inside gal, the root node seems to get free'd under it. svn path=/trunk/; revision=20120
* Reverted back to using e-iconvJeffrey Stedfast2003-02-273-8/+12
| | | | | | | | | | 2003-02-26 Jeffrey Stedfast <fejj@ximian.com> * mail-preferences.c: Reverted back to using e-iconv * mail-composer-preferences.c: Same. svn path=/trunk/; revision=20071
* add a repo_id and a priority level to the startup wizardDan Winship2003-02-272-0/+12
| | | | | | | * GNOME_Evolution_Mail.server.in.in: add a repo_id and a priority level to the startup wizard svn path=/trunk/; revision=20070
* Reverted back to using e-iconv instead of camel-iconv.Jeffrey Stedfast2003-02-262-2/+8
| | | | | | | | | 2003-02-25 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c: Reverted back to using e-iconv instead of camel-iconv. svn path=/trunk/; revision=20060
* Update for new EvolutionWizard interfaces.Dan Winship2003-02-252-19/+26
| | | | | | * mail-config-druid.c: Update for new EvolutionWizard interfaces. svn path=/trunk/; revision=20054
* Redo this to not use the CORBA interfaces in the local case (inDan Winship2003-02-257-756/+485
| | | | | | | | | | | | | | | | | | | | * mail-config-druid.c: Redo this to not use the CORBA interfaces in the local case (in preparation for redoing the CORBA interfaces). (mail_config_druid_new): Remove unused "shell" arg * mail-account-gui.c (mail_account_gui_transport_complete): Don't crash if there's no transport selected at all. (mail_account_gui_new): Don't try to set cc_addrs/bcc_addrs if they're NULL. * mail-accounts.c (account_add_clicked): Don't need to pass shell to mail_config_druid_new. * mail-callbacks.c (configure_mail): Don't need to pass shell to mail_config_druid_new. svn path=/trunk/; revision=20051
* Make sure m->config_service is non-NULL before usingJeffrey Stedfast2003-02-253-3/+12
| | | | | | | | | | | | | | 2003-02-24 Jeffrey Stedfast <fejj@ximian.com> * mail-session.c (request_password): Make sure m->config_service is non-NULL before using m->config_service->save_passwd since PGP stuff will not have a config_service. Fixes bug #38149. * mail-account-gui.c (mail_account_gui_save): s/e_account_list_changed/e_account_list_change - otherwise we get an undefined symbol and we crash :-) svn path=/trunk/; revision=20043
* Don't always append "[script]" to the signature name. Also cleaned up someJeffrey Stedfast2003-02-252-10/+23
| | | | | | | | | | 2003-02-24 Jeffrey Stedfast <fejj@ximian.com> * mail-composer-prefs.c (mail_composer_prefs_new_signature): Don't always append "[script]" to the signature name. Also cleaned up some memory leakage. svn path=/trunk/; revision=20039
* fixed the purple druid pagesJeffrey Stedfast2003-02-251-15/+15
| | | | svn path=/trunk/; revision=20037
* fix the g_snprintf stuff.Not Zed2003-02-244-77/+29
| | | | | | | | | | | | | | | | | | | | | 2003-02-20 Not Zed <NotZed@Ximian.com> * mail-preferences.c (mail_preferences_apply): fix the g_snprintf stuff. * mail-config.c (mail_config_add_account): Use new e_account_list_add. (mail_config_remove_account): Use new e_account_list_remove. (mail_config_set_default_account): Similarly for e_account_list_set_default. (mail_config_get_default_account): Same for e_account_list_get_default. (mail_config_get_account_by_name): Use e_account_list_find. * mail-account-gui.c (mail_account_gui_save): use new e_account_list_changed call instead of manual signalling. svn path=/trunk/; revision=20020
* Set the local provider description field to a string rather than NULL toJeffrey Stedfast2003-02-232-1/+7
| | | | | | | | | | 2003-02-23 Jeffrey Stedfast <fejj@ximian.com> * mail-local.c: Set the local provider description field to a string rather than NULL to prevent a segfault on solaris. Fixes bug #38418. svn path=/trunk/; revision=20007
* bitwise-or in CAMEL_MIME_FILTER_TOHTML_CONVERT_SPACES to fix bug #38499.Jeffrey Stedfast2003-02-232-2/+7
| | | | | | | | | 2003-02-23 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (write_text_header): bitwise-or in CAMEL_MIME_FILTER_TOHTML_CONVERT_SPACES to fix bug #38499. svn path=/trunk/; revision=20006
* New overloaded virtual method, does what dialog_destroy_cb was trying toJeffrey Stedfast2003-02-234-77/+87
| | | | | | | | | | | | | | | 2003-02-23 Jeffrey Stedfast <fejj@ximian.com> * mail-search.c (mail_search_destroy): New overloaded virtual method, does what dialog_destroy_cb was trying to do. (mail_search_construct): Connect to the "response" signal rather than "clicked" to correspond to the GtkDialog API (instead og the old GnomeDialog API). (dialog_response_cb): Changed the function name and made it check button == GTK_RESPONSE_ACCEPT to search, any other button closes. Fixes bug #37947. svn path=/trunk/; revision=20005
* Don't try to get a FontPrefs control.Hans Petter Jansson2003-02-224-3/+16
| | | | | | | | | | | | | | 2003-02-21 Hans Petter Jansson <hpj@ximian.com> * component-factory.c (factory): Don't try to get a FontPrefs control. * mail-config-factory.c (mail_config_control_factory_cb): Just return NULL if a FontPrefs control was requested. * mail-config.c (mail_config_get_default_account): If no accounts are defined, don't try to set the default account. svn path=/trunk/; revision=19996
* Make libversit a shared library, update stuff for that, and clean upDan Winship2003-02-223-8/+8
| | | | | | some LDADDs in the process svn path=/trunk/; revision=19994
* Use tables instead of vboxes, so that groups of label/entry pairs (as inDan Winship2003-02-225-73/+113
| | | | | | | | | | | | | | | | * mail-account-gui.c (mail_account_gui_build_extra_conf): Use tables instead of vboxes, so that groups of label/entry pairs (as in Connector's config page) can line up nicely. * mail-config.glade: Turn extra_vbox and extra_mailcheck_vbox into tables. * mail-config-druid.c (get_fn): s/extra_vbox/extra_table/ * Makefile.am (libevolution_mail_la_LIBADD): s/libcomposer.a/libcomposer.la/ svn path=/trunk/; revision=19993
* fixed a type-oJeffrey Stedfast2003-02-211-1/+1
| | | | svn path=/trunk/; revision=19988
* Use camel_folder_free_uids().Jeffrey Stedfast2003-02-212-6/+11
| | | | | | | | | 2003-02-20 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (mark_all_as_seen): Use camel_folder_free_uids(). svn path=/trunk/; revision=19986
* Use camel_charset_canonical_name() here instead of e_iconv_charset_name().Jeffrey Stedfast2003-02-214-9/+23
| | | | | | | | | | | | | | | | | | 2003-02-20 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (write_headers): Use camel_charset_canonical_name() here instead of e_iconv_charset_name(). * mail-preferences.c (mail_preferences_construct): Same as below. (mail_preferences_apply): Again here. * mail-composer-prefs.c (mail_composer_prefs_construct): Use camel_charset_locale_name() here instead of e_iconv_locale_charset(). (mail_composer_prefs_apply): Same. svn path=/trunk/; revision=19978
* Make libemiscwidgets, libefilterbar, and libetimezonedialog dynamicDan Winship2003-02-212-2/+8
| | | | | | | libraries, so they can be portably linked into the (shared library) components. (Part 1 of N.) svn path=/trunk/; revision=19971
* ignore more generated stuffChris Toshok2003-02-201-0/+1
| | | | svn path=/trunk/; revision=19960
* ?Jeffrey Stedfast2003-02-201-5/+2
| | | | svn path=/trunk/; revision=19948
* add .server.in filesDan Winship2003-02-201-1/+4
| | | | svn path=/trunk/; revision=19944
* Fixed a memory leak - make sure to free all uids.Jeffrey Stedfast2003-02-192-1/+6
| | | | | | | | | 2003-02-18 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (mark_all_as_seen): Fixed a memory leak - make sure to free all uids. svn path=/trunk/; revision=19936
* fixes to my last commitJeffrey Stedfast2003-02-191-18/+17
| | | | svn path=/trunk/; revision=19933
* Removed. (lookup_signature): Removed. (xml_get_int): Removed.Jeffrey Stedfast2003-02-194-146/+52
| | | | | | | | | | | | | | | | | | | | | | | | | 2003-02-18 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (uri_to_key): Removed. (lookup_signature): Removed. (xml_get_int): Removed. (xml_get_bool): Removed. (mail_config_get_time_24hour): Removed. * evolution-mail.schemas: s/long/int/g and change default_account to be a string instead of an int. * mail-config.c (mail_config_get_default_account): default_account now uses the account uid, so change the code a bit to match uid strings rather than use an index. (mail_config_remove_account): Same here. simplifies the code a bunch. (mail_config_set_default_account): Here too. * folder-browser-ui.c (folder_browser_ui_setup_view_menus): Update the GalView path. svn path=/trunk/; revision=19932
* Change the logic here slightly. Instead of only reprompting the user ifJeffrey Stedfast2003-02-152-9/+32
| | | | | | | | | | | | | | | | 2003-02-14 Jeffrey Stedfast <fejj@ximian.com> * mail-session.c (do_get_pass): Change the logic here slightly. Instead of only reprompting the user if the cache is empty, also reprompt the user if the backend is forcing a reprompt. (request_password): If we have a cached passwd string for the account, fill-in the GtkEntry box with that value by default. This, together with the camel changes, fixes the "Evolution forgets my POP passwd if it gets a -ERR response during the login phase" bug. svn path=/trunk/; revision=19911
* #include <stdio.h>Jeffrey Stedfast2003-02-145-15/+36
| | | | | | | | | | | | | | | | | | | | | | 2003-02-13 Jeffrey Stedfast <fejj@ximian.com> * e-searching-tokenizer.c: #include <stdio.h> * mail-config-factory.c: #include <string.h> * mail-config-druid.c (identity_prepare): Use gtk_editable_select_region() since gtk_entry_select_region() has been deprecated. (construct): Use gtk_window_set_resizable() instead of gtk_window_set_policy(). (wizard_free): account_destroy() is no longer around, use g_object_unref() instead. (how did this even compile before?) * mail-account-gui.c (mail_account_gui_build_extra_conf): Use gtk_label_set_text_with_mnemonic() instead of gtk_label_parse_uline() as the latter has been deprecated. svn path=/trunk/; revision=19905
* Removed unused variables.Jeffrey Stedfast2003-02-135-59/+25
| | | | | | | | | | | | | | | | | 2003-02-12 Jeffrey Stedfast <fejj@ximian.com> * importers/netscape-importer.c: Removed unused variables. * importers/pine-importer.c: Removed unused variables. (parse_address): Removed - it's unused and we have CamelAddress available to us anyway. * importers/elm-importer.c: Removed unused variables. * importers/evolution-mbox-importer.c (load_file_fn): Removed an unused variable. svn path=/trunk/; revision=19896
* Use gtk_window_set_resizable() instead of gtk_window_set_policy().Jeffrey Stedfast2003-02-126-35/+25
| | | | | | | | | | | | | | 2003-02-11 Jeffrey Stedfast <fejj@ximian.com> * mail-account-editor.c (construct): Use gtk_window_set_resizable() instead of gtk_window_set_policy(). * mail-config.c: Fix a bunch of warnings. (mail_config_signature_write): Removed. * mail-callbacks.c: Removed unused variables. svn path=/trunk/; revision=19885
* Register a destroy virtual method. (mail_accounts_tab_destroy): SetJeffrey Stedfast2003-02-125-29/+51
| | | | | | | | | | | | | | 2003-02-11 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c (mail_accounts_tab_class_init): Register a destroy virtual method. (mail_accounts_tab_destroy): Set mail_display->destroyed = TRUE. * message-list.c (message_list_destroy): Set mail_display->destroyed = TRUE. This is a workaround for the GTK_OBJECT_DESTROYED() macro that we used to use before. svn path=/trunk/; revision=19884
* Set mail_display->destroyed = TRUE. This is a workaround for theJeffrey Stedfast2003-02-123-13/+15
| | | | | | | | | | 2003-02-11 Jeffrey Stedfast <fejj@ximian.com> * mail-display.c (mail_display_destroy): Set mail_display->destroyed = TRUE. This is a workaround for the GTK_OBJECT_DESTROYED() macro that we used to use before. svn path=/trunk/; revision=19883
* Use g_signal_emit() rather than gtk_signal_emit(). (build_flat): SameJeffrey Stedfast2003-02-1112-63/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-02-10 Jeffrey Stedfast <fejj@ximian.com> * message-list.c (build_tree): Use g_signal_emit() rather than gtk_signal_emit(). (build_flat): Same here. * mail-signature-editor.c: #include <string.h> * mail-vfolder.c: #include <string.h> * mail-session.c: #include <string.h> * mail-search.c: #include <string.h> * mail-mt.c: #include <string.h> * mail-ops.c (save_part_save): Use strcasecmp() instead of g_strcasecmp(). * mail-local.c: #include <string.h> (reconfigure_folder_reconfigured): Use a GtkDialog instead of gnome_error_dialog(). * mail-format.c (find_preferred_alternative): Use g_ascii_strdown since g_strdown is deprecated. (fake_mime_part_from_data): Removed, no longer used it seems. (destroy_part): Also removed. * mail-display.c (make_popup_window): Replace call to gtk_window_set_polociy() with gtk_window_set_resizable() instead. (popup_size_allocate_cb): Use gtk_window_set_position() with GTK_WIN_POS_MOUSE instead of calculating the position to put it in. svn path=/trunk/; revision=19878
* Split the ORBit IDL compilation rules to work properly with parallelEttore Perazzoli2003-02-113-13/+39
| | | | | | | | | | | | | | * importers/Makefile.am: Split the ORBit IDL compilation rules to work properly with parallel makes. (BUILT_SOURCES): Add this. (CLEANFILES): Add this. * Makefile.am: Split the ORBit IDL compilation rules to work properly with parallel makes. (BUILT_SOURCES): Add $(IDL_GENERATED) here. (CLEANFILES): Remove from here. svn path=/trunk/; revision=19874
* Add LDFLAGS to ported libsRodney Dawes2003-02-102-0/+10
| | | | | | | | 2003-02-10 Rodney Dawes <dobey@ximian.com> * importers/Makefile.am: Add LDFLAGS to ported libs svn path=/trunk/; revision=19867
* look in the http cache for images when saving (image_save_as): removeLarry Ewing2003-02-102-24/+40
| | | | | | | | | | | | 2003-02-10 Larry Ewing <lewing@ximian.com> * mail-display.c (save_url): look in the http cache for images when saving (image_save_as): remove random warning. (do_external_viewer): remove unused variable. (do_attachment_header): use g_ascii_strdown svn path=/trunk/; revision=19864
* don't use random memory as a gconf client.Larry Ewing2003-02-082-0/+6
| | | | | | | | | 2003-02-07 Larry Ewing <lewing@ximian.com> * mail-display.c (save_data_cb): don't use random memory as a gconf client. svn path=/trunk/; revision=19848
* track change to e_book_load_uri type.Chris Toshok2003-02-072-3/+6
| | | | | | | | | 2003-02-06 Chris Toshok <toshok@ximian.com> * importers/pine-importer.c (import_addressbook): track change to e_book_load_uri type. svn path=/trunk/; revision=19840
* (on_right_click): UseEttore Perazzoli2003-02-072-1/+7
| | | | | | | e_auto_kill_popup_menu_on_selection_done() instead of e_auto_kill_popup_menu_on_hide(). svn path=/trunk/; revision=19837
* Fix EVOLUTION_ICONSDIRDan Winship2003-02-072-2/+3
| | | | svn path=/trunk/; revision=19825
* add EVOLUTION_PRIVDATADIRDan Winship2003-02-079-9/+25
| | | | | | | | | | | | | | | | | * Makefile.am (INCLUDES): add EVOLUTION_PRIVDATADIR * component-factory.c (owner_set_cb): Use EVOLUTION_PRIVDATADIR * mail-autofilter.c (filter_gui_add_from_message): Likewise (mail_filter_rename_uri): Likewise (mail_filter_delete_uri): Likewise * mail-callbacks.c (filter_edit): Likewise. * mail-search-dialogue.c (mail_search_dialogue_construct): Likewise * mail-session.c (main_get_filter_driver): Likewise * mail-summary.c (generate_folder_summaries): Likewise * mail-vfolder.c (vfolder_load_storage): Likewise svn path=/trunk/; revision=19824
* s/PACKAGE/GETTEXT_PACKAGE/ in gettext initDan Winship2003-02-072-2/+4
| | | | svn path=/trunk/; revision=19818
* Remove *dir defs that are in configure.in now (INCLUDES): clean up usingDan Winship2003-02-074-38/+44
| | | | | | | | | | | | | | | * Makefile.am: Remove *dir defs that are in configure.in now (INCLUDES): clean up using new *dir variables (libevolution_mail_la_LDFLAGS): remove -export-dynamic, add -module * importers/Makefile.am (INCLUDES): change EVOLUTION_DATADIR to EVOLUTION_PRIVDATADIR * importers/netscape-importer.c (netscape_import_filters): use EVOLUTION_PRIVDATADIR svn path=/trunk/; revision=19805
* add an activate handler to the entry so that hitting return will return anLarry Ewing2003-02-062-0/+13
| | | | | | | | | 2003-02-06 Larry Ewing <lewing@ximian.com> * mail-session.c (pass_activate): add an activate handler to the entry so that hitting return will return an OK response. svn path=/trunk/; revision=19800
* s/glade_gnome_init/glade_init/Dan Winship2003-02-062-1/+5
| | | | | | * main.c (main): s/glade_gnome_init/glade_init/ svn path=/trunk/; revision=19762
* update from ../../importers/. (main): Removed.Not Zed2003-02-056-15/+3661
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-02-05 Not Zed <NotZed@Ximian.com> * importers/netscape-importer.c: update from ../../importers/. (main): Removed. (mail_importer_module_init): Setup module init fn. (factory_fn): api changes. (is_dir_empty): deprecated changes, and clean up logic. (importer_cb): pulse progress bar, use idle function for processing next item. (import_next): Remove link before recursing, also fix memleak, and api changes. (netscape_import_file): dont release importer. (*): gconf'ify * importers/elm-importer.c (elm_factory_fn): Track the evolution_intelligent_importer, so we can unref it when done. (*): gconf'ify. * importers/pine-importer.c (parse_line): use gobject stuff rather than gtkobject. (import_addressfile): close down 'properly' when finished. (importer_timeout_fn): Do most processing decisions here, either from a timeout or idle function. This prevents us getting 1 stack frame per message and per folder. Close down properly also. (importer_cb): Add a timeout, ignore the callback, or add an idle function to process the next item. (pine_import_file): dont release the importer if we can't load it, its released elsewhere, i think. (import_addressfile): step the progress bar as we go. (factory_fn): Track the evolution_intelligent_importer, so we can unref when done. (*): gconf'ify 2003-01-31 Not Zed <NotZed@Ximian.com> * importers/elm-importer.c (elm_can_import): g_file_exists -> lstat, and g_build_filename api changes. * importers/pine-importer.c: moved from ../../importers/pine-importer.c (factory_fn): oaf->bonobo_activation (mail_importer_module_init): setup factory. (main): Removed. (*): REemove bonobo config stuff. (factory_fn): destroy signal -> weak ref. (pine_destroy_cb): Fix signature for weak ref notify. (import_addressfile): use new glib filename stuff. (import_addressbook): same. (pine_can_import): and here. (import_next): and here. (scan_dir): and here (pine_create_structure): And here. (pine_can_import): g_file_exists -> lstat. (importer_cb): If there are more items, use an idle handler to drop back a few stack frames rather than recursing for each message. (import_next): unlink data from dir_list before recursing, and fix leak. 2003-01-30 Not Zed <NotZed@Ximian.com> * importers/elm-importer.c (elm_destroy_cb): Change for weak ref setup. (elm_factory_fn): destroy -> weak ref. 2003-01-29 Not Zed <NotZed@Ximian.com> * importers/elm-importer.c (importer_cb): Pass processItem off to an idle handler, so we dont blow our stacks. Also update to use progress_bar_pulse(). (import_item_idle): Get the next message here instead. (import_next): Fix a glist leak. Unlink the file before we import it too. And close the dialogue and clean up when we've run out of folders to import. 2003-01-17 Not Zed <NotZed@Ximian.com> * importers/elm-importer.c (elm_create_structure): use/free elmdir rather than double-free maildir. 2003-01-16 Not Zed <NotZed@Ximian.com> * importers/elm-importer.c: update from ../importers/elm-importer.c svn path=/trunk/; revision=19752
* fixed button/text mismatchesJeffrey Stedfast2003-02-051-17/+17
| | | | svn path=/trunk/; revision=19741
* removed broken stringsJeffrey Stedfast2003-02-051-301/+335
| | | | svn path=/trunk/; revision=19737
* updated for e scroll frame --> gtk scrolled windowRadek Doulik2003-02-052-3/+3
| | | | svn path=/trunk/; revision=19736
* Get the thread_subject setting here instead of in regen_list_regen sinceJeffrey Stedfast2003-02-042-7/+13
| | | | | | | | | | | | 2003-02-03 Jeffrey Stedfast <fejj@ximian.com> * message-list.c (mail_regen_list): Get the thread_subject setting here instead of in regen_list_regen since that function will be called in another thread and we can't make corba calls in anything but the main thread. (regen_list_regen): Don't make CORBA calls here! (shame on me). svn path=/trunk/; revision=19715
* Just use gnome_vfs_get_mime_type_from_name() so we can forget all the crapJeffrey Stedfast2003-02-041-9/+7
| | | | | | | | | | 2003-02-03 Jeffrey Stedfast <fejj@ximian.com> * mail-identify.c (mail_identify_mime_part): Just use gnome_vfs_get_mime_type_from_name() so we can forget all the crap I implemented before. svn path=/trunk/; revision=19714
* Just use gnome_vfs_get_mime_type_from_name() so we can forget all the crapJeffrey Stedfast2003-02-043-19/+29
| | | | | | | | | | | | | | | 2003-02-03 Jeffrey Stedfast <fejj@ximian.com> * mail-identify.c (mail_identify_mime_part): Just use gnome_vfs_get_mime_type_from_name() so we can forget all the crap I implemented before. 2003-02-01 Jeffrey Stedfast <fejj@ximian.com> * mail-display.c (on_link_clicked): Pass in the *address* of the GError to gnome_url_show(), otherwise bad things happen :-) svn path=/trunk/; revision=19711
* New function to return a cached list of labels.Jeffrey Stedfast2003-02-017-178/+210
| | | | | | | | | | | | | | | | | | | | | | | | | 2003-01-31 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (mail_config_get_labels): New function to return a cached list of labels. (mail_config_get_label_color_by_name): New convenience function to search the cached labels. (mail_config_get_label_color_by_index): Same. (mail_config_init): Cache the labels and also listen for changes to them in the gconf db. (config_cache_labels): Internal function to cache the labels. * folder-browser.c (on_right_click): Fixed the label colours in the menu by using the cached linked list of labels. * mail-preferences.c (colorpicker_set_color): Now takes a string argument allowing us to get rid of converting a string into an rgb guint32 all over the place when trying to set defaults, since we now store colors in gconf as strings. (mail_preferences_construct): Use the cached labels (they are already parsed for us). svn path=/trunk/; revision=19694
* Change strcmp(fi->path, path) to strcmp(fi->name, name) and now theJeffrey Stedfast2003-01-282-2/+10
| | | | | | | | | | | 2003-01-27 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c (storage_remove_folder): Change strcmp(fi->path, path) to strcmp(fi->name, name) and now the execution takes the right path. My patch base on Callie's patch for bug #33525. svn path=/trunk/; revision=19661
* Fixed a #warning by converting a local path into a file: uri beforeJeffrey Stedfast2003-01-285-6/+31
| | | | | | | | | | | | | | | | | | | | | | 2003-01-27 Jeffrey Stedfast <fejj@ximian.com> * mail-identify.c (mail_identify_mime_part): Fixed a #warning by converting a local path into a file: uri before feeding it to gnome-vfs. * message-list.c (message_list_set_folder): Removed a FIXME that I've decided is no longer needed. 2003-01-22 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (mail_config_add_account): Emit the account-added event. (mail_config_remove_account): Emit the account-removed event. * mail-account-gui.c (mail_account_gui_save): Emit the changed event on the account-list for the changed account. svn path=/trunk/; revision=19655
* removed a FIXME commentJeffrey Stedfast2003-01-272-1/+5
| | | | svn path=/trunk/; revision=19647
* Set the paned_size here.Jeffrey Stedfast2003-01-254-110/+22
| | | | | | | | | | | | | | | | | 2003-01-24 Jeffrey Stedfast <fejj@ximian.com> * folder-browser-ui.c (folder_browser_ui_add_global): Set the paned_size here. * folder-browser.c (folder_browser_gui_init): Don't bother connecting to the hide-deleted, message-display-style, paned-size, nor show-preview gconf notifications anymore, since we can just set them when the view becomes active again in folder-browser-ui.c. Cuts down on extra overhead. (folder_browser_destroy): No need to disconnect from those notifications anymore either. svn path=/trunk/; revision=19626
* (iconsdir): Remove, this is now defined inEttore Perazzoli2003-01-252-1/+5
| | | | | | configure.in. svn path=/trunk/; revision=19621
* transfer the current acount info, which will be regarded as the sender ofleon.zhang2003-01-246-10/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-12-07 leon.zhang <leon.zhang@sun.com> * component-factory.c (user_create_new_item_cb): transfer the current acount info, which will be regarded as the sender of new composer, to send_to_url(). * mail-callbacks.h (send_to_url): Add a new parameter for parent folder uri. * mail-callbacks.c (send_to_url): Create composer base on source account info from parent folder physical uri. (post_to_url): create composer based on current account from parent folder physical uri. * mail-display.c (on_link_clicked): Apply new format of function: send_to_url. Fixes bug #35123 #35289 2003-01-24 Not Zed <NotZed@Ximian.com> * mail-local.c (non_equal): We do actually need to check they are file url's, otherwise, all url's match. svn path=/trunk/; revision=19611
* Use button_release instead of size_allocate, and get the position from theRodney Dawes2003-01-242-10/+17
| | | | | | | | | | 2003-01-23 Rodney Dawes <dobey@ximian.com> * folder-browser.c (fb_resize_cb): Use button_release instead of size_allocate, and get the position from the Paned widget to prevent calling CORBA all the time for GConf stuff svn path=/trunk/; revision=19607
* Define componentdir instead of COMPONENT_DIR. Set it toEttore Perazzoli2003-01-242-1/+5
| | | | | | | | | | | | | | | | | | | | | | * configure.in (idldir): Define componentdir instead of COMPONENT_DIR. Set it to $privlibdir/components instead of $libdir/evolution-$(BASE_VERSION)/components. * gui/component/select-names/Makefile.am (componentdir): Remove definition; no need to set it here since it's now defined in configure.in * gui/component/Makefile.am (componentdir): Likewise. * gui/Makefile.am (componentdir): Removed definition; this is now defined in configure.in. * Makefile.am (componentdir): Removed definition; this is now defined in configure.in. * Makefile.am (componentdir): Removed definition; this is now defined in configure.in. svn path=/trunk/; revision=19588
* removed *.oaf.in that were leftJeffrey Stedfast2003-01-233-367/+0
| | | | svn path=/trunk/; revision=19582
* Removed. (mail_config_set_thread_list): Removed.Jeffrey Stedfast2003-01-235-111/+27
| | | | | | | | | | | | | | | | | | 2003-01-22 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (mail_config_get_thread_list): Removed. (mail_config_set_thread_list): Removed. (mail_config_uri_renamed): No longer needs to change threaded state for each url either. (mail_config_write_on_exit): Updated. * folder-browser-ui.c (folder_browser_ui_add_list): Get the threaded state via gconf. * folder-browser.c (folder_browser_toggle_threads): Save the threaded state. svn path=/trunk/; revision=19580
* Use EVOLUTION_GALVIEWSDIR.Ettore Perazzoli2003-01-2312-43/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * folder-browser-ui.c (folder_browser_ui_setup_view_menus): Use EVOLUTION_GALVIEWSDIR. * message-browser.c (set_bonobo_ui): Get evolution-mail-messagedisplay.xml from EVOLUTION_UIDIR. * mail-signature-editor.c (mail_signature_editor): Get evolution-signature-editor.xml from EVOLUTION_UIDIR. * folder-browser-ui.c (ui_add): Get the evoluiton-mail* XML files from EVOLUTION_UIDIR. * Makefile.am (INCLUDES): Define EVOLUTION_GALVIEWSDIR; update EVOLUTION_IMAGESDIR to include the $(BASE_VERSION). (gladedir): Version using $(BASE_VERSION). (etspecdir): Likewise. (iconsdir): Likewise. (buttonsdir): Likewise. (etspecdir): Likewise. * component-factory.c (owner_set_cb): Look for vfoldertypes.xml in the new version-aware location. * mail-summary.c (generate_folder_summaries): Likewise. * mail-search-dialogue.c (mail_search_dialogue_construct): Likewise. * mail-vfolder.c (vfolder_load_storage): Likewise. * mail-autofilter.c (filter_gui_add_from_message): Look for filtertypes.xml in the new version-aware location. (mail_filter_rename_uri): Likewise. (mail_filter_delete_uri): Likewise. * mail-session.c (main_get_filter_driver): Likewise. * mail-callbacks.c (filter_edit): Likewise. svn path=/trunk/; revision=19562
* put unrealized html widget into top level widget (gtk window) beforeRadek Doulik2003-01-232-3/+16
| | | | | | | | | | 2003-01-22 Radek Doulik <rodo@ximian.com> * mail-callbacks.c (do_mail_print): put unrealized html widget into top level widget (gtk window) before realizing it destroy temporary widgets (w, html) svn path=/trunk/; revision=19545
* Don't unref the account object, e_list_remove() apparently handles thisJeffrey Stedfast2003-01-223-2/+8
| | | | | | | | | | | | 2003-01-21 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (mail_config_remove_account): Don't unref the account object, e_list_remove() apparently handles this for us. * mail-accounts.c (account_delete_clicked): Don't unref the confirm dialog, it was already destroyed. svn path=/trunk/; revision=19541
* applied patch from Frederic Crozat <fcrozat@mandrakesoft.com>Radek Doulik2003-01-221-10/+10
| | | | svn path=/trunk/; revision=19540
* Default to hiding deleted messages. Fixes bug #35929.Jeffrey Stedfast2003-01-213-29/+29
| | | | | | | | | | | | | | | 2003-01-20 Jeffrey Stedfast <fejj@ximian.com> * evolution-mail.schemas: Default to hiding deleted messages. Fixes bug #35929. * mail-preferences.c (entry_changed): Removed. (toggle_button_toggled): Removed. (settings_changed): New callback that replaces the two above. No need to have multiple callback functions when the signature is the same. svn path=/trunk/; revision=19532
* Don't !atoi (state) for the message_list_set_hidedeleted() call.Jeffrey Stedfast2003-01-212-1/+6
| | | | | | | | | 2003-01-20 Jeffrey Stedfast <fejj@ximian.com> * folder-browser.c (folder_browser_toggle_hide_deleted): Don't !atoi (state) for the message_list_set_hidedeleted() call. svn path=/trunk/; revision=19531
* e_question returns a boolean, don't test for a specific value.Larry Ewing2003-01-192-1/+4
| | | | | | | | | 2003-01-18 Larry Ewing <lewing@ximian.com> * mail-callbacks.c (save_msg_ok): e_question returns a boolean, don't test for a specific value. svn path=/trunk/; revision=19518
* (on_link_clicked): call gnome_url_show with all its arguments soLarry Ewing2003-01-192-5/+13
| | | | | | | that it actually does something. Also pass news and nntp urls to gnome_url_show so that they can be handled properly. svn path=/trunk/; revision=19515
* make the event handlers return FALSE so that gtkhtml can process theLarry Ewing2003-01-182-5/+9
| | | | | | | | | 2003-01-18 Larry Ewing <lewing@ximian.com> * mail-display.c (html_button_press_event): make the event handlers return FALSE so that gtkhtml can process the events. svn path=/trunk/; revision=19514
* wrap eriched entries with a table so that they get proper indentation.Larry Ewing2003-01-182-3/+7
| | | | | | | | | 2003-01-17 Larry Ewing <lewing@ximian.com> * mail-format.c (handle_text_enriched): wrap eriched entries with a table so that they get proper indentation. svn path=/trunk/; revision=19512
* Updated. (request_password): Same.Jeffrey Stedfast2003-01-1820-1125/+833
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-01-17 Jeffrey Stedfast <fejj@ximian.com> * mail-session.c (do_get_pass): Updated. (request_password): Same. * mail-send-recv.c (mail_send): Fixed to use EAccountService. * mail-config-druid.c (make_account): Updated to use EAccount and friends. * mail-account-gui.c (service_check_supported): Updated to use EAccountService. (mail_account_gui_new): Ref the account passed in and also update to use EAccount objects. (save_service): Updated to use an EAccountService. (add_new_store): Updated to use an EAccount. (mail_account_gui_save): Updated to use EAccounts. (setup_signatures): Updated because the new account->id->def_sig is now an int and not a structure pointer. * mail-account-editor.c (construct): Updated. (mail_account_editor_new): Now takes an EAccount object as an argument instead of a MailConfigAccount. * mail-crypto.c (mail_crypto_get_pgp_cipher_context): Updated to use EAccounts. * subscribe-dialog.c (populate_store_foreach): Removed. (populate_store_list): Can't use populate_store_foreach here because of the change to EAccountList so do it manually. * mail-vfolder.c (uri_is_ignore): Rewrote to use EAccountList and EIterator and all that fun. * mail-send-recv.c (build_dialogue): Updated to use EAccountList and EAccount object stuff. *ugh* (mail_send_receive): Here too. (mail_autoreceive_setup): Same. * mail-callbacks.c (check_send_configuration): Updated. (composer_get_message): Updated. (compose_msg): " (list_add_addresses): " (guess_me): " (guess_me_from_accounts): Same. (forward_get_composer): Here too. (mail_generate_reply): Same. (redirect_get_composer): " (empty_trash): And finally here. * mail-accounts.c (account_edit_clicked): Updated. (account_delete_clicked): Same. (account_default_clicked): Here too. (account_able_clicked): " (account_cursor_change): " (mail_accounts_load): Again here. * folder-browser.c (folder_browser_is_drafts): Updated to use EAccountList and EAccount stuff. (folder_browser_is_sent): Same. * component-factory.c (mail_load_storages): Updated to use EAccount and EAccountList stuff. (owner_set_cb): Same. (send_receive_cb): Here too. * mail-config.c: Rewritten to use EAccount and EAccountList objects. svn path=/trunk/; revision=19509
* fixed merge conflictsJeffrey Stedfast2003-01-171-1/+0
| | | | svn path=/trunk/; revision=19501
* Connect to the toggled event on the transport_needs_auth toggle button soJeffrey Stedfast2003-01-172-35/+61
| | | | | | | | | | | 2003-01-16 Jeffrey Stedfast <fejj@ximian.com> * mail-config-druid.c (get_fn): Connect to the toggled event on the transport_needs_auth toggle button so if the user turns this off after having deleted the username field, the Next button becomes re-enabled. Fixes bug #36862. svn path=/trunk/; revision=19500
* Same as below.Jeffrey Stedfast2003-01-177-149/+224
| | | | | | | | | | | | | | | | | | | | | 2003-01-16 Jeffrey Stedfast <fejj@ximian.com> * mail-composer-prefs.c (sig_fill_clist): Same as below. * mail-account-gui.c (sig_fill_options): mail_config_get_signature_list() now returns a GSList instead of a GList. * mail-config.c (signature_new_from_xml): New function to parse a signature xml blob into a MailConfigSignature structure. (config_read_signatures): Rewritten to use above function. (signature_to_xml): New function to write a signature to xml. (config_write_signatures_num): Removed. (config_write_signature): Removed. (config_write_signatures): Rewritten to use signature_to_xml and gconf. svn path=/trunk/; revision=19497
* Add a UID field (to match EAccount), which never changes and can be usedDan Winship2003-01-174-2/+28
| | | | | | | | | | | | | | | | * mail-config.h (MailConfigAccount): Add a UID field (to match EAccount), which never changes and can be used by gconf watchers to distinguish an account rename from a deletion and creation. * mail-config.c (account_copy): Create a new UID on the new account. (account_new_from_xml): Read the UID. (If it doesn't have one, make one.) (account_to_xml): Write the UID. * mail-config-druid.c (make_account): add a UID to each account svn path=/trunk/; revision=19496
* cast to avoid warningsJeffrey Stedfast2003-01-161-1/+1
| | | | svn path=/trunk/; revision=19489
* Change the enable/disable button when the state changes.Not Zed2003-01-162-0/+7
| | | | | | | | | 2003-01-15 Not Zed <NotZed@Ximian.com> * mail-accounts.c (account_able_clicked): Change the enable/disable button when the state changes. svn path=/trunk/; revision=19487
* Back to using e_xml_save_file().Jeffrey Stedfast2003-01-162-3/+6
| | | | | | | | 2003-01-15 Jeffrey Stedfast <fejj@ximian.com> * mail-local.c (save_metainfo): Back to using e_xml_save_file(). svn path=/trunk/; revision=19484
* Make dialog Cancel/OK to match HIG.Ettore Perazzoli2003-01-156-10/+29
| | | | | | | | | | | | | | | | * message-tag-editor.c (message_tag_editor_init): Make dialog Cancel/OK to match HIG. * mail-signature-editor.c (do_exit): Make confirmation dialog Discard/Cancel/Save to match the HIG. * mail-composer-prefs.c (mail_composer_prefs_construct): Make dialog Cancel/OK to match HIG. * mail-account-editor.c (construct): Make the dialog Apply/Close/OK to match HIG. svn path=/trunk/; revision=19469
* Call mail_config_save_accounts ().Jeffrey Stedfast2003-01-154-4/+26
| | | | | | | | | | | | 2003-01-14 Jeffrey Stedfast <fejj@ximian.com> * mail-account-gui.c (mail_account_gui_save): Call mail_config_save_accounts (). * mail-config.c (mail_config_save_accounts): New function to save accounts without having to re-load them. svn path=/trunk/; revision=19464
* reverted fe casts and added ChageLog entriesRadek Doulik2003-01-153-3/+13
| | | | | | | | | | | | | | 2003-01-14 Radek Doulik <rodo@ximian.com> * folder-browser.c (etree_key): use gtk_scrolled_window_* functions for mail_display->scroll * mail-display.c (mail_display_new): use gtk_scrolled_window_* functions * mail-display.h: use GtkScrolledWindow instead of EScrollFrame svn path=/trunk/; revision=19463
* Change the user_data argument to be of type gpointer instead ofJeffrey Stedfast2003-01-152-2/+8
| | | | | | | | | | 2003-01-14 Jeffrey Stedfast <fejj@ximian.com> * mail-display.c (pixmap_press): Change the user_data argument to be of type gpointer instead of EScrollFrame, since, well, it's not an EScrollFrame anymore. svn path=/trunk/; revision=19461
* (libevolution_mail_la_SOURCES): Add mail-format.h.Ettore Perazzoli2003-01-152-0/+7
| | | | | | (EXTRA_DIST): Add $(schema_DATA). svn path=/trunk/; revision=19454
* Make the component be unversioned as a shlibRodney Dawes2003-01-152-1/+5
| | | | | | | | 2003-01-14 Rodney Dawes <dobey@ximian.com> * Makefile.am: Make the component be unversioned as a shlib svn path=/trunk/; revision=19449
* Switch to using GtkPaned instead of EPaned for GTK2Rodney Dawes2003-01-152-8/+11
| | | | svn path=/trunk/; revision=19444
* EScrollFrame --> GtkScrolledWindowRadek Doulik2003-01-154-18/+13
| | | | svn path=/trunk/; revision=19440
* install the schemas fileJeffrey Stedfast2003-01-141-0/+7
| | | | svn path=/trunk/; revision=19436
* Perform some sanity checking on the auto-check-timeout value.Jeffrey Stedfast2003-01-142-1/+12
| | | | | | | | | 2003-01-13 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (account_new_from_xml): Perform some sanity checking on the auto-check-timeout value. svn path=/trunk/; revision=19435
* Correctly create the clipboard buffer by using a nul to delimit the uriJeffrey Stedfast2003-01-142-2/+6
| | | | | | | | | | 2003-01-13 Jeffrey Stedfast <fejj@ximian.com> * folder-browser.c (folder_browser_copy): Correctly create the clipboard buffer by using a nul to delimit the uri and the list of uids. svn path=/trunk/; revision=19433
* Check the state of message_style in gconf and set the menus accordingly.Jeffrey Stedfast2003-01-144-12/+52
| | | | | | | | | | | | | | 2003-01-13 Jeffrey Stedfast <fejj@ximian.com> * folder-browser-ui.c (folder_browser_ui_add_message): Check the state of message_style in gconf and set the menus accordingly. * folder-browser.c (folder_browser_destroy): Remove listener for message_style change notification. (folder_browser_gui_init): Connect a listener for changes to message_style. svn path=/trunk/; revision=19432
* Save the auto-check timeout value. (account_new_from_xml): Load theJeffrey Stedfast2003-01-142-4/+9
| | | | | | | | | | 2003-01-13 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (account_to_xml): Save the auto-check timeout value. (account_new_from_xml): Load the auto-check-timeout value. svn path=/trunk/; revision=19429
* include headersJeffrey Stedfast2003-01-142-6/+5
| | | | svn path=/trunk/; revision=19428
* s/BonoboXObject/BonoboObject/Dan Winship2003-01-145-21/+29
| | | | | | | | | | * folder-info.c: s/BonoboXObject/BonoboObject/ * mail-config.c: Likewise * mail-offline-handler.c: Likewise svn path=/trunk/; revision=19426
* hook onto destroy to remove dialogue from active table. (error_response):Not Zed2003-01-132-2/+11
| | | | | | | | | | 2003-01-13 Not Zed <NotZed@Ximian.com> * mail-mt.c (mail_msg_check_error): hook onto destroy to remove dialogue from active table. (error_response): Just destroy on any response, dont unref either. svn path=/trunk/; revision=19423
* g_strdup the md->charset otherwise we'll get memory corruption later. ThisJeffrey Stedfast2003-01-122-1/+7
| | | | | | | | | | 2003-01-11 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (mail_format_data_wrapper_write_to_stream): g_strdup the md->charset otherwise we'll get memory corruption later. This may be why non-usascii text is displaying incorrectly. svn path=/trunk/; revision=19419
* We also need to call message_list_set_hidedeleted() here so that anyJeffrey Stedfast2003-01-116-42/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | 2003-01-10 Jeffrey Stedfast <fejj@ximian.com> * folder-browser-ui.c (folder_browser_ui_add_list): We also need to call message_list_set_hidedeleted() here so that any deactivated folder controls will change to the currently set state when re-activated. (folder_browser_ui_add_global): Same for show_preview. * folder-browser.c (hide_deleted_changed): Don't call message_list_set_hidedeleted() here. (folder_browser_toggle_hide_deleted): Instead, call it here. This way we get a faster "response time". Also, this will make it so that not all folder controls will regen their message-list at the same time. (folder_browser_toggle_preview): Same idea as the hide-deleted changes. (show_preview_changed): See above. * mail-config-druid.c (make_account): Default the new account to enabled. (wizard_finish_cb): Don't set enabled here. svn path=/trunk/; revision=19417
* notify-type is a int, not a bool. Duh.Jeffrey Stedfast2003-01-112-1/+6
| | | | | | | | | 2003-01-10 Jeffrey Stedfast <fejj@ximian.com> * mail-session.c (main_get_filter_driver): notify-type is a int, not a bool. Duh. svn path=/trunk/; revision=19411
* Updated for function rename.Jeffrey Stedfast2003-01-1110-53/+81
| | | | | | | | | | | | | | | | | | | | | 2003-01-10 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c (factory): Updated for function rename. * mail-config-factory.c (mail_config_control_factory_cb): Namespaced the function name. * folder-browser-ui.c (folder_browser_ui_add_global): Don't add the listener for show_preview here, it was moved into folder-browser.c so we could detach the listener when the folder-browser is destroyed. Also prevents a listener being added multiple times (which was possible? before). * folder-browser.c (folder_browser_destroy): Remove the gconf notify handler for show_preview. (show_preview_changed): Moved here from folder-browser-ui.c svn path=/trunk/; revision=19408
* Fixed a situation in which we could notify the shell listener twice.Jeffrey Stedfast2003-01-113-21/+26
| | | | | | | | | 2003-01-10 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c (storage_remove_folder): Fixed a situation in which we could notify the shell listener twice. svn path=/trunk/; revision=19401
* Save the paned_size notify handle. (folder_browser_destroy): Remove gconfNot Zed2003-01-103-3/+15
| | | | | | | | | | 2003-01-10 Not Zed <NotZed@Ximian.com> * folder-browser.c (folder_browser_gui_init): Save the paned_size notify handle. (folder_browser_destroy): Remove gconf notify handler. svn path=/trunk/; revision=19395
* Remove info.png from a couple of images, the image is set via code atNot Zed2003-01-102-2/+4
| | | | | | | | | | 2003-01-10 Not Zed <NotZed@Ximian.com> * mail-config.glade: Remove info.png from a couple of images, the image is set via code at runtime. Removes some annoying runtime warnings. svn path=/trunk/; revision=19393
* enable the account before attempting to saving it.Chris Toshok2003-01-103-3/+13
| | | | | | | | | | | | 2003-01-09 Chris Toshok <toshok@ximian.com> * mail-config-druid.c (wizard_finish_cb): enable the account before attempting to saving it. * mail-accounts.c (account_delete_clicked): need to show the buttons added to the dialog. svn path=/trunk/; revision=19391
* dont unref the dialogue. (dialog_destroy_cb): null out theNot Zed2003-01-102-5/+9
| | | | | | | | | | 2003-01-10 Not Zed <NotZed@Ximian.com> * mail-send-recv.c (dialogue_response): dont unref the dialogue. (dialog_destroy_cb): null out the send_recv_dialogue after destroy. (build_dialogue): show the stop button svn path=/trunk/; revision=19390
* pass bag to bonobo_pbclient_set_boolean.Chris Toshok2003-01-102-1/+6
| | | | | | | | | 2003-01-09 Chris Toshok <toshok@ximian.com> * folder-info.c (evolution_folder_info_notify_ready): pass bag to bonobo_pbclient_set_boolean. svn path=/trunk/; revision=19371
* (owner_set_cb): Don't callEttore Perazzoli2003-01-102-4/+6
| | | | | | | mail_config_register_factory() or evolution_mail_config_wizard_init(). svn path=/trunk/; revision=19370
* #include "mail-format.h"Jeffrey Stedfast2003-01-101-0/+1
| | | | svn path=/trunk/; revision=19367
* Added druidpagestart1 to the pages list. (construct): Change the limits onNot Zed2003-01-099-188/+179
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-01-09 Not Zed <NotZed@Ximian.com> * mail-config-druid.c: Added druidpagestart1 to the pages list. (construct): Change the limits on the page initialisation, and widget_show_all on the page rather than the content. * GNOME_Evolution_Mail.server.in.in: Make Mail a shlib component. * folder-info.c (evolution_folder_info_factory_init): Removed. (evolution_folder_info_factory_fn): renamed to evolution_folder_info_new(). * mail-config-druid.c (evolution_mail_config_wizard_factory_fn): Renamed to evolution_mail_config_wizard_new(). (evolution_mail_config_wizard_init): Removed. * mail-config-factory.c (mail_config_register_factory): Remove. (config_control_factory_cb): make this public. * Makefile.am: setup evolution-mail as a shared library. * component-factory.c (make_factory): implement the bonobo-plugin factory for shlib operation. Also, preliminary work to setup mailer-specific (factory): Implement the factory which starts various components. * mail-config.c (xml_get_prop): g_free->xmlFree (account_to_xml): copy xml memory to glib memory when adding the 0 on the end of the string. (accounts_save): Use slightly different logic with appending to the tail of the list, we can't use the &node trick with gslists. (accounts_changed): Same here. svn path=/trunk/; revision=19362
* g_free->xmlFree (account_to_xml): copy xml memory to glib memory whenNot Zed2003-01-092-16/+29
| | | | | | | | | | | | | 2003-01-09 Not Zed <NotZed@Ximian.com> * mail-config.c (xml_get_prop): g_free->xmlFree (account_to_xml): copy xml memory to glib memory when adding the 0 on the end of the string. (accounts_save): Use slightly different logic with appending to the tail of the list, we can't use the &node trick with gslists. (accounts_changed): Same here. svn path=/trunk/; revision=19306
* Images are now in $(datadir)/evolution/imagesEttore Perazzoli2003-01-092-27/+32
| | | | | | instead of $(datadir)/images/evolution. svn path=/trunk/; revision=19294
* Call folder_browser_set_message_preview().Jeffrey Stedfast2003-01-092-2/+4
| | | | | | | | | 2003-01-08 Jeffrey Stedfast <fejj@ximian.com> * folder-browser-ui.c (folder_browser_ui_add_global): Call folder_browser_set_message_preview(). svn path=/trunk/; revision=19289
* Removed. (mail_config_set_show_preview): Removed.Jeffrey Stedfast2003-01-095-93/+48
| | | | | | | | | | | | | | | | 2003-01-08 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (mail_config_get_show_preview): Removed. (mail_config_set_show_preview): Removed. * folder-browser.c (folder_browser_toggle_preview): Simply set the gconf show_preview setting and let the code in folder-browser-ui.c detect it and update the UI. * folder-browser-ui.c (folder_browser_ui_add_global): Listen for changed events on the show_preview setting. svn path=/trunk/; revision=19288
* Save the setting via gconf. (mail_config_add_account): Immediately saveJeffrey Stedfast2003-01-093-14/+5
| | | | | | | | | | | | | | 2003-01-08 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (mail_config_set_default_account): Save the setting via gconf. (mail_config_add_account): Immediately save the list of accounts. (mail_config_remove_account): Same. (mail_config_signature_run_script): g_free the charset value and use the composer's charset rather than the display charset. (mail_config_get_default_account_num): Removed. svn path=/trunk/; revision=19285