aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-composer-prefs.c
Commit message (Collapse)AuthorAgeFilesLines
* Same as below.Jeffrey Stedfast2003-01-171-1/+1
| | | | | | | | | | | | | | | | | | | | | 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
* Make dialog Cancel/OK to match HIG.Ettore Perazzoli2003-01-151-2/+4
| | | | | | | | | | | | | | | | * 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
* Use gconf to get the paned size. (folder_browser_set_message_preview):Jeffrey Stedfast2003-01-081-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-01-07 Jeffrey Stedfast <fejj@ximian.com> * folder-browser.c (save_cursor_pos): Use gconf to get the paned size. (folder_browser_set_message_preview): Same. (folder_browser_toggle_hide_deleted): Use gconf to set the hide-deleted state. (folder_browser_set_message_display_style): Same but for the message_display_style. (fb_resize_cb): Save the paned_size via gconf. (paned_size_changed): Callback for when the paned_size gets changed. Change the folder-browser's paned size to the new setting. (folder_browser_gui_init): Listen to changes to the paned_size and also get the initial size from gconf. * message-list.c (message_list_set_folder): Use gconf. (regen_list_regen): Use gconf. * message-browser.c (transfer_msg_done): Use gconf to get the hide_deleted setting. * mail-account-gui.c (sig_add_new_signature): Use gconf. * folder-browser-ui.c (folder_browser_ui_add_list): Use gconf. * folder-browser.c (save_cursor_pos): Use gconf. (folder_browser_set_message_preview): Same. (folder_browser_toggle_hide_deleted): Here too. (folder_browser_set_message_display_style): And here. (folder_browser_gui_init): Here too. (done_message_selected): And here. * mail-config.c (mail_config_get_thread_subject): Removed. (mail_config_set_thread_subject): Removed. (mail_config_get_empty_trash_on_exit): Removed. (mail_config_set_empty_trash_on_exit): Removed. (mail_config_get_last_filesel_dir): Removed. (mail_config_set_last_filesel_dir): Removed. (mail_config_get_hide_deleted): Removed. (mail_config_set_hide_deleted): Removed. (mail_config_get_paned_size): Removed. (mail_config_set_paned_size): Removed. (mail_config_get_send_html): Removed. (mail_config_set_send_html): Removed. (mail_config_get_confirm_unwanted_html): Removed. (mail_config_set_confirm_unwanted_html): Removed. (mail_config_get_citation_highlight): Removed. (mail_config_set_citation_highlight): Removed. (mail_config_get_citation_color): Removed. (mail_config_set_citation_color): Removed. (mail_config_get_do_seen_timeout): Removed. (mail_config_set_do_seen_timeout): Removed. (mail_config_get_mark_as_seen_timeout): Removed. (mail_config_set_mark_as_seen_timeout): Removed. (mail_config_get_prompt_empty_subject): Removed. (mail_config_set_prompt_empty_subject): Removed. (mail_config_get_prompt_only_bcc): Removed. (mail_config_set_prompt_only_bcc): Removed. (mail_config_get_confirm_expunge): Removed. (mail_config_set_confirm_expunge): Removed. (mail_config_get_confirm_goto_next_folder): Removed. (mail_config_set_confirm_goto_next_folder): Removed. (mail_config_get_goto_next_folder): Removed. (mail_config_set_goto_next_folder): Removed. (mail_config_get_http_mode): Removed. (mail_config_set_http_mode): Removed. (mail_config_get_default_forward_style): Removed. (mail_config_set_default_forward_style): Removed. (mail_config_get_default_reply_style): Removed. (mail_config_set_default_reply_style): Removed. (mail_config_get_message_display_style): Removed. (mail_config_set_message_display_style): Removed. (mail_config_get_default_charset): Removed. (mail_config_set_default_charset): Removed. (mail_config_get_x_mailer_display_style): Removed. (mail_config_set_x_mailer_display_style): Removed. * subscribe-dialog.c (populate_store_list): Use the list of accounts. We can't get the list of sources anymore. (populate_store_foreach): Updated. * mail-callbacks.c (guess_me_from_accounts): Use account->enabled. (mail_generate_reply): Same. (empty_trash): Here too. * mail-accounts.c (account_delete_clicked): Use account->enabled rather than source->enabled. (account_able_clicked): Same. (account_cursor_change): Here too. (mail_accounts_load): And here. * component-factory.c (owner_unset_cb): Use gconf empty-on-exit settings. (mail_load_storages): Use account->enabled rather than account->source->enabled. The struct changed. * mail-composer-prefs.c (sig_add): Get the send_html pref from gconf. * message-tag-followup.c (target_date_new): Use gconf. * mail-config.c (mail_config_get_week_start_day): Removed. * mail-tools.c (mail_tool_quote_message): Use gconf here too, but we don't need to parse the colour - just use it as a raw string. (mail_tool_forward_message): Use gconf. * mail-format.c (mail_format_data_wrapper_write_to_stream): Use gconf. (write_headers): Use gconf. (handle_text_plain): Same. * mail-display.c (mail_text_write): Updated to use gconf and parse GdkColour strings. (on_url_requested): Updated to use gconf. * mail-callbacks.c (ask_confirm_for_unwanted_html_mail): Use gconf rather than the old mail-config APIs which will be removed. (ask_confirm_for_empty_subject): Same. (ask_confirm_for_only_bcc): Here too. (composer_get_message): And here. (create_msg_composer): Same. (transfer_msg_done): Again here. (delete_msg): Here too. (confirm_expunge): And finally here. * mail-config.c (mail_config_write): Use gconf. (mail_config_get_sources): Removed. * mail-account-gui.c (mail_account_gui_save): No need to save enabled-state anymore for a source. * mail-config-druid.c (wizard_finish_cb): Instead of setting account->source->enabled to TRUE, just set account->enabled to TRUE. The structures changed a bit. * mail-send-recv.c (mail_send_receive): Get the list of accounts instead of sources, and pass them along to build_dialogue. I'm trying to get rid of the mail_config_get_sources() api. (mail_autoreceive_setup): Here too. * mail-config.c (mail_config_get_filter_log): Removed. (mail_config_set_filter_log): Removed. (mail_config_get_filter_log_path): Removed. (mail_config_set_filter_log_path): Removed. (mail_config_get_new_mail_notify): Removed. (mail_config_set_new_mail_notify): Removed. (mail_config_get_new_mail_notify_sound_file): Removed. (mail_config_set_new_mail_notify_sound_file): Removed. * mail-session.c (main_get_filter_driver): Updated to use the gconf settings. svn path=/trunk/; revision=19271
* ...And a whole bunch more build fixes.Jeffrey Stedfast2002-12-181-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-12-17 Jeffrey Stedfast <fejj@ximian.com> ...And a whole bunch more build fixes. * mail-vfolder.c (mail_vfolder_delete_uri): Don't use g_string_sprintfa() anymore since it is apparently deprecated. * mail-session.c (main_get_filter_driver): Don't use g_string_sprintfa() anymore since it is apparently deprecated. * mail-ops.c (build_from): Don't use g_string_sprintfa() anymore since it is apparently deprecated. * mail-callbacks.c (ask_confirm_for_unwanted_html_mail): Don't use g_string_sprintfa() anymore since it is apparently deprecated. * mail-autofilter.c: Don't use g_string_sprintfa() anymore since it is apparently deprecated. * folder-browser.c: Don't use g_string_sprintfa() anymore since it is apparently deprecated. * mail-search.c (mail_search_set_subject): Remove the unnecessary g_strdup()'age as well as fix a possible buffer overrun. * mail-local.c (mail_local_folder_construct): Use g_path_get_basename(). * mail-config-druid.c (make_account): Don't use e_utf8_* functions. svn path=/trunk/; revision=19152
* Fix the colour code to get a guint32 rgb correctly (I think - can't testJeffrey Stedfast2002-12-141-98/+97
| | | | | | | | | | 2002-12-13 Jeffrey Stedfast <fejj@ximian.com> * mail-preferences.c (mail_preferences_construct): Fix the colour code to get a guint32 rgb correctly (I think - can't test because the shell keeps crashing, yay). svn path=/trunk/; revision=19114
* cast a-warning a-way.Not Zed2002-12-121-1/+2
| | | | | | | | | | | | | | | | | | | | | 2002-12-12 Not Zed <NotZed@Ximian.com> * folder-browser.c (my_folder_browser_init): cast a-warning a-way. * mail-composer-prefs.c (spell_setup): Terminate list_store_set with -1. * mail-accounts.c (mail_accounts_etable_new): clist -> gtktreeview stuff. Yes, this is not an etable. (mail_accounts_tab_construct): Same. (mail_accounts_load): Same. (account_cursor_change): Same. (account_able_clicked): And this. (account_default_clicked): Same. (account_delete_clicked): Guess? (account_edit_clicked): And here too. svn path=/trunk/; revision=19099
* language is a treeview now. Not sure what to do with it yet, but get ridNot Zed2002-12-101-214/+198
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-12-10 Not Zed <NotZed@Ximian.com> * mail-composer-prefs.c (mail_composer_prefs_construct): language is a treeview now. Not sure what to do with it yet, but get rid of one warning anyway. (mail_composer_prefs_construct): Same for sig_clist, but setup model. (sig_fill_clist): Change to use a gtktreeview instead of a clist. (sig_selection_changed): New method to handle signature selection changes with the new widgets. (sig_delete): clist -> treeview. (mail_composer_prefs_new_signature): Same. (sig_edit): ditto. (sig_current_sig): removed. (sig_row_unselect): Removed. (sig_row_select): Removed, now redundant. (spell_select_lang): Removed, redundant. (spell_set_ui_language): New implementation using list model more effectively. (spell_get_language_str): Same here. (spell_set_ui_language): Removed this too, merged into spell_set_ui, it was just wasting stack space. (spell_language_selection_changed): renemd from spell_language_select_row, converted to gtktreeview, etc. (spell_language_unselect_row): Removed. (spell_language_enable): Redone to use tree model. (spell_language_button_press): Removed, i dont think this is needed anymore. (spell_setup): dont hook onto redundant signals. * mail-config-factory.c (config_control_factory_cb): ignore mail-font-prefs in a different way (so we dont assert) svn path=/trunk/; revision=19084
* gnome_pixmap -> gtkimage. (construct): gtk_clist -> gtk_tree_view, setupNot Zed2002-12-021-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-11-27 Not Zed <NotZed@Ximian.com> * message-tag-followup.c (construct): gnome_pixmap -> gtkimage. (construct): gtk_clist -> gtk_tree_view, setup columns. They dont size well :-/ (message_tag_followup_append_message): Append using model, remove clist stuff. (construct): Show date edit (glade bugs?) * folder-browser.c (folder_browser_class_init): gtk_marshal -> g_cclosure_marshal (setup_popup_icons): gnome_pixmap -> gtk_image. (on_right_click): gtk_pixmap -> gtk_image. * mail-accounts.c (account_delete_clicked): removed #if 0'd out code. * mail-send-recv.c (receive_done): remove FIXME and extra unref. * mail-session.c (request_password): Removed #if 0'd out stuff. * mail-vfolder.c (new_rule_clicked): proper cast for g_object_get_data. * mail-local.c (reconfigure_response): cast for g_object_get_data. * mail-account-editor.c (construct): GNOME_DIALOG -> GTK_DIALOG. * *.[ch]: re-ran fix.sh for e_notice change * mail-callbacks.c (save_msg_ok): g_object_get_data + gtk_object_remove_no_notify -> g_object_steal_data. (find_socket): gtk_container_children -> gtk_container_get_children (edit_msg): gnome_*_dialog -> gtk_message_dialog. (resent_msg): " (search_msg): " (confirm_goto_next_folder): gtkmessagedialogised (even if not used). (confirm_expunge): gtkmessagedialogised (filter_edit): " (do_mail_print): e_notice -> gtk_message_dialog. (are_you_sure): removed e_gnome_ok_cancel_dialog crap, replaced with a gtk dialog. (are_you_sure): gtkmessagedialogised. (edit_msg_internal): Dont free uids array, are_you_sure() free's it. (resend_msg): Same. (check_send_configuration): Use e_notice for stuff. Sigh, here we go again ...! (e_question): A utility function to ask a question, potentially with 'dont ask again' as well. (configure_mail): use e_question to save code. Here we go again, again ... (ask_confirm_for_unwanted_html_mail): " (ask_confirm_for_only_bcc): " (ask_confirm_for_only_bcc): " (composer_get_message): Use e_notice. (composer_save_draft_cb): Use e_question (edit_msg): use e_notice, & change to an ERROR. (resend_msg): same. (save_msg_ok): Properly initialise ret to OK, and use e_question, and use access() to determine existance/write access rather than stat, display an error if we can't write to a file that exists, and print the filename in all dialogues. (confirm_goto_next_folder): Use e_question. (confirm_expunge): use e_question. (filter_edit): Use e_notice. (do_mail_print): use e_notice. svn path=/trunk/; revision=18974
* sync the gconf settingsJeffrey Stedfast2002-11-211-0/+2
| | | | svn path=/trunk/; revision=18860
* gconfify. (mail_composer_prefs_apply): gconfify this also.Jeffrey Stedfast2002-11-211-31/+43
| | | | | | | | | | | | 2002-11-20 Jeffrey Stedfast <fejj@ximian.com> * mail-composer-prefs.c (mail_composer_prefs_construct): gconfify. (mail_composer_prefs_apply): gconfify this also. * mail-preferences.c (mail_preferences_construct): gconf_client_get_string() probably returns an allocated buffer. svn path=/trunk/; revision=18859
* applied plain_signature_fix.patchRadek Doulik2002-11-201-1/+1
| | | | svn path=/trunk/; revision=18841
* applied spell_crash_fix.patchRadek Doulik2002-11-191-0/+5
| | | | svn path=/trunk/; revision=18829
* Correctly spell Advanced.Jeffrey Stedfast2002-11-161-1/+1
| | | | | | | | 2002-11-15 Jeffrey Stedfast <fejj@ximian.com> * mail-composer-prefs.c (sig_edit): Correctly spell Advanced. svn path=/trunk/; revision=18780
* Use g_object_new() instead of gtk_type_new(). Likewise. Likewise.Ettore Perazzoli2002-11-141-1/+1
| | | | | | | | | | | * folder-info.c (evolution_folder_info_factory_fn): Use g_object_new() instead of gtk_type_new(). * folder-browser.c (folder_browser_new): Likewise. * mail-account-gui.c (mail_account_gui_folder_selector_button_new): Likewise. * mail-font-prefs.c (mail_font_prefs_new): Likewise. svn path=/trunk/; revision=18742
* Added to cvs. Currently contains no configurable stuff, but maybe it willNot Zed2002-11-131-26/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-11-13 Not Zed <NotZed@Ximian.com> * GNOME_Evolution_Mail.server.in.in: Added to cvs. Currently contains no configurable stuff, but maybe it will one day. * Makefile.am (server_DATA): change oaf stuff to server stuff for bonobo activation. * mail-preferences.c (mail_preferences_apply): handle const entry text. * mail-composer-prefs.c (url_requested): Fixed typo. (mail_composer_prefs_construct): gnomepixmap->gtkimage. * mail-callbacks.c (configure_mail): destroy dialogue before dealing with response. (mail_generate_reply): Fix a typo. (popup_listener_cb): fix prototype. (tag_editor_response): Handle gtk dialog response. (flag_for_followup): Change gnome dialog to gtk dialog stuff. (tag_editor_destroy_cb): (tag_editor_cancel): (tag_editor_ok): Removed, handled in _response(). (filter_editor_response): renamed from _clicked, handle gtk dialogue signal. (filter_editor_destroy): Removed. (footer_info_new): gnome font api changes. (do_mail_print): port to gnome print 2. * mail-autofilter.c (mail_filter_delete_uri): message_dialog uses a specific button enum, not the stock ones. * mail-accounts.c (mail_accounts_tab_get_type): gobjectify. (account_delete_clicked): gdkdialogise. * mail-account-gui.c (mail_account_gui_setup): Hack around font metric determination code. * mail-account-editor.c (mail_account_editor_get_type): gobjectise. (mail_account_editor_new): "" * folder-info.c (evolution_folder_info_notify_ready): use pbclient interface. * folder-browser-factory.c (control_destroy_cb): fix a typo. (folder_browser_factory_new_control): More typos. * folder-browser.c (on_right_click): cast around const warning. (context_menu_position_func): fix for api change. * e-searching-tokenizer.c (e_searching_tokenizer_finalise): Changed from destroy since it only frees memory. (e_searching_tokenizer_get_type): glibify. * component-factory.c (request_quit): gtkdialogise. (send_receive_cb): " (create_component): gdk_pixbuf api. (component_factory_init): bonobo activation stuff. (warning_response): renamed from warning_clicked. (owner_set_cb): gtkdialogise. svn path=/trunk/; revision=18731
* Commented out stuff that doesn't build yet. Also fixed idl build rule.Not Zed2002-11-121-35/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-11-13 Not Zed <NotZed@Ximian.com> * Makefile.am: Commented out stuff that doesn't build yet. Also fixed idl build rule. importers still not built. * main.c (main): bonobactivationise. remove push visual/colormap. (main): no longer activate activation, let bonobo_init do it. * mail-signature-editor.c (menu_help): Change help api. * mail-session.c (user_message_destroy_noreply): removed. Not used? * mail-local.c (load_metainfo): xml root->children. * mail-format.c (g_string_append_len): Removed, it exists now. 2002-11-12 Not Zed <NotZed@Ximian.com> * subscribe-dialog.c: gnome2ised, use gtkdialog. (subscribe_get_global_extras): use a weak ref rather than destroy signal. * message-tag-followup.c: gnome2ised. * message-tag-editor.c: gnome2ised & converted to gtkdialog. * message-list.c: gnome2ised. (message_list_finalise): From destroy method. maybe should be destroy still. * message-browser.c: port to gnome2 (message_browser_finalise): renamed from destroy method. * mail-stream-gtkhtml.c: removed redundant camel_class_get_global_classfuncs() call. * mail-signature-editor.c: gtkdialogised, & bonobo api changes. * mail-search-dialogue.c: gtkdialogised. * mail-folder-cache.c: cleaned up camel ref/hook casts. * mail-composer-prefs.c (mail_composer_prefs_get_type): convert to gtype. * mail-font-prefs.c (mail_font_prefs_destroy): from finalise. * mail-config.c: s/bonobo_config/e_config_listener/ Added /apps/Evolution prefix to the evolution keys. Changed to use e_config_listener, etc. (mail_config_init): remove bonobo_config stuff. (mail_config_check_service): gtk dialogise. (check_response): from check_cancelled. * mail-config-druid.c (mail_config_druid_destroy): renamed from _finalize, turned into destroy handler. (construct): set type to toplevel, GTK_WINDOW_DIALOG no longer exists. * mail-config-factory.c (mail_config_register_factory): bonobo api changes. * mail-crypto.c (mail_crypto_get_pgp_cipher_context): cleaned up unref casts. * mail-display.c (write_data_to_file): gnome->gtkdialog. (on_link_clicked): use ascii_str*cmp on url. (save_part): g_path stuff. (launch_cb): gtk dialog. (pixmap_press): de-oafify. (pixbuf_for_mime_type): gnome-vfs api changes. (do_attachment_header): Change the pixmap to a gtkimage. (do_signature): " (pixbuf_gen_idle): " (do_attachment_header): ascii_str*cmp (do_attachment_header): gnome pixmap->gtkimage. (mail_display_destroy): protect against gtk mentalness. (html_button_press_event): ascii_str*cmp (drag_data_get_cb): added comment for translators of filename. * mail-format.c (component_supports): de-oafise. (is_anonymous): ascii_strncmp (attachment_header): remove utf8<>locale stuff, and gnomevfs api changes. (format_mime_part): fix g_strdown call. (write_field_row_begin): kill utf8->gtk stuff. (write_address): " (default_header_index): ascii_strcasecmp (handle_text_plain): " (handle_text_enriched): " (handle_multipart_encrypted): remove utf/gtk stuff. (handle_message_external_body): ascii_str*cmp * mail-identify.c (mail_identify_mime_part): (identify_by_magic): gnome vfs api changes. * mail-importer.c: Converted. * mail-local.c (load_metainfo): xml childs -> children. (mls_get_folder): g_strerror. (mls_delete_folder): g_strerror. (reconfigure_got_folder): Gnome->GtkDialog (reconfigure_response): from reconfigure_clicked. * mail-mt.c (mail_msg_check_error): gnome -> gtk dialog (error_response): renmae from error_gone. destroy widget on any response. * mail-offline-handler.c (impl_finalise): renamed from impl_destroy since thats what it should be anyway. * mail-ops.c: removed utf8 widget conversion & camel_object_un/ref casts. * mail-preferences.c (mail_preferences_get_type): glib2'ised. * mail-search.c (mail_search_finalise): renmaed from destroy & properly chain. (mail_search_get_type): glib2 & make gtkdialog parent. (entry_run_search): run search when entry activated. not sure if gtkdialog has anohter way to do this on an arbitrary widget. * mail-send-recv.c (dialogue_response): renamed from clicked. Use gtkdialog. * mail-session.c (request_password_deleted): removed, redundant. (pass_response): rename from pass_got, changed for gtkdialog. (user_message_destroy): Removed, redundant. (user_message_response): Renamed from user_message_clicked. 2002-11-11 Not Zed <NotZed@Ximian.com> * mail-stream-gtkhtml.c (mail_stream_gtkhtml_class_init): dont use get_global_classfuncs, just get the type * mail-tools.c: converted gnome2 api's. * mail-vfolder.c (vfolder_editor_response): clicked->response. (vfolder_editor_destroy): Removed. (vfolder_edit): gtk dialog api (edit_rule_response): clicked->response. (vfolder_edit_rule): gnomedialog->gtkdialog. (vfolder_gui_add_rule): " (new_rule_clicked): clicked->response svn path=/trunk/; revision=18723
* Ported.Jeffrey Stedfast2002-11-091-116/+101
| | | | | | | | 2002-11-08 Jeffrey Stedfast <fejj@ximian.com> * mail-composer-prefs.c: Ported. svn path=/trunk/; revision=18678
* Add the new-mail-notify rule to the filter driver before adding the userJeffrey Stedfast2002-10-161-7/+10
| | | | | | | | | | | | | | | 2002-10-15 Jeffrey Stedfast <fejj@ximian.com> * mail-session.c (main_get_filter_driver): Add the new-mail-notify rule to the filter driver before adding the user defined filter rules so that we can be sure that the new-mail-notify rule gets invoked. Fixes bug #32328. * mail-composer-prefs.c (mail_composer_prefs_new_signature): Make sure that name[0] cannot ever be NULL. Should maybe fix bug #32230. svn path=/trunk/; revision=18374
* Don't maek "en" for translation. Fixes bug #31788.Jeffrey Stedfast2002-10-081-1/+1
| | | | | | | | | | | | | 2002-10-07 Jeffrey Stedfast <fejj@ximian.com> * mail-composer-prefs.c (spell_load_values): Don't maek "en" for translation. Fixes bug #31788. * mail-config.glade: Removed a "xxxxxxxxxxx" string so that translators don't need to translate it. It was only a filler string. Fixes bug #31789. svn path=/trunk/; revision=18350
* Only setup the languages if the language_seq is not CORBA_OBJECT_NIL.Jeffrey Stedfast2002-10-021-7/+9
| | | | | | | | | | 2002-10-01 Jeffrey Stedfast <fejj@ximian.com> * mail-composer-prefs.c (spell_setup): Only setup the languages if the language_seq is not CORBA_OBJECT_NIL. Fixes bug #31559 (presumably at least). svn path=/trunk/; revision=18286
* pass name of the script as 1st parameterRadek Doulik2002-09-241-1/+1
| | | | | | | | | | | | 2002-09-23 Radek Doulik <rodo@ximian.com> * mail-config.c (mail_config_signature_run_script): pass name of the script as 1st parameter * mail-composer-prefs.c (sig_add_script_add): fix entry's glade name svn path=/trunk/; revision=18188
* Fix non-ANSI switch statement.Dan Winship2002-09-241-3/+3
| | | | | | | | | | | | | | | | * mail-signature-editor.c (exit_dialog_cb): Fix non-ANSI switch statement. * mail-account-gui.c (mail_account_gui_auto_detect_extra_conf): Likewise. * mail-composer-prefs.c (spell_load_values): add some dummy typedefs to avoid empty macro arguments, which have undefined behavior. * mail-importer.c: #include <sys/types.h> for OS X svn path=/trunk/; revision=18186
* Disable debugging printf'sJeffrey Stedfast2002-09-181-94/+103
| | | | | | | | 2002-09-17 Jeffrey Stedfast <fejj@ximian.com> * mail-composer-prefs.c (d): Disable debugging printf's svn path=/trunk/; revision=18091
* use mail_config_get_send_html for html format flagRadek Doulik2002-07-251-1/+1
| | | | | | | | | | | | 2002-07-24 Radek Doulik <rodo@ximian.com> * mail-composer-prefs.c (sig_add): use mail_config_get_send_html for html format flag * mail-account-gui.c (sig_add_new_signature): use mail_config_get_send_html for html format flag svn path=/trunk/; revision=17573
* call mail_config_init to be sure we have the db, save auto_signature asRadek Doulik2002-06-111-1/+1
| | | | | | | | | | 2002-06-07 Radek Doulik <rodo@ximian.com> * mail-config.c (mail_config_write_account_sig): call mail_config_init to be sure we have the db, save auto_signature as well svn path=/trunk/; revision=17161
* hook this to cancel button in signature script dialogRadek Doulik2002-06-081-0/+7
| | | | | | | | | 2002-06-07 Radek Doulik <rodo@ximian.com> * mail-composer-prefs.c (sig_add_script_cancel): hook this to cancel button in signature script dialog svn path=/trunk/; revision=17150
* script signaturesRadek Doulik2002-06-081-29/+84
| | | | svn path=/trunk/; revision=17144
* disable edit and delete when there are no signatures definedRadek Doulik2002-06-071-0/+4
| | | | | | | | | 2002-06-06 Radek Doulik <rodo@ximian.com> * mail-composer-prefs.c (mail_composer_prefs_construct): disable edit and delete when there are no signatures defined svn path=/trunk/; revision=17133
* enhanced signature editorRadek Doulik2002-06-061-7/+8
| | | | svn path=/trunk/; revision=17132
* use gtk string instead of utf8 oneRadek Doulik2002-06-061-2/+3
| | | | | | | | | 2002-06-05 Radek Doulik <rodo@ximian.com> * mail-composer-prefs.c (sig_fill_clist): use gtk string instead of utf8 one svn path=/trunk/; revision=17121
* signature editor reworked, WIPRadek Doulik2002-06-051-163/+5
| | | | svn path=/trunk/; revision=17117
* moved spell checking options to separate page, updated UI by Anna's designRadek Doulik2002-05-301-14/+118
| | | | | | | | | | | | | 2002-05-29 Radek Doulik <rodo@ximian.com> * mail-composer-prefs.c: moved spell checking options to separate page, updated UI by Anna's design * mail-accounts.c (mail_accounts_load): use _ instead of U_ for clist (mail_accounts_tab_construct): justify marks column to right svn path=/trunk/; revision=17041
* ops, revert array sizeRadek Doulik2002-05-251-1/+1
| | | | | | | | | 2002-05-24 Radek Doulik <rodo@ximian.com> * mail-composer-prefs.c (mail_composer_prefs_construct): ops, revert array size svn path=/trunk/; revision=17011
* (mail_composer_prefs_construct): add auto smiley check buttonRadek Doulik2002-05-241-1/+6
| | | | svn path=/trunk/; revision=16990
* be more careful about language_str{_orig}Radek Doulik2002-05-241-4/+12
| | | | | | | | 2002-05-23 Radek Doulik <rodo@ximian.com> * mail-composer-prefs.c: be more careful about language_str{_orig} svn path=/trunk/; revision=16987
* Use a new macro, STR_EQUAL, to tell if the 2 values are equal or notJeffrey Stedfast2002-05-221-1/+3
| | | | | | | | | | 2002-05-21 Jeffrey Stedfast <fejj@ximian.com> * mail-composer-prefs.c (spell_save_values): Use a new macro, STR_EQUAL, to tell if the 2 values are equal or not rather than using strcmp since one or both strings could be NULL. svn path=/trunk/; revision=16971
* Added #include "folder-info.h".Christopher James Lahey2002-05-151-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-05-14 Christopher James Lahey <clahey@ximian.com> * component-factory.c: Added #include "folder-info.h". * folder-browser-window.c (folder_browser_window_new), mail-account-editor.c (apply_changes), mail-account-gui.c (mail_account_gui_save), message-tag-editor.c: Removed some unused variables. * folder-info.c: Added #include "folder-info.h". Removed static declaration of evolution_folder_info_get_type. * folder-info.c (destroy), mail-callbacks.c (confirm_goto_next_folder, find_current_folder, find_next_folder_r, find_next_folder, do_evil_kludgy_goto_next_folder_hack), mail-composer-prefs.c (sig_name_changed): Commented out these unused functions. * mail-config.c (add_new_storage): Removed this unused function. * mail-local.c (mlf_init): Fix the declaration of this function to match the required signature. svn path=/trunk/; revision=16788
* implemented (c'n'p-ed and updated) spell checking settingsRadek Doulik2002-05-091-30/+251
| | | | | | | | | 2002-05-08 Radek Doulik <rodo@ximian.com> * mail-composer-prefs.c: implemented (c'n'p-ed and updated) spell checking settings svn path=/trunk/; revision=16728
* Update the code to actually work. (sig_new_html): Same.Jeffrey Stedfast2002-05-021-8/+11
| | | | | | | | | | | | | 2002-05-01 Jeffrey Stedfast <fejj@ximian.com> * mail-account-gui.c (sig_new_text): Update the code to actually work. (sig_new_html): Same. * mail-composer-prefs.c (mail_composer_prefs_new_signature): Allow 'prefs' to be NULL. svn path=/trunk/; revision=16659
* clean up propmanager initialization code.Larry Ewing2002-04-291-15/+9
| | | | | | | | | | | | 2002-04-29 Larry Ewing <lewing@ximian.com> * mail-composer-prefs.c (mail_composer_prefs_construct): clean up propmanager initialization code. * mail-preferences.c (mail_preferences_construct): small clean ups to propmanager code. svn path=/trunk/; revision=16628
* handle requests for the font manager control.Larry Ewing2002-04-291-3/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-04-29 Larry Ewing <lewing@ximian.com> * mail-config-factory.c (config_control_factory_cb): handle requests for the font manager control. * mail-config.glade: add fonts tabs and reorder composer options to match the new dialogs from anna. * GNOME_Evolution_Mail.oaf.in: add font manager control definition. * mail-composer-prefs.c (mail_composer_prefs_construct): hook to the gtkhtml propmanager. (mail_composer_prefs_apply): apply propmanager changes. (mail_composer_prefs_finalise): unref the propmanager. * mail-composer-prefs.h: add propmanager member. * mail-font-prefs.c: initialize gui properly. * mail-preferences.c (mail_preferences_construct): hook to gtkhtml's propmanager. (mail_preferences_apply): apply propmanager changes. (mail_preferences_finalise): unref the propmanager. * mail-preferences.h: add propmanager member. * Makefile.am (evolution_mail_SOURCES): add mail-font-prefs.[ch] to the build. svn path=/trunk/; revision=16627
* added a #include to fix a compile warningJeffrey Stedfast2002-04-131-0/+2
| | | | svn path=/trunk/; revision=16453
* Make it so that unchecking the "Enable Advanced Options" in the signatureJeffrey Stedfast2002-04-131-1/+22
| | | | | | | | | | 2002-04-12 Jeffrey Stedfast <fejj@ximian.com> * mail-composer-prefs.c (mail_composer_prefs_construct): Make it so that unchecking the "Enable Advanced Options" in the signature tab disables the advanced settings and vise versa. svn path=/trunk/; revision=16452
* Re-Implemented the signature editor stuff (mostly just copy/paste fromJeffrey Stedfast2002-04-021-4/+386
| | | | | | | | | | | | | 2002-04-01 Jeffrey Stedfast <fejj@ximian.com> * mail-composer-prefs.c (mail_composer_prefs_construct): Re-Implemented the signature editor stuff (mostly just copy/paste from Radeks original code). * mail-signature-editor.c (mail_signature_editor): Use the right oafiid for the html editor control. svn path=/trunk/; revision=16316
* Don't shift the r, g and b values here either.Jeffrey Stedfast2002-03-301-3/+3
| | | | | | | | | | | | 2002-03-29 Jeffrey Stedfast <fejj@ximian.com> * mail-preferences.c (colorpicker_get_color): Don't shift the r, g and b values here either. * mail-composer-prefs.c (colorpicker_get_color): Don't shift the r, g, b values. svn path=/trunk/; revision=16297
* Restore the labels & colours options from the grave.Jeffrey Stedfast2002-03-301-0/+1
| | | | | | | | | | 2002-03-29 Jeffrey Stedfast <fejj@ximian.com> * mail-preferences.c (mail_preferences_construct): Restore the labels & colours options from the grave. (mail_preferences_apply): Save these labels & colours options. svn path=/trunk/; revision=16296
* Same here.Jeffrey Stedfast2002-03-301-6/+20
| | | | | | | | | | | | 2002-03-29 Jeffrey Stedfast <fejj@ximian.com> * mail-composer-prefs.c (mail_composer_prefs_construct): Same here. * mail-preferences.c (mail_preferences_construct): Do some gtk hackery action so we can detect if a option menu has changed. svn path=/trunk/; revision=16290
* Use gtk_container_add() to put the toplevel in the parent widget, insteadEttore Perazzoli2002-03-281-2/+2
| | | | | | | | | | * mail-accounts.c (mail_accounts_tab_construct): Use gtk_container_add() to put the toplevel in the parent widget, instead of just gtk_widget_set_parent(). * mail-preferences.c (mail_preferences_construct): Likewise. * mail-composer-prefs.c (mail_composer_prefs_construct): Likewise. svn path=/trunk/; revision=16271
* Sync with yet-another-mail-config branch.Jeffrey Stedfast2002-03-271-0/+267
2002-03-26 Jeffrey Stedfast <fejj@ximian.com> Sync with yet-another-mail-config branch. * mail-composer-prefs.c: Updated to get the right widgets and whatnot. Also updated to tell the evolution-config-control that stuff has changed. * mail-preferences.c: Updated to get the right widgets and whatnot. Also updated to tell the evolution-config-control that stuff has changed. * mail-accounts.etspec: New file needed by mail-accounts.c svn path=/trunk/; revision=16257