aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-signature-editor.c
Commit message (Collapse)AuthorAgeFilesLines
* 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