aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-signature-editor.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix compilation warnings in mail folder (#437935).Matthew Barnes2007-06-031-2/+2
| | | | svn path=/trunk/; revision=33628
* Use gstdio wrappers. Construct UI XML file pathname at run-time.Tor Lillqvist2005-12-181-7/+15
| | | | | | | | | 2005-12-13 Tor Lillqvist <tml@novell.com> * mail-signature-editor.c: Use gstdio wrappers. Construct UI XML file pathname at run-time. svn path=/trunk/; revision=30838
* - Enhances Signature-Preferences. - Added shortcuts for common operations.Sankar P2005-10-181-37/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | 2005-10-18 Sankar P <psankar@novell.com> - Enhances Signature-Preferences. - Added shortcuts for common operations. -- Delete on Del key -- Edit on Dbl.Click - Prevents adding duplicate and NULL signatures * mail-signature-editor.c (menu_file_save_cb) (mail_signature_editor) (sig_name_changed) (menu_file_save_close_cb) (delete_event_cb) (do_exit): Modified the functions for handling the above scenarios. * mail.error.xml: Added error strings for duplicate and NULL signatures. * em-composer-prefs.c (em_composer_prefs_construct) (sig_delete_cb) (sig_add_cb): Modified the functions so as to handle the keyboard accelarators and to grab focus to the list on deletion/insertion of signatures. * em-composer-prefs.c (signature_key_press)(sig_tree_event_cb): Added new functions to handle the keypress events on the signatures list tree. Fixes #269749 svn path=/trunk/; revision=30519
* move e-error into e-util/Not Zed2005-05-161-1/+1
| | | | | | | | 2005-05-16 Not Zed <NotZed@Ximian.com> * move e-error into e-util/ svn path=/trunk/; revision=29366
* Fix for 71733.Harry Lu2005-03-021-3/+7
| | | | | | | | | | | 2005-03-02 Harry Lu <harry.lu@sun.com> Fix for 71733. * mail-signature-editor.c: (mail_signature_editor): if is_new, let name_entry get the focus. svn path=/trunk/; revision=28933
* ** See bug #70018.Not Zed2005-01-121-3/+4
| | | | | | | | | | | 2005-01-12 Not Zed <NotZed@Ximian.com> ** See bug #70018. * mail-signature-editor.c (mail_signature_editor): use the right version for the gtkhtml editor control. svn path=/trunk/; revision=28363
* ugh, unlike camel exceptions, you can't pass NULL to CORBA calls.Not Zed2004-06-011-6/+6
| | | | | | | | | | 2004-06-01 Not Zed <NotZed@Ximian.com> * mail-signature-editor.c (load_signature): ugh, unlike camel exceptions, you can't pass NULL to CORBA calls. (mail_signature_editor): ditto. See bug #58815. svn path=/trunk/; revision=26136
* ** Changed error messages to use EError.Not Zed2004-04-281-21/+4
| | | | | | | | 2004-04-28 Not Zed <NotZed@Ximian.com> ** Changed error messages to use EError. svn path=/trunk/; revision=25653
* Updated for signature API changes.Jeffrey Stedfast2004-04-021-19/+21
| | | | | | | | | | | | | | | | | | | | | | 2004-04-01 Jeffrey Stedfast <fejj@ximian.com> * importers/netscape-importer.c (netscape_import_accounts): Updated for signature API changes. * mail-account-gui.c: Same. * mail-signature-editor.c: Same. * em-composer-prefs.c: Same. * mail-config.c: Rewrote the signature stuff to use ESignatureList instead. Much cleaner and less broken. * em-mailer-prefs.c (em_mailer_prefs_construct): Always make the Add/Remove Header buttons de-sensitised at the start. Fixes bug #56284. svn path=/trunk/; revision=25282
* Cleaned up header inclusions and added plenty of forward declarations.Not Zed2004-03-311-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-03-31 Not Zed <NotZed@Ximian.com> * *.[ch]: Cleaned up header inclusions and added plenty of forward declarations. Sped up complete re-compilation by upto 20%. ** See bug #55950. * em-utils.c (em_utils_in_addressbook): utility for checking if an email address is in the addressbook. I can't tell if it works 'cause it crashes eds. * em-format-html.c (emfh_gethttp): handle addressbook checking. 2004-03-30 Not Zed <NotZed@Ximian.com> * mail-config.h: clean up the headers and use some forward decl's instead. * em-format-html.c (em_format_html_set_load_http): change state to an int 'style' instead. * em-folder-view.c (emfv_setting_notify): set the format load http option to the config value directly. ** See bug #56147. * message-list.c (clear_info): set the node data to NULL when we unref its data. (ml_get_save_id): use a different test for the root node, and return NULL if we don't have any data on the node (because we're cleaing it). ** See bug #54962. * em-folder-tree.c (emft_popup_new_folder_response): put back the old hack to open the vfolder editor if you try to create a folder under vfolders. ** See bug #55940. * mail-autofilter.c (mail_filter_rename_uri): map the uri to an email uri before passing to filter code. (mail_filter_delete_uri): same here. svn path=/trunk/; revision=25261
* Merge new-ui-branch to the trunk.Ettore Perazzoli2003-10-221-2/+2
| | | | svn path=/trunk/; revision=22964
* set the default open size to something reasonable. For #43410.Not Zed2003-05-281-1/+1
| | | | | | | | | | | | | | 2003-05-27 Not Zed <NotZed@Ximian.com> * message-tag-editor.c (message_tag_editor_init): set the default open size to something reasonable. For #43410. * mail-signature-editor.c (d): turn off debugging. * mail-config.c (mail_config_signature_add): save new signature in signature list. For #43688. svn path=/trunk/; revision=21340
* set signature html flag even if it's newly signature, we don't set it inRadek Doulik2003-05-231-3/+3
| | | | | | | | | | 2003-05-21 Radek Doulik <rodo@ximian.com> * mail-signature-editor.c (menu_file_save_cb): set signature html flag even if it's newly signature, we don't set it in format_html_cb as sig could be "live" (when it's not new one) svn path=/trunk/; revision=21321
* [ fixes #21499 ]Rodney Dawes2003-04-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-171-7/+0
| | | | | | | | | 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
* Update for e_notice move (apply_changes): Pass a parent_window to e_noticeDan Winship2003-03-251-1/+1
| | | | | | | | | | | | | | | * 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
* (mail_signature_editor): Give the editorEttore Perazzoli2003-03-181-0/+1
| | | | | | the GDK_WINDOW_TYPE_HINT_DIALOG hint. [#38926] svn path=/trunk/; revision=20320
* Rewritten to do the same as the composer's build_message() code.Jeffrey Stedfast2003-03-131-34/+67
| | | | | | | | | 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-131-22/+33
| | | | | | | | 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
* Remove the yes/no buttons. Fixes bug #39382.Jeffrey Stedfast2003-03-111-1/+1
| | | | | | | | | 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
* All this snot just to fix bug #38925 and an attempt to fix bug #38926 (butJeffrey Stedfast2003-03-081-49/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Use 'filename' when creating the uri rather than using the uninitialisedJeffrey Stedfast2003-03-041-3/+3
| | | | | | | | | | 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
* Use g_signal_emit() rather than gtk_signal_emit(). (build_flat): SameJeffrey Stedfast2003-02-111-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Use EVOLUTION_GALVIEWSDIR.Ettore Perazzoli2003-01-231-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Make dialog Cancel/OK to match HIG.Ettore Perazzoli2003-01-151-1/+5
| | | | | | | | | | | | | | | | * 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
* ...And a whole bunch more build fixes.Jeffrey Stedfast2002-12-181-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* gnome_pixmap -> gtkimage. (construct): gtk_clist -> gtk_tree_view, setupNot Zed2002-12-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* fix warning message, outlook->mbox.Not Zed2002-11-191-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-11-19 Not Zed <NotZed@Ximian.com> * importers/evolution-mbox-importer.c (mail_importer_module_init): fix warning message, outlook->mbox. * importers/Makefile.am: fix serverdir to point to $libdir/bonobo/servers. * mail-callbacks.c (addrbook_sender): add type to bonobo_widget_set_property. * mail-vfolder.c (vfolder_editor_response): dont unref after destroy. * mail-session.c (pass_response): dont unref aftrer destroy. * mail-local.c (reconfigure_response): dont unref after destroy. * mail-display.c (launch_cb): dont unref after destroy. (launch_cb): " (drag_data_get_cb): " (html_button_press_event): add type to bonobo_widget::set_property * mail-config.c (mail_config_check_service): dont unref after destroy. * component-factory.c (send_receive_cb): dont unref after destroy. (request_quit): " * mail-signature-editor.c (mail_signature_editor): Use version 3.0 of gtkhtml editor interfaces. (do_exit): dont unref after destroy. (format_html_cb): Add type to bonobo_widget::set_property. svn path=/trunk/; revision=18837
* destroy->weak ref. (owner_set_cb): shell client changes.Not Zed2002-11-131-3/+2
| | | | | | | | | | | | | | | 2002-11-13 Not Zed <NotZed@Ximian.com> * component-factory.c (owner_set_cb): destroy->weak ref. (owner_set_cb): shell client changes. * mail-signature-editor.c (mail_signature_editor): bonobo api changes. * mail-local.c (save_metainfo): go back to using xmlSaveFile. * Makefile.am: Removed libevolution-importer from mail. svn path=/trunk/; revision=18736
* Commented out stuff that doesn't build yet. Also fixed idl build rule.Not Zed2002-11-121-64/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Mark a string for translation, fixes bug #31942. Thanks toJeffrey Stedfast2002-10-091-2/+2
| | | | | | | | | | | | | 2002-10-08 Jeffrey Stedfast <fejj@ximian.com> * mail-signature-editor.c (mail_signature_editor): Mark a string for translation, fixes bug #31942. Thanks to kmaraas@gnome.org for this patch. * mail-offline-handler.h: Don't #include config.h here. Fixes bug #31941. svn path=/trunk/; revision=18353
* It's a grand old string-review! Nitpicky and minor changes; details in the ↵Aaron Weber2002-10-011-1/+1
| | | | | | appropriate ChangeLog files. svn path=/trunk/; revision=18268
* Fix non-ANSI switch statement.Dan Winship2002-09-241-0/+1
| | | | | | | | | | | | | | | | * 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
* removed tip frameRadek Doulik2002-08-281-39/+1
| | | | | | | | 2002-08-27 Radek Doulik <rodo@ximian.com> * mail-signature-editor.c: removed tip frame svn path=/trunk/; revision=17877
* fix some typos, set label usize to 500, -2 (menu_help): added help link toRadek Doulik2002-06-081-2/+14
| | | | | | | | | | 2002-06-07 Radek Doulik <rodo@ximian.com> * mail-signature-editor.c (mail_signature_editor): fix some typos, set label usize to 500, -2 (menu_help): added help link to Help menu svn path=/trunk/; revision=17148
* enhanced signature editorRadek Doulik2002-06-061-8/+55
| | | | svn path=/trunk/; revision=17132
* Free the format string.Jeffrey Stedfast2002-04-171-0/+1
| | | | | | | | | | | | | | | 2002-04-16 Jeffrey Stedfast <fejj@ximian.com> * mail-tools.c (mail_tool_destroy_xevolution): Free the format string. * mail-config.c (config_write_signature): Don't leak the path strings here. * mail-signature-editor.c (menu_file_save_cb): Free the dirname string. svn path=/trunk/; revision=16486
* Since bonobo doesn't seem to O_TRUNC the file stream before writing to it,Jeffrey Stedfast2002-04-091-26/+42
| | | | | | | | | | | | | 2002-04-08 Jeffrey Stedfast <fejj@ximian.com> * mail-signature-editor.c (menu_file_save_cb): Since bonobo doesn't seem to O_TRUNC the file stream before writing to it, write to a temp file first and then rename() it to the real filename. This also protects against losing data if the drive is full too. Also use a real mode, not 0, so that we can actually save/read the content ;-) svn path=/trunk/; revision=16392
* Re-Implemented the signature editor stuff (mostly just copy/paste fromJeffrey Stedfast2002-04-021-2/+29
| | | | | | | | | | | | | 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
* truncate stream before savingRadek Doulik2002-03-091-2/+3
| | | | | | | | | 2002-03-08 Radek Doulik <rodo@ximian.com> * mail-signature-editor.c (menu_file_save_cb): truncate stream before saving svn path=/trunk/; revision=15997
* new functionRadek Doulik2002-03-091-3/+27
| | | | | | | | | | | | | 2002-03-08 Radek Doulik <rodo@ximian.com> * mail-config.c (mail_config_signature_set_html): new function * mail-accounts.c (sig_event_client): watch for HTML changed event * mail-signature-editor.c: added HTML check menu item to Format menu svn path=/trunk/; revision=15996
* handle name changed event (sig_load_preview): don't run script before eachRadek Doulik2002-03-091-1/+22
| | | | | | | | | | | | | | 2002-03-08 Radek Doulik <rodo@ximian.com> * mail-accounts.c (sig_event_client): handle name changed event (sig_load_preview): don't run script before each reload (sig_script_activate): run script only if script entry is activated * mail-signature-editor.c (mail_signature_editor): added signature name entry svn path=/trunk/; revision=15989
* notify accounts dialog about signature content changeRadek Doulik2002-03-081-15/+13
| | | | | | | | | | | | 2002-03-07 Radek Doulik <rodo@ximian.com> * mail-signature-editor.c: notify accounts dialog about signature content change * mail-accounts.c (run_script): run script only if file regular file exists and has x flag svn path=/trunk/; revision=15979
* set initial focus to editor (do_exit): use hasUndo to avoid questionRadek Doulik2002-03-081-4/+15
| | | | | | | | | | | 2002-03-07 Radek Doulik <rodo@ximian.com> * mail-signature-editor.c (mail_signature_editor): set initial focus to editor (do_exit): use hasUndo to avoid question dialog when content is unchanged svn path=/trunk/; revision=15970
* merge new signature handlingRadek Doulik2002-03-071-0/+276
svn path=/trunk/; revision=15960