aboutsummaryrefslogtreecommitdiffstats
path: root/composer/listener.c
Commit message (Collapse)AuthorAgeFilesLines
* signature editing fixesRadek Doulik2001-05-041-8/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * signature editing fixes 2001-05-03 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (get_signature_html): put signature in 100% width table (delete_old_signature): look only for first flow with signature == 1 (e_msg_composer_new): don't insert <BR> (e_msg_composer_new_with_sig_file): ditto (delete_old_signature): don't delete whole signature paragraph, but just it's content (delete_old_signature): if signature isn't found, insert new empty paragraph to end of document for new signature (e_msg_composer_set_sig_file): delete signature always (e_msg_composer_set_sig_file): don't place signature to the end of document, but place it where previous one was (if there wasn't then new one is appended to the document) 2001-05-02 Radek Doulik <rodo@ximian.com> * listener.c (impl_event): do automagic indenting only when in_signature_insert is FALSE * e-msg-composer.c (e_msg_composer_set_sig_file): do indent-zero before signature inserting (e_msg_composer_set_sig_file): use in_signature_insert flag 2001-05-01 Radek Doulik <rodo@ximian.com> * listener.c (impl_event): set signature to 0 in newly created empty paragraphs (clear_signature): new helper function svn path=/trunk/; revision=9658
* signature changingRadek Doulik2001-04-251-9/+8
| | | | | | | | | | | | | | | | | | | | | | | | | * signature changing 2001-04-25 Radek Doulik <rodo@ximian.com> * listener.c (impl_event): reflect object data type change * e-msg-composer.c (get_sig_file_content): renamed from get_signature (get_signature_html): new helper function, uses get_sig_file_content (set_editor_text): removed signature parameters (from_changed_cb): new signal handler, sets signature by identity change (delete_old_signature): new function, deletes old signature from the document (e_msg_composer_set_sig_file): new method, set's signature filename (e_msg_composer_mark_text_orig): removed (obsolete) * e-msg-composer-hdrs.c: added signal FROM_CHANGED svn path=/trunk/; revision=9557
* more auto-indentation magicRadek Doulik2001-04-181-0/+5
| | | | | | | | 2001-04-17 Radek Doulik <rodo@ximian.com> * listener.c (reply_indent): more auto-indentation magic svn path=/trunk/; revision=9432
* Replace #include <gtk/gtk.h> Replace #include <gnome.h> Remove #includeKjartan Maraas2001-03-301-1/+5
| | | | | | | | | | | | | | | | | | | 2001-03-29 Kjartan Maraas <kmaraas@gnome.org> * e-icon-list.c: Replace #include <gtk/gtk.h> * e-msg-composer-attachment-bar.c: Replace #include <gnome.h> * e-msg-composer-attachment-bar.h: Remove #include <gnome.h> * e-msg-composer-attachment.c: Remove #include <gnome.h> * e-msg-composer-attachment.h: Same here. * e-msg-composer-hdrs.c: Replace #include <gnome.h> and <bonobo.h> * e-msg-composer-hdrs.h: Replace #include <gnome.h> * e-msg-composer-file.c: #include <gtk/gtkmain.h>, <gtk/gtksignal.h> * e-msg-composer.c: Replace #include <bonobo.h>, <gnome.h> * e-msg-composer.h: Replace #include <gnome.h> and <bonobo.h> * evolution-composer.c: Replace #include <bonobo.h> * listener.c: Same here. svn path=/trunk/; revision=9023
* set default text colorRadek Doulik2001-03-211-0/+1
| | | | | | | | 2001-03-19 Radek Doulik <rodo@ximian.com> * listener.c (reply_indent): set default text color svn path=/trunk/; revision=8849
* reenabled magic indentationRadek Doulik2001-01-081-2/+2
| | | | svn path=/trunk/; revision=7300
* disable indenting for now, it crashes editorRadek Doulik2001-01-061-2/+2
| | | | | | | | | 2001-01-05 Radek Doulik <rodo@helixcode.com> * listener.c (impl_event): disable indenting for now, it crashes editor svn path=/trunk/; revision=7274
* added warnings (prepare_engine): updated toRadek Doulik2000-12-081-40/+40
| | | | | | | | | | | | 2000-12-07 Radek Doulik <rodo@helixcode.com> * e-msg-composer.c (prepare_engine): added warnings (prepare_engine): updated to IDL:GNOME/GtkHTML/Editor/Engine:1.0 * Makefile.am: renamed HTMLEditor* to Editor*, added Editor-common.c: $(HTML_EDITOR_GENERATED) rule svn path=/trunk/; revision=6838
* debug printfRadek Doulik2000-11-221-0/+3
| | | | svn path=/trunk/; revision=6650
* updates for HTMLEditor API changesRadek Doulik2000-11-161-31/+31
| | | | | | | | | | 2000-11-15 Radek Doulik <rodo@helixcode.com> * updates for HTMLEditor API changes * e-msg-composer.c: added #include <libgnomevfs/gnome-vfs.h> svn path=/trunk/; revision=6582
* rename command to runCommandRadek Doulik2000-11-141-5/+5
| | | | | | | | 2000-11-14 Radek Doulik <rodo@helixcode.com> * listener.c (reply_indent): rename command to runCommand svn path=/trunk/; revision=6568
* updated to HTMLEditor API changesRadek Doulik2000-11-141-4/+4
| | | | | | | | | | 2000-11-14 Radek Doulik <rodo@helixcode.com> * e-msg-composer.c: updated to HTMLEditor API changes * listener.c: updated to HTMLEditor API changes svn path=/trunk/; revision=6567
* extracted function, does reply indentation, use updated editor engine apiRadek Doulik2000-11-141-5/+19
| | | | | | | | | 2000-11-13 Radek Doulik <rodo@helixcode.com> * listener.c (reply_indent): extracted function, does reply indentation, use updated editor engine api svn path=/trunk/; revision=6560
* new function (destroy): use e_msg_composer_clear_inlined_table, destroyRadek Doulik2000-11-081-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-08 Radek Doulik <rodo@helixcode.com> * e-msg-composer.c (e_msg_composer_clear_inlined_table): new function (destroy): use e_msg_composer_clear_inlined_table, destroy inlined_images hash table * listener.c (resolve_image_url): don't add inlined images to attachement bar * e-msg-composer.c (add_inlined_images): new function, adds inlined images to multipart (add_inlined_image): helper function, adds one image to multipart (build_message): store HTML messages with inlined images to multipart/related * e-msg-composer-attachment-bar.c (add_from_file): removed content_id arg (e_msg_composer_attachment_bar_attach): likewise * e-msg-composer-attachment.c (e_msg_composer_attachment_new): removed content_id arg svn path=/trunk/; revision=6507
* use inline images hash tableRadek Doulik2000-11-041-13/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-04 Radek Doulik <rodo@helixcode.com> * listener.c (resolve_image_url): use inline images hash table * e-msg-composer.c (init): create inlined images hash table (destroy): destroy it (clear_inline_images): helper function, used from g_hash_table_foreach_remove to destroy one inline image record * e-msg-composer.h: added hash table with inlined images url -> cid info 2000-11-03 Radek Doulik <rodo@helixcode.com> * listener.c (impl_event): updated for API changed implemented image_url event (resolve_image_url): new helper function, attaches image to mail and returns new (resolved) url pointing to mime component * e-msg-composer-attachment.c (e_msg_composer_attachment_new): added conponent_id parameter * e-msg-composer-attachment-bar.c (e_msg_composer_attachment_bar_attach): added parameter content_id (add_from_file): likewise svn path=/trunk/; revision=6390
* better reply editing, uses new HTMLEditor::Engine,Listener interfacesRadek Doulik2000-11-011-0/+163
you need fresh CVS gtkhtml to try that 2000-10-31 Radek Doulik <rodo@helixcode.com> * e-msg-composer.c (prepare_engine): new function, tries prepare editor engine (mark_orig_text): marks original text in editor (set_editor_text): call mark_orig_text (create_composer): call prepare_engine * Makefile.am (IDL_GENERATED): added HTMLEditor generated files to IDL_GENERATED ($(IDL_GENERATED)): generate also files from HTMLEditor.idl (libcomposer_la_SOURCES): added listener.[ch] * e-msg-composer.h: added editor_engine and editor_listener to EMsgComposer * listener.[ch]: new files, implementation of HTMLEditor::Listener svn path=/trunk/; revision=6292