aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer.c
Commit message (Collapse)AuthorAgeFilesLines
* Committing Rohini's patch for bug #324742.Srinivasa Ragavan2006-02-241-7/+29
| | | | svn path=/trunk/; revision=31576
* Use guint for 1 bit bitfield, use g_slist_delete_link instead ofKjartan Maraas2006-01-301-10/+6
| | | | | | | | | | | | | | | | | 2006-01-24 Kjartan Maraas <kmaraas@gnome.org> * e-msg-composer-hdrs.c: (account_removed_cb), (header_new_recipient): Use guint for 1 bit bitfield, use g_slist_delete_link instead of g_slist_remove_link+g_slist_free1, Remove some unused vars. * e-msg-composer.c: (build_message), (set_editor_text), (autosave_manager_query_load_orphans), (e_msg_composer_new_with_message): Remove unused vars and rename a local variable with a name clash. * evolution-composer.c: (evolution_composer_init): Remove unused var * listener.c: Remove stray semi colon. svn path=/trunk/; revision=31358
* 2006-1-15 Srinivasa Ragavan <sragavan@novell.comSrinivasa Ragavan2006-01-161-22/+64
| | | | | | | | | | | | ** Committing the patch for Johnny Jacob ** Fixes bug #323127 * e-msg-composer.c (create_composer) : Add a Expander for attachments bar. (show_attachments): Show/Hide attachment bar. (attachment_expander_activate_cb) : Event handler for attachment bar. svn path=/trunk/; revision=31184
* Committing Rohini's patch.Srinivasa Ragavan2006-01-101-3/+3
| | | | | | | | 2006-01-10 Srinivasa Ragavan <sragavan@novell.com> * Committing Rohini's patch. svn path=/trunk/; revision=31113
* Include <gtk/gtk.h> instead of attempting to hand-pick individual GTKTor Lillqvist2005-12-171-36/+38
| | | | | | | | | | | | | 2005-12-17 Tor Lillqvist <tml@novell.com> * e-msg-composer.c: Include <gtk/gtk.h> instead of attempting to hand-pick individual GTK headers. Use gstdio wrappers. Use GDir instead of dirent. Use g_mkstemp() instead of mkstemp(). Construct xml file names at run-time. (autosave_manager_unregister): Close file before unlinking so we don't leave stray autosave files laying around on Win32. svn path=/trunk/; revision=30819
* Add support for setting priority of a message.Parthasarathi Susarla2005-12-071-0/+65
| | | | | | | | | | | | | | 2005-12-07 Parthasarathi Susarla <sparthasarathi@novell.com> * e-msg-composer.[ch]: (build_message): (menu_insert_priority_cb): (setup_ui): (e_msg_composer_get_priority): (e_msg_composer_set_priority): Add support for setting priority of a message. svn path=/trunk/; revision=30734
* ** See bug #322863 Check if the account indeed exists beforeParthasarathi Susarla2005-12-051-2/+4
| | | | | | | | | | | | | 2005-12-05 Parthasarathi Susarla <sparthasarathi@novell.com> ** See bug #322863 * e-msg-composer.c: (e_msg_composer_new_with_message): Check if the account indeed exists before freeing/duping it. The account would typically not exist, when redirecting mails originated from other accounts which are not configured in ones machine. svn path=/trunk/; revision=30718
* use composer->priv->charset instead of p->charset. This fixes a crashParthasarathi Susarla2005-10-221-3/+2
| | | | | | | | | | 2005-10-22 Parthasarathi Susarla <sparthasarathi@novell.com> * e-msg-composer.c: (get_file_content): use composer->priv->charset instead of p->charset. This fixes a crash svn path=/trunk/; revision=30554
* Little oepsPhilip Van Hoof2005-10-191-10/+0
| | | | svn path=/trunk/; revision=30534
* Little oepsPhilip Van Hoof2005-10-191-17/+1
| | | | svn path=/trunk/; revision=30533
* composer/e-msg-composer-select-file.c, composer/e-msg-composer.c,Philip Van Hoof2005-10-191-580/+1042
| | | | | | | | | | | | 2005-10-19 Philip Van Hoof <pvanhoof@gnome.org> composer/e-msg-composer-select-file.c, composer/e-msg-composer.c, composer/e-msg-composer.h, composer/evolution-composer.c, composer/listener.c, mail/em-composer-utils.c, plugins/mailing-list-actions/mailing-list-actions.c: data hiding svn path=/trunk/; revision=30532
* ** fixes bug #316937Srinivasa Ragavan2005-10-041-0/+2
| | | | | | | | | | | 2005-10-04 Srinivasa Ragavan <sragavan@novell.com> ** fixes bug #316937 * e-msg-composer.c (handle_mailto): Shows the attachments when added via a mailto: url.a svn path=/trunk/; revision=30485
* ** See bug 317337Parthasarathi Susarla2005-09-291-0/+2
| | | | | | | | | | | | 2005-09-29 Parthasarathi Susarla <sparthasarathi@novell.com> ** See bug 317337 * e-msg-composer.c: (e_msg_composer_new_with_message): Set the proper account name in account_name, so that the from header is set properly. svn path=/trunk/; revision=30419
* Show the bar depending on the number of attachments.Srinivasa Ragavan2005-08-241-3/+4
| | | | | | | | | | | | | | 2005-08-22 Srinivasa Ragavan <sragavan@novell.com> * e-msg-composer.c (drop_action): Show the bar depending on the number of attachments. * e-msg-composer-select-file.c (select_attach_response): Show the bar depending on the number of attachments. ** Fixes the bug #313083 svn path=/trunk/; revision=30233
* only define skip_content: if it is used. (menu_file_add_attachment_cb):Not Zed2005-08-241-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | 2005-08-23 Not Zed <NotZed@Ximian.com> * e-msg-composer.c (build_message): only define skip_content: if it is used. (menu_file_add_attachment_cb): fixed the warning. Boy, what on earth is this thing doing! (add_to_bar): fix signature to match code. (emcab_add): more warning fixes for bizarre functions. (emcab_popup_position): more casting crap * e-msg-composer-hdrs.c (addressbook_dialog_response): Remove unused. (account_can_send): make this static, and define before first use. : include missing e-name-selector-entry header. (create_headers): fix casts/style (e_msg_composer_hdrs_set_to, e_msg_composer_hdrs_set_cc) (e_msg_composer_hdrs_set_bcc, e_msg_composer_hdrs_get_to) (e_msg_composer_hdrs_get_cc, e_msg_composer_hdrs_get_bcc): remove unused str. lazy addressbook hackers! svn path=/trunk/; revision=30218
* Added Shortcut for Save Draft (Ctrl+Shift+s) and a toolbar button for theSrinivasa Ragavan2005-07-251-0/+1
| | | | | | | | | | 2005-07-25 Srinivasa Ragavan <sragavan@novell.com> * e-message-composer.c: Added Shortcut for Save Draft (Ctrl+Shift+s) and a toolbar button for the same. Fixes #219242. Commited Devasish patch. svn path=/trunk/; revision=29872
* Don't leak the file name here.Kjartan Maraas2005-07-131-1/+1
| | | | | | | | | 2005-07-13 Kjartan Maraas <kmaraas@gnome.org> * e-msg-composer-select-file.c: (select_attach_response): Don't leak the file name here. svn path=/trunk/; revision=29757
* Removed em-attachment* from the build. Remains in the CVS, just incase toSrinivasa Ragavan2005-07-111-34/+192
| | | | | | | | | | | | | | | | | 2005-07-11 Srinivasa Ragavan <sragavan@novell.com> * Makefile.am: Removed em-attachment* from the build. Remains in the CVS, just incase to revert in case of issues. Should go away after 2.3.5. * e-msg-composer.c: (add_inlined_images) (build_message) (menu_file_close_cb) (setup_ui) (attach_message) (drop_action) (e_msg_composer_unrealize) (create_composer) (handle_mailto) (e_msg_composer_add_header) Changed the code to use e_attachment_* from em_attachment* * e-msg-composer.h: Added removed old header includes svn path=/trunk/; revision=29716
* Added widgets in INCLUDES.Kaushal Kumar2005-06-231-2/+2
| | | | | | | | | | | | 2005-06-23 Kaushal Kumar <kakumar@novell.com> * e-util/Makefile.am, widgets/e-timezone-dialog/Makefile.am, addressbook/gui/search/Makefile.am, plugins/groupwise-features/Makefile.am: Added widgets in INCLUDES. Updated the include paths to use misc instead of widgets/misc. svn path=/trunk/; revision=29574
* Retired GAL from Head. The relevant files have moved inside evolution.Kaushal Kumar2005-06-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-06-17 Kaushal Kumar <kakumar@novell.com> * Retired GAL from Head. The relevant files have moved inside evolution. Thanks to JP Rosevear for performing the cvs surgery. The files have been moved in the following order. evolution/e-util <- gal/gal/util evolution/a11y <- gal/gal/a11y evolution/a11y/e-table <- gal/gal/a11y/e-table evolution/a11y/e-text <- gal/gal/a11y/e-text evolution/widgets/table <- gal/gal/e-table evolution/widgets/text <- gal/gal/e-text evolution/widgets/misc <- gal/gal/widgets evolution/widgets/misc/pixmaps <- gal/gal/widgets/pixmaps evolution/widgets/menus <- gal/gal/menus Following is the summary of changes done to fix the build:- - New files added to cvs repository, - a11y/e-table/Makefile.am - a11y/e-text/Makefile.am - widgets/table/Makefile.am - widgets/text/Makefile.am - widgets/misc/pixmaps/Makefile.am - iconv-detect.h - iconv-detect.c - Updated configure.in. - Updated all the relevant Makefile.am files. - Updated the include paths to replace all gal references. - Updated the marshal list to suit gal files requirements. svn path=/trunk/; revision=29522
* Fixed to show the attachment bar, when a message is forwardedSrinivasa Ragavan2005-06-031-0/+3
| | | | | | | | | 2005-06-03 Srinivasa Ragavan <sragavan@novell.com> * e-msg-composer.c (e_msg_composer_attach): Fixed to show the attachment bar, when a message is forwarded svn path=/trunk/; revision=29453
* Show attachment bar when attachments are added e-msg-composer.cSrinivasa Ragavan2005-06-031-8/+28
| | | | | | | | | | | | | | 2005-06-03 Srinivasa Ragavan <sragavan@novell.com> * e-msg-composer-select-file.c (select_attach_response): Show attachment bar when attachments are added e-msg-composer.c (attachment_bar_changed_cb), (drop_action), (drag_data_received), (create_composer): Added support to DnD targets to the composer GtkHTML window. Also show the attachment bar when there are attachments and hide when all attachments are removed. svn path=/trunk/; revision=29451
* Added attachment of remote URL. The dnd of url, downloads the files andSrininvasa Ragavan2005-05-231-4/+22
| | | | | | | | | | | 2005-05-23 Srininvasa Ragavan <sragavan@novell.com> * e-msg-composer-attachment-bar.c, e-msg-composer-attachment-bar.h, e-msg-composer-attachment.c, e-msg-composer-attachment.h, e-msg-composer.c, e-msg-composer.h, mail-composer.error.xml : Added attachment of remote URL. The dnd of url, downloads the files and attaches to the mail. svn path=/trunk/; revision=29399
* composer/e-message-composer.c calendar/gui/dialogs/comp-editor.cSrinivasa Ragavan2005-05-161-83/+9
| | | | | | | | | | | | 2005-05-16 Srinivasa Ragavan <sragavan@novell.com> * composer/e-message-composer.c * calendar/gui/dialogs/comp-editor.c * ui/evolutoin-message-composer.xml Removed the expander for the attachment bar and made visible always. svn path=/trunk/; revision=29373
* moved e-error to e-util.Not Zed2005-05-161-1/+1
| | | | | | | | 2005-05-16 Not Zed <NotZed@Ximian.com> * moved e-error to e-util. svn path=/trunk/; revision=29365
* put back e_msg_composer_set_enable_autosave which was removed by mistakeRadek Doulik2005-05-061-0/+8
| | | | svn path=/trunk/; revision=29306
* removed old unused function which was using low level gtkhtml APIsRadek Doulik2005-05-051-71/+0
| | | | | | | | | 2005-05-05 Radek Doulik <rodo@site> * e-msg-composer.c (e_msg_composer_ignore): removed old unused function which was using low level gtkhtml APIs svn path=/trunk/; revision=29273
* block gtkhtml's selection so that we don't set primary X selectionRadek Doulik2005-04-081-0/+2
| | | | | | | | | | | 2005-04-06 Radek Doulik <rodo@novell.com> * e-msg-composer.c (delete_old_signature): block gtkhtml's selection so that we don't set primary X selection Fixes #36972 svn path=/trunk/; revision=29192
* implement read-receipt functionality.ERDI Gergo2005-04-081-1/+73
| | | | | | | | 2005-04-05 ERDI Gergo <cactus@cactus.rulez.org> * e-msg-composer.c: implement read-receipt functionality. svn path=/trunk/; revision=29183
* Set up c/c/p for To: Cc: Bcc: and Post To: entries too.Hans Petter Jansson2005-03-161-0/+16
| | | | | | | | | 2005-03-15 Hans Petter Jansson <hpj@novell.com> * e-msg-composer.c (setup_cut_copy_paste): Set up c/c/p for To: Cc: Bcc: and Post To: entries too. svn path=/trunk/; revision=29027
* ** See bug #66592Not Zed2005-03-041-11/+23
| | | | | | | | | | | | | | 2005-03-03 Not Zed <NotZed@Ximian.com> ** See bug #66592 * e-msg-composer.c (e_msg_composer_get_message_draft): set the uid for the x-evolution-account, not the account name, which can change. (e_msg_composer_new_with_message): find the account by uid first, fallback to name search. svn path=/trunk/; revision=28949
* Add a11y name for attachment button and barsHarry Lu2005-02-161-0/+1
| | | | | | | | | | | | 2005-02-16 Harry Lu <harry.lu@sun.com> Add a11y name for attachment button and bars * e-msg-composer-attachment-bar.c: (e_msg_composer_attachment_bar_new): * e-msg-composer.c: (create_composer): svn path=/trunk/; revision=28802
* ** See bug #66126.Not Zed2005-02-101-39/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-02-10 Not Zed <NotZed@Ximian.com> ** See bug #66126. * e-msg-composer-attachment-bar.c (destroy): destroy async file requesters. (add_from_user_response, add_from_user): use async file requesters. * e-msg-composer.c (save): don't fallback to saveas if the filename is null. (saveas, saveas_response): new functions for async file requesters. (menu_file_save_cb): call saveas if we have no filename. (menu_file_save_as_cb): call saveas. (menu_file_open_cb, file_open_response): change for async file loading (which doesn't appear to be used anymore). (destroy): destroy async requesters. * e-msg-composer-select-file.c (get_selector): make it no longer modal, no longer show the window. (select_file_response, e_msg_composer_select_file): make it async. (select_attach_response, e_msg_composer_select_file_attachments): same. svn path=/trunk/; revision=28760
* initialise composer before using it. sigh.Not Zed2005-01-121-3/+1
| | | | | | | | | 2005-01-12 Not Zed <NotZed@Ximian.com> * e-msg-composer.c (destroy): initialise composer before using it. sigh. svn path=/trunk/; revision=28362
* turn off debug, setup g private instance data structure. (setup_ui):Not Zed2005-01-051-3/+38
| | | | | | | | | | | | 2005-01-05 Not Zed <NotZed@Ximian.com> * e-msg-composer.c (d): turn off debug, setup g private instance data structure. (setup_ui): activate the composer plugin menu. (destroy): clean up the composer plugin menu. (class_init, init): init private instance data & plugin menu. svn path=/trunk/; revision=28243
* kill warnings (map_default_cb): the to entry widget is now just a gtkJP Rosevear2004-12-241-13/+6
| | | | | | | | | | 2004-12-24 JP Rosevear <jpr@novell.com> * e-msg-composer.c (setup_signatures_menu): kill warnings (map_default_cb): the to entry widget is now just a gtk entry at its core, so check for text that way svn path=/trunk/; revision=28201
* svn path=/trunk/; revision=28178Not Zed2004-12-221-1/+1
| | | | | | | | | | 2004-12-17 Not Zed <NotZed@Ximian.com> * e-msg-composer-attachment-bar.c (emcab_popup): * e-msg-composer.c (drag_data_received): svn path=/trunk/; revision=28178
* include camel-cipher-context.h so we build if nss isn't available.Not Zed2004-12-071-0/+1
| | | | | | | | | 2004-12-07 Not Zed <NotZed@Ximian.com> * e-msg-composer.c: include camel-cipher-context.h so we build if nss isn't available. svn path=/trunk/; revision=28080
* remove the old camel_multipart_encrypted api.Not Zed2004-12-031-8/+9
| | | | | | | | | 2004-11-15 Not Zed <NotZed@Ximian.com> * e-msg-composer.c (handle_multipart_encrypted): remove the old camel_multipart_encrypted api. svn path=/trunk/; revision=28052
* get image from icon factory directlyJP Rosevear2004-11-261-4/+1
| | | | | | | | | 2004-11-26 JP Rosevear <jpr@novell.com> * e-msg-composer.c (create_composer): get image from icon factory directly svn path=/trunk/; revision=28002
* fix the popup id.Not Zed2004-10-281-1/+1
| | | | | | | | | | 2004-10-28 Not Zed <NotZed@Ximian.com> * e-msg-composer.c (drag_data_received): fix the popup id. * e-msg-composer-attachment-bar.c (emcab_popup): added popup doco. svn path=/trunk/; revision=27750
* Close on Esc. (create_composer): Connect to the key-press-event signal.Jeffrey Stedfast2004-10-281-0/+17
| | | | | | | | | 2004-10-27 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (composer_key_pressed): Close on Esc. (create_composer): Connect to the key-press-event signal. svn path=/trunk/; revision=27743
* fix for bugzilla #44876mengjie yu2004-10-271-4/+6
| | | | | | | | | | | | 2004-10-26 mengjie yu <meng-jie.yu@sun.com> fix for bugzilla #44876 * e-msg-composer-hdrs.c (header_new_recipient), (create_headers): add access key for Reply_to, From,Subject,To,Cc,Bcc,Post_to; * e-msg-composer.c: (setup_signatures_menu):Add accesss key for Signature. svn path=/trunk/; revision=27735
* convert to org.gnome hook namesJP Rosevear2004-10-201-1/+1
| | | | | | | | | 2004-10-19 JP Rosevear <jpr@novell.com> * e-msg-composer.c, e-msg-composer-attachment-bar.c: convert to org.gnome hook names svn path=/trunk/; revision=27636
* g_strdup() the gpg/smime keys into the recipients list or else we end upJeffrey Stedfast2004-10-121-2/+2
| | | | | | | | | | 2004-10-08 Jeffrey Stedfast <fejj@novell.com> * e-msg-composer.c (build_message): g_strdup() the gpg/smime keys into the recipients list or else we end up free'ing them later when we shouldn't. Fixes bug #66703 svn path=/trunk/; revision=27537
* e-popup api changes.Not Zed2004-10-071-1/+1
| | | | | | | | | 2004-10-06 Not Zed <NotZed@Ximian.com> * e-msg-composer.c (drag_data_received): * e-msg-composer-attachment-bar.c (emcab_popup): e-popup api changes. svn path=/trunk/; revision=27486
* set a GTKHTML_API_VERSION variableJP Rosevear2004-10-011-1/+1
| | | | | | | | | | | | | 2004-10-01 JP Rosevear <jpr@novell.com> * configure.in: set a GTKHTML_API_VERSION variable 2004-10-01 JP Rosevear <jpr@novell.com> * e-msg-composer.c: uses GTKHTML_API_VERSION for the bonobo server look up svn path=/trunk/; revision=27442
* enable ask drop action and hook onto drag motion. (drag_motion):Not Zed2004-10-011-10/+159
| | | | | | | | | | | | | | 2004-10-01 Not Zed <NotZed@Ximian.com> * e-msg-composer.c (create_composer): enable ask drop action and hook onto drag motion. (drag_motion): implement. (drop_action): do the work here now. (drag_data_received): popup a menu if the action is ask. (drop_popup_copy, drop_popup_move, drop_popup_cancel): (drop_popup_free): Popup callbacks. svn path=/trunk/; revision=27441
* Use non-deprecated functions.Kjartan Maraas2004-09-301-3/+3
| | | | | | | | | | 2004-09-30 Kjartan Maraas <kmaraas@gnome.org> * e-msg-composer.c: (autosave_manager_start), (autosave_manager_stop), (create_composer): Use non-deprecated functions. svn path=/trunk/; revision=27436
* handle 'attachment' as well, as per Mozilla's mangling, and the newMichael Meeks2004-09-201-2/+3
| | | | | | | | | | | 2004-08-17 Michael Meeks <michael@ximian.com> * e-msg-composer.c (handle_mailto): handle 'attachment' as well, as per Mozilla's mangling, and the new desktop-launch spec. [ this was approved months ago, but somehow never got committed ] ** See bug #65592 svn path=/trunk/; revision=27309
* Merged notzed-eplugin-2-branch to head.Michael Zucci2004-09-201-0/+1
| | | | svn path=/trunk/; revision=27300
* set paragraph style to normal to avoid signature landing in PRE paragraphRadek Doulik2004-08-141-0/+1
| | | | | | | | | 2004-08-13 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (e_msg_composer_show_sig_file): set paragraph style to normal to avoid signature landing in PRE paragraph svn path=/trunk/; revision=26919
* Optionally use GtkFileChooser if compiled against Gtk+ >= 2.4.0.Carlos Garnacho Parro2004-08-131-2/+2
| | | | | | | | | | | | | 2004-07-29 Carlos Garnacho Parro <carlosg@gnome.org> * e-msg-composer-select-file.[ch]: Optionally use GtkFileChooser if compiled against Gtk+ >= 2.4.0. (e_msg_composer_select_file): added save_mode parameter * e-msg-composer.c: use the modified e_msg_composer_select_file() function svn path=/trunk/; revision=26892
* Fixes for api changes in mail/ for 61940.Not Zed2004-07-291-5/+5
| | | | | | | | 2004-07-28 Not Zed <NotZed@Ximian.com> * e-msg-composer.c: Fixes for api changes in mail/ for 61940. svn path=/trunk/; revision=26761
* removed unused static variable listener_vepvRadek Doulik2004-07-281-15/+42
| | | | | | | | | | | | | 2004-07-23 Radek Doulik <rodo@ximian.com> * listener.c: removed unused static variable listener_vepv * added len parameter to set_editor_text, e_msg_composer_set_body_text, e_msg_composer_set_pending_body. it allows us to send whole buffer (even if it contains \0 in the middle) to gtkhtml editor. svn path=/trunk/; revision=26746
* removed body content + signature html concatenating and callRadek Doulik2004-07-231-22/+4
| | | | | | | | | | | | 2004-07-22 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (set_editor_text): removed body content + signature html concatenating and call e_msg_composer_show_sig_file instead Fixes #59490 svn path=/trunk/; revision=26705
* ** Fix for #60387.Not Zed2004-06-181-42/+116
| | | | | | | | | | | | | | | | | 2004-06-18 Not Zed <NotZed@Ximian.com> ** Fix for #60387. * mail-composer-errors.xml: added an error for failing to retrieve to-be-attached messages. * e-msg-composer.c (message_rfc822_dnd): remove this, we only want to treat it as a real rfc822 message, not a berkeley mailbox. (drag_data_received): handle the rfc822 type here, and also the new x-uid-list type. (attach_message): helper set a description on attached messages. svn path=/trunk/; revision=26411
* clean up the code slightly.Not Zed2004-06-171-27/+28
| | | | | | | | | | | | | | | | | | | | | | 2004-06-16 Not Zed <NotZed@Ximian.com> * e-msg-composer.c (e_msg_composer_guess_mime_type): clean up the code slightly. * evolution-composer.c (impl_Composer_set_headers): Fix all the strn?casecmp calls. * e-msg-composer.c (from_changed_cb, drag_data_received) (is_special_header, e_msg_composer_new_with_message) (handle_mailto, e_msg_composer_new_from_url): as above. * e-msg-composer-attachment.c (e_msg_composer_attachment_new): as above. * e-msg-composer.c (drag_data_received): handle comments in uri lists. svn path=/trunk/; revision=26378
* Don't connect to the key_pressed_event. (composer_key_pressed): Removed.Jeffrey Stedfast2004-06-151-16/+0
| | | | | | | | | | | 2004-06-14 Jeffrey Stedfast <fejj@novell.com> * e-msg-composer.c (create_composer): Don't connect to the key_pressed_event. (composer_key_pressed): Removed. We don't want to close the compose on Escape. To do so would violate the HIG. svn path=/trunk/; revision=26339
* fix the name of "stock_save-as" everywhereDan Winship2004-06-071-1/+1
| | | | svn path=/trunk/; revision=26237
* Use e_error_run() instead of the e_activation_error_dialog() stuff that noJeffrey Stedfast2004-06-051-18/+4
| | | | | | | | | 2004-06-04 Jeffrey Stedfast <fejj@novell.com> * e-msg-composer.c (create_composer): Use e_error_run() instead of the e_activation_error_dialog() stuff that no longer exists. svn path=/trunk/; revision=26215
* always insert new paragraph for signatureRadek Doulik2004-06-031-2/+1
| | | | | | | | | | | 2004-06-03 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (e_msg_composer_show_sig_file): always insert new paragraph for signature Fixes #37601 svn path=/trunk/; revision=26170
* use e-icon-factory sizes.Not Zed2004-05-251-6/+6
| | | | | | | | 2004-05-25 Not Zed <NotZed@Ximian.com> * e-msg-composer.c (pixcache[]): use e-icon-factory sizes. svn path=/trunk/; revision=26071
* Use CAMEL_EXCEPTION_SYSTEM instead of '1', also don't useJeffrey Stedfast2004-05-121-3/+5
| | | | | | | | | | | | 2004-05-11 Jeffrey Stedfast <fejj@novell.com> * e-msg-composer.c (build_message): Use CAMEL_EXCEPTION_SYSTEM instead of '1', also don't use camel_exception_setv() if we aren't using the printf-style arguments. Just use camel_exception_set() - safer anyway, since then we don't have to worry about translated strings containing printf-style formatters that could break stuff. svn path=/trunk/; revision=25861
* Fixing parts of #53466.Enver ALTIN2004-05-101-2/+2
| | | | | | | | 2004-05-08 Enver ALTIN <enver.altin@frontsite.com.tr> * e-msg-composer.c: Fixing parts of #53466. svn path=/trunk/; revision=25829
* header cleanups.Not Zed2004-05-031-0/+8
| | | | | | | | 2004-05-03 Not Zed <NotZed@Ximian.com> * e-msg-composer.c: header cleanups. svn path=/trunk/; revision=25743
* ** Changed error messages to EError.Not Zed2004-04-281-101/+34
| | | | | | | | 2004-04-28 Not Zed <NotZed@Ximian.com> ** Changed error messages to EError. svn path=/trunk/; revision=25652
* Only unlink the original autosave draft file if we are successful inJeffrey Stedfast2004-04-271-9/+7
| | | | | | | | | | 2004-04-26 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (autosave_load_draft): Only unlink the original autosave draft file if we are successful in saving a new copy, otherwise don't unlink the file. Fixes bug #57540. svn path=/trunk/; revision=25619
* Use the E_ICON_SIZE enums rather than specifying an absolute pixel size.Jeffrey Stedfast2004-04-201-2/+2
| | | | | | | | | 2004-04-19 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (create_composer): Use the E_ICON_SIZE enums rather than specifying an absolute pixel size. svn path=/trunk/; revision=25526
* Update the composer to use the icon theme via the EIconFactory object inMichael Terry2004-04-191-11/+15
| | | | | | | | | | 2004-04-19 Michael Terry <mike@mterry.name> * e-msg-composer-select-file.c: * e-msg-composer.c: Update the composer to use the icon theme via the EIconFactory object in e-util svn path=/trunk/; revision=25516
* Same idea here as with build_mesage(), don't convert th gconf charsetJeffrey Stedfast2004-04-161-38/+43
| | | | | | | | | | | | | | | | | | | | | | | | | 2004-04-15 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-attachment-bar.c (attach_to_multipart): Same idea here as with build_mesage(), don't convert th gconf charset setting to the iconv name before setting it on the mime part. * e-msg-composer.c (best_charset): Now returns a malloc'd string bufefr containing the charset that has NOT been converted to the iconv name. This is important in order to avoid using the iconv charset name which may or may not necessarily be the IANA blessed name. (composer_get_default_charset_setting): Changed to always return the actual value in the settings (eg. don't return the iconv name). (build_message): Updated for changes to best_charset(). Set the actual charset name as the charset param and then get the iconv_charset from that. Use iconv_charset everywhere else. (get_file_content): Updated for changes to get_default_charset_setting(). (setup_ui): Same. svn path=/trunk/; revision=25487
* To be on the safe side (even though the real bug behind bug #51924 can'tJeffrey Stedfast2004-04-141-3/+4
| | | | | | | | | | | 2004-04-13 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (get_file_content): To be on the safe side (even though the real bug behind bug #51924 can't happen here), protect against adding a NULL charset filter tot he filtered stream. svn path=/trunk/; revision=25442
* add missing debug wrapper back.Larry Ewing2004-04-131-1/+1
| | | | | | --Larry svn path=/trunk/; revision=25434
* accept text/calendar drops.Larry Ewing2004-04-131-2/+12
| | | | | | | | | 2004-04-13 Larry Ewing <lewing@ximian.com> * e-msg-composer.c (drag_data_received): accept text/calendar drops. svn path=/trunk/; revision=25433
* EABDestination -> EDestination. (e_msg_composer_hdrs_to_message_internal):Chris Toshok2004-04-101-45/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-04-09 Chris Toshok <toshok@ximian.com> * e-msg-composer-hdrs.c (set_recipients_from_destv): EABDestination -> EDestination. (e_msg_composer_hdrs_to_message_internal): same. (e_msg_composer_hdrs_set_to): same. (e_msg_composer_hdrs_set_cc): same. (e_msg_composer_hdrs_set_bcc): same. (e_msg_composer_hdrs_get_to): same. (e_msg_composer_hdrs_get_cc): same. (e_msg_composer_hdrs_get_bcc): same. (e_msg_composer_hdrs_get_recipients): same. * e-msg-composer-hdrs.h: convert prototypes such that EABDestination -> EDestination. * e-msg-composer.h: convert prototypes such that EABDestination -> EDestination. * e-msg-composer.c (destination_list_to_vector_sized): new function, ripped from EABDestination, as this code is the only consumer. (destination_list_to_vector): same. (update_auto_recipients): EABDestination -> EDestination. (e_msg_composer_new_with_message): same. (add_recipients): same. (handle_mailto): same. (e_msg_composer_set_headers): same. (e_msg_composer_get_recipients): same. (e_msg_composer_get_to): same. (e_msg_composer_get_cc): same. (e_msg_composer_get_bcc): same. * evolution-composer.c (corba_recipientlist_to_destv): EABDestination -> EDestination. (impl_Composer_set_headers): same. svn path=/trunk/; revision=25393
* Reversed the logic for setting the signature menu to "None" (only set itJeffrey Stedfast2004-04-081-28/+26
| | | | | | | | | | | | 2004-04-07 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (sig_select_item): Reversed the logic for setting the signature menu to "None" (only set it to "None" if a signature *isn't* set, doh!) (prepare_signatures_menu): Removed. Combined with setup_signature_menu(). svn path=/trunk/; revision=25355
* ops, saved it this timeRadek Doulik2004-04-071-3/+3
| | | | svn path=/trunk/; revision=25341
* (set_editor_text): added pad_signature parameter to tell if weRadek Doulik2004-04-071-6/+7
| | | | | | | want to pad signature with <BR> (used when creating new mail, in other cases we don't want to pad the signature) svn path=/trunk/; revision=25340
* added empty hbox so that we have 12pxs between account setting andRadek Doulik2004-04-071-1/+4
| | | | | | | | | | | 2004-04-06 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (prepare_signatures_menu): added empty hbox so that we have 12pxs between account setting and signature setting Fixes #42866 svn path=/trunk/; revision=25339
* Revert Radek's last change to fix bug #56381.Jeffrey Stedfast2004-04-031-1/+2
| | | | | | | | | 2004-04-02 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (set_editor_text): Revert Radek's last change to fix bug #56381. svn path=/trunk/; revision=25303
* dumb fixJeffrey Stedfast2004-04-021-3/+2
| | | | svn path=/trunk/; revision=25292
* Fixed some breakage I introduced in the changes below.Jeffrey Stedfast2004-04-021-2/+7
| | | | | | | | | 2004-04-01 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (get_signature_html): Fixed some breakage I introduced in the changes below. svn path=/trunk/; revision=25291
* simplify menu_item_set_label()Jeffrey Stedfast2004-04-021-10/+5
| | | | svn path=/trunk/; revision=25289
* Updated to use the new signature APIs. (signature_added): _()ify theJeffrey Stedfast2004-04-021-4/+26
| | | | | | | | | 2004-04-01 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c: Updated to use the new signature APIs. (signature_added): _()ify the "Autogenerated" signature name. svn path=/trunk/; revision=25287
* Updated to use the new signature APIs.Jeffrey Stedfast2004-04-021-144/+167
| | | | | | | | 2004-04-01 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c: Updated to use the new signature APIs. svn path=/trunk/; revision=25284
* Fixed missing headers now mail/* doesn't include gtk/*, camel/*, andNot Zed2004-03-311-0/+8
| | | | | | | | | 2004-03-31 Not Zed <NotZed@Ximian.com> * *.[ch]: Fixed missing headers now mail/* doesn't include gtk/*, camel/*, and gnome/* for you. svn path=/trunk/; revision=25259
* do not add <br> between text and signatureRadek Doulik2004-03-301-2/+1
| | | | | | | | | 2004-03-29 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (set_editor_text): do not add <br> between text and signature svn path=/trunk/; revision=25228
* do not set editor insensitive, use editable-off command insteadRadek Doulik2004-03-231-1/+6
| | | | | | | | | | | 2004-03-22 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (disable_editor): do not set editor insensitive, use editable-off command instead Fixes #55049 svn path=/trunk/; revision=25148
* If the subject is empty, use _("Untitled Message") as the subject instead.Jeffrey Stedfast2004-03-071-1/+1
| | | | | | | | | 2004-03-07 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (do_exit): If the subject is empty, use _("Untitled Message") as the subject instead. svn path=/trunk/; revision=24981
* Fixes bug #55202Jeffrey Stedfast2004-03-061-10/+7
| | | | | | | | | | | | | 2004-03-05 Jeffrey Stedfast <fejj@ximian.com> Fixes bug #55202 * e-msg-composer.c (add_recipients): No longer takes a decode argument (handle_mailto is the only function that calls it, and the decode value always has to be TRUE for mailto). (handle_mailto): Updated. svn path=/trunk/; revision=24975
* Add a <br> tag between the message text and the signature text (makes itJeffrey Stedfast2004-02-271-7/+9
| | | | | | | | | | 2004-02-26 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (set_editor_text): Add a <br> tag between the message text and the signature text (makes it nicer looking and also fixes bug #53747. svn path=/trunk/; revision=24897
* From www@reality.cz Tue Feb 17 11:52:51 2004REALiTY-ON-LINE2004-02-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | >From www_work@reality.cz Tue Feb 17 11: 53:15 2004 Received: from data2.centrum.cz ([62.84.131.152]:52704 "EHLO data2.centrum.cz") by mail4.centrum.cz with ESMTP id <S2624487AbUBQKwv>; Tue, 17 Feb 2004 11:52:51 +0100 Received: from reality.cz ([212.24.129.47]:8630 "EHLO reality.cz") by mail.centrum.cz with ESMTP id <S279448AbUBQKwS>; Tue, 17 Feb 2004 11:52:18 +0100 X-SpamDetected: 0 Received: by reality.cz (Postfix, from userid 502) id 073861AB2FF; Tue, 17 Feb 2004 11:52:16 +0100 (CET) From: "REALiTY-ON-LINE" <www@reality.cz> To: radek.doulik@centrum.cz Subject: ON-LINE: praha vychod MIME-Version: 1.0 Content-Type: text/html; charset=ISO-8859-1 Message-Id: <20040217105216.073861AB2FF@reality.cz> Date: Tue, 17 Feb 2004 11:52:16 +0100 (CET) Return-Path: <www_work@reality.cz> X-Orcpt: rfc822;radek.doulik@mail4.centrum.cz X-Evolution-Source: pop://radek.doulik@pop.centrum.cz/ <HTML> <HEAD> <TITLE>praha vychod</TITLE> </HEAD> <BODY BGCOLOR="CCFFFF"> <H3>Vypis novinek ON-LINE ze serveru Reality.CZ</H3> <HR> <A HREF="http://www.reality.cz/cgi/detailq?200-005280"><B>Prodej RD 2+1+puda Praha vychod - Drevcice</B></A><BR> <I>CENA:</I> <B>2.600.000 Kc (cena pro jednani)</B><BR> <I>TEL.:</I> <B>224 942 873 </B><BR> <A HREF="http://www.reality.cz/cgi/detailq?200-005280">http://www.reality.cz/cgi/detailq?200-005280</A> <HR> Zmeny v nastaveni sveho osobniho profilu muzete provadet na adrese: <A HREF="http://www.reality.cz/komunita/">http://www.reality.cz/komunita/</A> <HR> </BODY> </HTML> svn path=/trunk/; revision=24760
* removed debug printfRadek Doulik2004-02-131-1/+0
| | | | svn path=/trunk/; revision=24736
* get default composer size from gconf, hook to unrealize event and saveRadek Doulik2004-02-131-7/+21
| | | | | | | | | | 2004-02-13 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (create_composer): get default composer size from gconf, hook to unrealize event and save size to gconf (e_msg_composer_unmap): new handler, saves composer window size svn path=/trunk/; revision=24735
* use FORCE_SLOW_MIME_TYPE so gnome-vfs actually sniffs the file contentsChris Toshok2004-02-041-0/+1
| | | | | | | | | | 2004-02-03 Chris Toshok <toshok@ximian.com> * e-msg-composer.c (e_msg_composer_guess_mime_type): use FORCE_SLOW_MIME_TYPE so gnome-vfs actually sniffs the file contents before coming up with a mime type. svn path=/trunk/; revision=24594
* use g_ascii_strcasecmp rather than strcasecmp.Not Zed2004-02-021-11/+11
| | | | | | | | | | | | | | | | | | | 2004-02-02 Not Zed <NotZed@Ximian.com> * evolution-composer.c (impl_Composer_set_body): use g_ascii_strcasecmp rather than strcasecmp. ** See bug #53506, again. * e-msg-composer.c (set_editor_text): Add an argument to make adding the signature optional. Also fix a memleak with the sig content. (e_msg_composer_new_with_type, e_msg_composer_flush_pending_body) (handle_mailto, e_msg_composer_set_body_text) (e_msg_composer_set_body): Fixed callers for above change appropriately. svn path=/trunk/; revision=24562
* reverted radek's patch below, it was already fixed (#53176). Changed theNot Zed2004-01-291-1/+1
| | | | | | | | | | | | | | | | | | | | | 2004-01-29 Not Zed <NotZed@Ximian.com> * e-msg-composer.c (e_msg_composer_new_with_type): reverted radek's patch below, it was already fixed (#53176). Changed the init order though, set_editor_signature only sets the current one, it doen'st insert it. ** See bug #53506. * e-msg-composer-hdrs.c (e_msg_composer_hdrs_set_post_to_list): use a GString to build the result. (e_msg_composer_hdrs_set_post_to_base): same here. (e_msg_composer_hdrs_set_post_to_base): dont bother copying the post_to string. (e_msg_composer_hdrs_get_post_to): change the relative-url test to ":/" rather than "://", so that mbox url's work. svn path=/trunk/; revision=24512
* set body text after setting composer's signature, so that signature isRadek Doulik2004-01-281-1/+1
| | | | | | | | | | | 2004-01-27 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (e_msg_composer_new_with_type): set body text after setting composer's signature, so that signature is shown Fixes #53367 svn path=/trunk/; revision=24492
* ** See Bug #53176, probably fixes others too.Not Zed2004-01-281-11/+21
| | | | | | | | | | | | | 2004-01-28 Not Zed <NotZed@Ximian.com> ** See Bug #53176, probably fixes others too. * e-msg-composer.c (set_editor_text): When we set the text, always add the signature implictly. Means we don't have to set it manually and break changing the file, or hit any races. (e_msg_composer_set_body_text): dont call show_sig_file here. svn path=/trunk/; revision=24490
* ** See Bug #20017.Not Zed2004-01-141-25/+59
| | | | | | | | | | | | | | | | | | | | | | | 2004-01-14 Not Zed <NotZed@Ximian.com> ** See Bug #20017. * e-msg-composer.c (create_composer): set the composer to unchanged after all setup, some setup (from_changed_cb) will mark it changed. (create_composer): remove a warning. ** See Bug #52794. (e_msg_composer_get_message_draft): save sign/encrypt settings to X-Evolution-Format header. (e_msg_composer_new_with_message): restore sign/encrypt settings from X-Evolution-Format header. (e_msg_composer_set_pgp_sign, e_msg_composer_set_pgp_encrypt) (e_msg_composer_set_smime_sign, e_msg_composer_set_smime_encrypt): Set composer changed if it did. svn path=/trunk/; revision=24211
* added "View To", "View Post To" menu items, made it possible to see bothMeilof Veeningen2004-01-131-40/+211
| | | | | | | | | | | | | | | | 2004-01-12 Meilof Veeningen <meilof@wanadoo.nl> * e-msg-composer.[ch]: added "View To", "View Post To" menu items, made it possible to see both at the same time, new e_msg_composer_new_with_type, only visibility info of headers if in the visible mask. * e-msg-composer.[ch]: replaced folder selection button by entry with selection button next to it, enabled multiple folder selection, made it possible to see both To and PostTo fields, disabled setting the "X-Evolution-PostTo" header. svn path=/trunk/; revision=24179
* Implemented #127527: the attachment bar is packed inside an EExpanderERDI Gergo2004-01-111-29/+82
| | | | | | | | | 2003-12-02 ERDI Gergo <cactus@cactus.rulez.org> * e-msg-composer.c: Implemented #127527: the attachment bar is packed inside an EExpander svn path=/trunk/; revision=24146
* s/unsaved files/unsaved messages/ as per bug #45407.Jeffrey Stedfast2004-01-101-1/+1
| | | | | | | | | 2004-01-09 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (autosave_manager_query_load_orphans): s/unsaved files/unsaved messages/ as per bug #45407. svn path=/trunk/; revision=24140
* add an assertion for no account set. Discovered from bug #50786.Not Zed2004-01-081-0/+3
| | | | | | | | | 2004-01-08 Not Zed <NotZed@Ximian.com> * e-msg-composer.c (set_editor_signature): add an assertion for no account set. Discovered from bug #50786. svn path=/trunk/; revision=24101
* Remove the 6-pixel border around the main window. That just looked ugly.Jeffrey Stedfast2004-01-081-1/+0
| | | | | | | | | 2004-01-07 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (create_composer): Remove the 6-pixel border around the main window. That just looked ugly. svn path=/trunk/; revision=24093
* autosave fixRadek Doulik2003-12-011-5/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-11 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (e_msg_composer_set_autosaved): new method to wrap autosaved flag setting (e_msg_composer_unset_autosaved): ditto (e_msg_composer_is_autosaved): new method, says if composer was autosaved only (autosave_save_draft): unset changed so that we don't autosave all the time when anything else than gtkhtml control changed 2003-11-06 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (autosave_save_draft): call gtkhtml's saved command to clean is-saved flag, set composer's autosaved flag (do_exit): complain if last save was just autosave (e_msg_composer_unset_changed): reset autosaved flag (save): reset autosaved flag * e-msg-composer.h: added autosaved flag, it tells whether last save was autosave or regular save, when changed flag is reset the autosaved one is reset too svn path=/trunk/; revision=23526
* switch from just checking SMIME_SUPPORTED to checking both HAVE_NSS andChris Toshok2003-11-271-2/+2
| | | | | | | | | 2003-11-26 Chris Toshok <toshok@ximian.com> * e-msg-composer.c (build_message): switch from just checking SMIME_SUPPORTED to checking both HAVE_NSS and SMIME_SUPPORTED. svn path=/trunk/; revision=23497
* changed to use ciphercontext directly to sign the message, noNot Zed2003-11-051-73/+29
| | | | | | | | | | 2003-11-03 Not Zed <NotZed@Ximian.com> * e-msg-composer.c (build_message): changed to use ciphercontext directly to sign the message, no multipart-signed usage. (build_message): do the same for multipart/encryption for gpg encrypting. svn path=/trunk/; revision=23188
* fix for e-account smime info changes. Also enforce having a signingNot Zed2003-10-311-16/+30
| | | | | | | | | | | | | 2003-10-31 Not Zed <NotZed@Ximian.com> * e-msg-composer.c (build_message): fix for e-account smime info changes. Also enforce having a signing certificate set in preferences before doing any signing. (from_changed_cb): handle smime sign/encrypt default for account (create_composer): force a from-changed when we start, to properly setup signing options. svn path=/trunk/; revision=23146
* Turn on SMIME_SUPPORTED. (build_message): move some of the security codeNot Zed2003-10-301-202/+182
| | | | | | | | | | 2003-10-30 Not Zed <NotZed@Ximian.com> * e-msg-composer.c: Turn on SMIME_SUPPORTED. (build_message): move some of the security code around, and fix up smime code. svn path=/trunk/; revision=23128
* Merge new-ui-branch into the trunk.Ettore Perazzoli2003-10-221-45/+45
| | | | svn path=/trunk/; revision=22966
* Don't blindly claim that the file exists and then ask the user if he/sheJeffrey Stedfast2003-10-071-24/+35
| | | | | | | | | | | | | | | 2003-09-26 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (save): Don't blindly claim that the file exists and then ask the user if he/she would like to overwrite it. First check that the file even exists, if not - then we've got a different error. Fixes bug #48759. * e-msg-composer-select-file.c (e_msg_composer_select_file): Use the proper selector title, otherwise it says "Attach files" when we are trying to save a message. svn path=/trunk/; revision=22798
* Same as below.Jeffrey Stedfast2003-09-251-1/+7
| | | | | | | | | | | | | 2003-09-24 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-attachment-bar.c (get_default_charset): Same as below. * e-msg-composer.c (composer_get_default_charset_setting): Handle empty-string as the charset value gotten from gconf as this can happen. Partial fix for bug #47638. svn path=/trunk/; revision=22692
* fixed a commentJeffrey Stedfast2003-09-201-1/+1
| | | | svn path=/trunk/; revision=22630
* updated for CamelTransferEncoding namespace changesJeffrey Stedfast2003-09-191-11/+11
| | | | | | | | | | | | 2003-09-18 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-attachment-bar.c: updated for CamelTransferEncoding namespace changes * e-msg-composer.c: updated for CamelTransferEncoding namespace changes svn path=/trunk/; revision=22616
* Updated for namespace changes in Camel.Jeffrey Stedfast2003-09-191-20/+20
| | | | | | | | | | 2003-09-18 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-attachment-bar.c: * e-msg-composer-attachment.c: * e-msg-composer.c: Updated for namespace changes in Camel. svn path=/trunk/; revision=22611
* ** Merge in mail-refactor-2-branchNot Zed2003-09-181-37/+11
| | | | | | | | 2003-09-17 Not Zed <NotZed@Ximian.com> ** Merge in mail-refactor-2-branch svn path=/trunk/; revision=22601
* Added an entry_uic field for a BonoboUIComponent for the non-controlFederico Mena Quintero2003-09-121-11/+42
| | | | | | | | | | | | | | | | | | | | | 2003-09-11 Federico Mena Quintero <federico@ximian.com> * e-msg-composer.h (EMsgComposer): Added an entry_uic field for a BonoboUIComponent for the non-control entries (e.g. the Subject line). * e-msg-composer.c (create_composer): Set autoactivate to true on the HTML control's BonoboControlFrame. (setup_ui): Create the composer->entry_uic. (destroy): Free the composer->entry_uic. (entry_verbs): New array of verbs for the non-control entries. Moved the Edit* verbs to here, as they should not be part of the main set. (composer_entry_focus_in_event_cb): Load evolution-composer-entries.xml here for the non-control entries' UI. (composer_entry_focus_out_event_cb): Remove the menu items. svn path=/trunk/; revision=22531
* Connect response signal to attachment properties dialog, fix bug #47950.Antonio Xu2003-08-291-3/+3
| | | | | | | | | | | | | | 2003-08-29 Antonio Xu <antonio.xu@sun.com> * e-msg-composer-attachment.c (): Connect response signal to attachment properties dialog, fix bug #47950. * Makefile.am (INCLUDES): add EVOLUTION_IMAGESDIR define * e-msg-composer.c (create_composer): use EVOLUTION_IMAGESDIR and composer icon name to get the path of composer icon. [#47781] svn path=/trunk/; revision=22411
* temporarily reverting camel namespace changes until after other branches ↵Jeffrey Stedfast2003-08-271-18/+18
| | | | | | have been merged svn path=/trunk/; revision=22374
* s/HSCAN_/CAMEL_MIME_PARSER_STATE_/gJeffrey Stedfast2003-08-271-1/+1
| | | | | | | | | 2003-08-26 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (message_rfc822_dnd): s/HSCAN_/CAMEL_MIME_PARSER_STATE_/g svn path=/trunk/; revision=22366
* updated for namespace changed made to camel-mime-utils.[c,h]Jeffrey Stedfast2003-08-261-17/+17
| | | | | | | | | | | | | | | 2003-08-25 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-attachment-bar.c: updated for namespace changed made to camel-mime-utils.[c,h] * e-msg-composer-attachment.c: updated for namespace changed made to camel-mime-utils.[c,h] * e-msg-composer.c: updated for namespace changed made to camel-mime-utils.[c,h] svn path=/trunk/; revision=22356
* Original patch from David Woodhouse, but modified a bit by me.Jeffrey Stedfast2003-08-191-10/+19
| | | | | | | | | | | 2003-08-19 Jeffrey Stedfast <fejj@ximian.com> * Original patch from David Woodhouse, but modified a bit by me. * e-msg-composer.c (handle_mailto): Fix insertion of arbitrary headers from mailto: links. Ignore From: and Reply-To: headers. svn path=/trunk/; revision=22285
* don't set the rawtext bit anymore.Jeffrey Stedfast2003-08-121-10/+21
| | | | | | | | | | | | 2003-07-16 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-attachment-bar.c (attach_to_multipart): don't set the rawtext bit anymore. * e-msg-composer.c (build_message): Convert the plain part's content stream from UTF-8 to whatever charset we want. svn path=/trunk/; revision=22172
* add the drop type of mozilla browser link to make composer support toAntonio Xu2003-08-041-10/+10
| | | | | | | | | | 2003-08-04 Antonio Xu <antonio.xu@sun.com> * e-msg-composer.c (drag_data_received): add the drop type of mozilla browser link to make composer support to handle mozilla DnD data. [#47131] svn path=/trunk/; revision=22077
* bump editor versionLarry Ewing2003-07-261-1/+1
| | | | svn path=/trunk/; revision=21974
* Set default answer of dialog to 'yes' to try and prevent autosavedMichel Dänzer2003-07-241-0/+1
| | | | | | | | | | 2003-07-17 Michel Dänzer <michel@daenzer.net> * e-msg-composer.c (autosave_manager_query_load_orphans): Set default answer of dialog to 'yes' to try and prevent autosaved messages from getting lost accidentally. svn path=/trunk/; revision=21922
* Revert my previous changes here too.Jeffrey Stedfast2003-07-241-14/+3
| | | | | | | | | | | 2003-07-23 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-attachment-bar.c (attach_to_multipart): Revert my previous changes here too. * e-msg-composer.c (build_message): Revert my previous changes. svn path=/trunk/; revision=21918
* Init charset to NULL.Jeffrey Stedfast2003-07-221-2/+2
| | | | | | | | 2003-07-21 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (build_message): Init charset to NULL. svn path=/trunk/; revision=21882
* Make this work again.Dan Winship2003-07-221-3/+3
| | | | | | * e-msg-composer.c (build_message): Make this work again. svn path=/trunk/; revision=21881
* don't set the rawtext bit anymore.Jeffrey Stedfast2003-07-171-11/+26
| | | | | | | | | | | | | | | | | 2003-07-16 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-attachment-bar.c (attach_to_multipart): don't set the rawtext bit anymore. * e-msg-composer.c (build_message): Convert the plain part's content stream from UTF-8 to whatever charset we want. 2003-07-16 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-attachment-bar.c (popup_menu_event): Fix warnings and other breakage introduced by Maxx. svn path=/trunk/; revision=21843
* Updated to use camel_strcase_hash/equal.Jeffrey Stedfast2003-07-081-3/+3
| | | | | | | | | 2003-07-07 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (e_msg_composer_new_with_message): Updated to use camel_strcase_hash/equal. svn path=/trunk/; revision=21755
* Change file url to absolute path. Fixes bug #44065.Antonio Xu2003-07-031-1/+11
| | | | | | | | | 2003-06-25 Antonio Xu <antonio.xu@sun.com> * e-msg-composer.c (handle_mailto): Change file url to absolute path. Fixes bug #44065. svn path=/trunk/; revision=21726
* Connect to the save-draft signal too. Fixes bug #45531.Jeffrey Stedfast2003-07-031-1/+4
| | | | | | | | | 2003-07-01 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (autosave_load_draft): Connect to the save-draft signal too. Fixes bug #45531. svn path=/trunk/; revision=21724
* Set the rawtext bits for the 'plain' and 'html' data wrappers to FALSE.Jeffrey Stedfast2003-06-301-0/+5
| | | | | | | | | 2003-06-27 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (build_message): Set the rawtext bits for the 'plain' and 'html' data wrappers to FALSE. svn path=/trunk/; revision=21695
* Use e_iconv_open/close so that we get charset aliasing for free. Fixes bugJeffrey Stedfast2003-06-191-3/+3
| | | | | | | | | 2003-06-17 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (best_encoding): Use e_iconv_open/close so that we get charset aliasing for free. Fixes bug #44991. svn path=/trunk/; revision=21469
* Fixes bug #44139.Jeffrey Stedfast2003-06-181-2/+4
| | | | | | | | | | | | | | | | 2003-06-16 Jeffrey Stedfast <fejj@ximian.com> Fixes bug #44139. * e-msg-composer-hdrs.c (attach_couple): Set the vertical and horizontal padding to 3 always. (create_from_optionmenu): Change the hbox spacing to 6 pixels. * e-msg-composer.c (create_composer): Set the border width around the composer's vbox to HIG specification and make the box_spacing 6 pixels as well. svn path=/trunk/; revision=21460
* Same as the rest. (setup_ui): We didn't even seem to be using the gconfJeffrey Stedfast2003-06-101-4/+11
| | | | | | | | | | | | | | | | | | | | | | | | | 2003-05-21 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (composer_get_default_charset_setting): Same as the rest. (setup_ui): We didn't even seem to be using the gconf client here. Removed. (e_msg_composer_load_config): Unref the gconf client after we're finished. (e_msg_composer_new): Same. (e_msg_composer_new_post): Here too. (e_msg_composer_set_view_from): And here. (e_msg_composer_set_view_replyto): And here. (e_msg_composer_set_view_cc): Here too. (e_msg_composer_set_view_bcc): Again here. * e-msg-composer-hdrs.c (create_from_optionmenu): Same as below. (e_msg_composer_hdrs_set_from_account): Here too. * e-msg-composer-attachment-bar.c (get_default_charset): Unref the gconf client. svn path=/trunk/; revision=21391
* i2003-05-20 Larry Ewing <lewing@ximian.com>Larry Ewing2003-05-211-1/+38
| | | | | | | | | | | * e-msg-composer.c (composer_settings_update): set the various bonobo properties that are composer preferences. (create_composer): add notification of gconf changes. (destroy): disconnect notification. * e-msg-composer.h: keep the gcond notify handler id. svn path=/trunk/; revision=21287
* Change the "would you like to recover unsaved drafts?" dialog a QUESTIONJeffrey Stedfast2003-04-301-1/+1
| | | | | | | | | | 2003-04-28 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (autosave_manager_query_load_orphans): Change the "would you like to recover unsaved drafts?" dialog a QUESTION dialog rather than an ERROR dialog. Fixes bug #42024. svn path=/trunk/; revision=21001
* removed debug printfs.Not Zed2003-04-241-3/+0
| | | | | | | | 2003-04-23 Not Zed <NotZed@Ximian.com> * e-msg-composer.c (map_default_cb): removed debug printfs. svn path=/trunk/; revision=20952
* Don't ever attach non-inlined text or message parts. Reverts a prior fix.Jeffrey Stedfast2003-04-231-7/+3
| | | | | | | | | 2003-04-21 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (add_attachments_handle_mime_part): Don't ever attach non-inlined text or message parts. Reverts a prior fix. svn path=/trunk/; revision=20923
* added related argument, TRUE means that container of mime_part isRadek Doulik2003-04-221-4/+9
| | | | | | | | | | | | | | 2003-04-22 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (add_attachments_handle_mime_part): added related argument, TRUE means that container of mime_part is multipart/related (add_attachments_handle_mime_part): add images as inline when related is TRUE (add_attachments_from_multipart): pass related to add_attachments_handle_mime_part svn path=/trunk/; revision=20913
* [ fixes #40694 ] this can't hurt - set the frame to autoactivate so if byChris Toshok2003-04-201-3/+4
| | | | | | | | | | | | | | 2003-04-19 Chris Toshok <toshok@ximian.com> [ fixes #40694 ] * e-msg-composer-hdrs.c (create_addressbook_entry): this can't hurt - set the frame to autoactivate so if by some chance the widget is focused the control will end up being activated. * e-msg-composer.c (map_default_cb): activate the To: control instead of focusing the widget. svn path=/trunk/; revision=20896
* [ 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
* Use e_iconv_locale_charset() instead of e_iconv_locale_name(), dunno whatJeffrey Stedfast2003-04-101-2/+1
| | | | | | | | | | | 2003-04-09 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (composer_get_default_charset_setting): Use e_iconv_locale_charset() instead of e_iconv_locale_name(), dunno what I was thinking. locale_name() doesn't even exist. (setup_ui): Don't free the default_charset, it's a const char*. svn path=/trunk/; revision=20797
* Use e_iconv_locale_charset() instead of e_iconv_locale_name(), dunno whatJeffrey Stedfast2003-04-101-1/+1
| | | | | | | | | | | | 2003-04-09 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (composer_get_default_charset_setting): Use e_iconv_locale_charset() instead of e_iconv_locale_name(), dunno what I was thinking. locale_name() doesn't even exist. * e-msg-composer-attachment-bar.c (get_default_charset): Same. svn path=/trunk/; revision=20793
* fix build, it's composer_get_default_charset_setting.Chris Toshok2003-04-091-1/+1
| | | | | | | | | 2003-04-09 Chris Toshok <toshok@ximian.com> * e-msg-composer.c (setup_ui): fix build, it's composer_get_default_charset_setting. svn path=/trunk/; revision=20782
* Same as with attachment-bar's get_default_charset(). (setup_ui): InsteadJeffrey Stedfast2003-04-091-3/+6
| | | | | | | | | | | | | | 2003-04-09 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (composer_get_default_charset_setting): Same as with attachment-bar's get_default_charset(). (setup_ui): Instead of pulling the default charset from gconf, call our helper function above. * e-msg-composer-attachment-bar.c (get_default_charset): If gconf returns a NULL string, default back to the locale charset. svn path=/trunk/; revision=20775
* Added some debug printfs. (create_composer): Call map_default_cb directlyJeffrey Stedfast2003-04-091-7/+8
| | | | | | | | | | | 2003-04-08 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (map_default_cb): Added some debug printfs. (create_composer): Call map_default_cb directly instead of having it in a "map" callback. Ettore says we shouldn't be doing this *shrug*. Still doesn't work tho. svn path=/trunk/; revision=20767
* [ fixes bug #39763 ] remove the control_entry_focus_{in,out}_event_cbChris Toshok2003-04-081-38/+0
| | | | | | | | | | | | | | | | 2003-04-07 Chris Toshok <toshok@ximian.com> [ fixes bug #39763 ] * e-msg-composer.c (setup_cut_copy_paste): remove the control_entry_focus_{in,out}_event_cb signal stuff. (control_entry_focus_in_event_cb): nuke (control_entry_focus_in_event_cb): same. * e-msg-composer-hdrs.c (create_addressbook_entry): pass the contain to bonobo_widget_new_control_from_objref when creating the entries. svn path=/trunk/; revision=20745
* If the composer isn't 'dirty', then don't autosave the draft (no need to).Jeffrey Stedfast2003-04-051-0/+3
| | | | | | | | | | 2003-04-04 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (autosave_save_draft): If the composer isn't 'dirty', then don't autosave the draft (no need to). Fixes bug #40764. svn path=/trunk/; revision=20671
* Add a select-all callback and verb. (composer_entry_focus_in_event_cb):Jeffrey Stedfast2003-04-041-0/+18
| | | | | | | | | | 2003-04-03 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (menu_edit_select_all_cb): Add a select-all callback and verb. (composer_entry_focus_in_event_cb): Set our bonobo-ui verbs. svn path=/trunk/; revision=20661
* Keep track of which entry widget has focus.Jeffrey Stedfast2003-04-021-7/+138
| | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-01 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (composer_entry_focus_in_event_cb): Keep track of which entry widget has focus. (composer_entry_focus_out_event_cb): Same. (control_entry_focus_in_event_cb): Same idea, but since this is in another component, tell that component that its widget has focus so it can merge bonoboui cut/copy/paste (and anything else) menus. (control_entry_focus_out_event_cb): Same. (setup_cut_copy_paste): Connect to the focus-in and focus-out events for all the entry widgets and the html editor. (menu_edit_cut_cb): New callback function since the composer will now own the Cut/Copy/Paste menu items sometimes (depending on which widget is in focus... confused yet? good). * e-msg-composer-hdrs.c (from_changed): Update the Reply-To entry to be a normal GtkEntry. (create_headers): Same. (e_msg_composer_hdrs_set_reply_to): Here too. (e_msg_composer_hdrs_get_reply_to): And finally here. svn path=/trunk/; revision=20623
* ** See bug #40300 & probably others.Not Zed2003-04-021-4/+16
| | | | | | | | | | | | | | 2003-04-01 Not Zed <NotZed@Ximian.com> ** See bug #40300 & probably others. * e-msg-composer.c (autosave_manager_query_load_orphans): make the composer arg a parent arg, its only used parent the dialogue. Fix caller casts. (e_msg_composer_check_autosave): new function, checks for autosave files, and recovers them per user instructions. svn path=/trunk/; revision=20616
* Convert to libglade-2's format.Jeffrey Stedfast2003-04-011-15/+14
| | | | | | | | | | | 2003-03-31 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-attachment.glade: Convert to libglade-2's format. * e-msg-composer.c (set_editor_signature): E_MSG_COMPOSER_HDRS (composer->hdrs)->account->id can never be NULL anymore. svn path=/trunk/; revision=20604
* Update for e_notice moveDan Winship2003-03-251-9/+9
| | | | | | * e-msg-composer.c: Update for e_notice move svn path=/trunk/; revision=20501
* Fixes for bug #39813Jeffrey Stedfast2003-03-211-7/+7
| | | | | | | | | | | | 2003-03-20 Jeffrey Stedfast <fejj@ximian.com> Fixes for bug #39813 * e-msg-composer.c (composer_finalise): Don't unregister the signature event handler here. (destroy): Unregister it here instead. svn path=/trunk/; revision=20442
* Change the logic to attach text parts when appropriate. (map_default_cb):Jeffrey Stedfast2003-03-201-11/+10
| | | | | | | | | | | 2003-03-19 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (add_attachments_handle_mime_part): Change the logic to attach text parts when appropriate. (map_default_cb): Grab the focus of the To entry widget. Fixes bug #39800. Fixes another #warning too. svn path=/trunk/; revision=20371
* Change the logic to attach text parts when appropriate.Jeffrey Stedfast2003-03-201-34/+30
| | | | | | | | | 2003-03-19 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (add_attachments_handle_mime_part): Change the logic to attach text parts when appropriate. svn path=/trunk/; revision=20367
* e_msg_composer_hdrs_get_subject() now returns const so don't g_free() itJeffrey Stedfast2003-03-191-23/+22
| | | | | | | | | | | | | | | | | | | | | | | 2003-03-18 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (do_exit): e_msg_composer_hdrs_get_subject() now returns const so don't g_free() it :-) (map_default_cb): Same as above. Also, the subject entry no longer derives from GnomeCanvas so eliminate the now unneeded casting to grab the focus of the subject widget. (e_msg_composer_get_subject): Return a const char * now. * e-msg-composer-hdrs.c (create_headers): Make the subject entry into a GtkEntry so we don't have to worry about i18n and other EEntry bugs anymore. Fixes numerous bugs (including #39924). (e_msg_composer_hdrs_set_subject): Use gtk_entry_set_text(). (e_msg_composer_hdrs_to_message_internal): e_msg_composer_hdrs_get_subject() now returns const. (e_msg_composer_hdrs_get_subject): Return a const char *. (entry_changed): e_msg_composer_hdrs_get_subject() now returns const. svn path=/trunk/; revision=20350
* Default the composer's title to "Create a message". Fixes bug #39696.Jeffrey Stedfast2003-03-141-1/+2
| | | | | | | | | 2003-03-13 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (create_composer): Default the composer's title to "Create a message". Fixes bug #39696. svn path=/trunk/; revision=20283
* Don't allow the returned charset to be NULL. (get_file_content): Make sureJeffrey Stedfast2003-03-051-2/+6
| | | | | | | | | | | 2003-03-04 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (composer_get_default_charset_setting): Don't allow the returned charset to be NULL. (get_file_content): Make sure there is buffered data before trying to convert it to UTF-8. svn path=/trunk/; revision=20139
* Same as below.Jeffrey Stedfast2003-02-261-3/+2
| | | | | | | | | | | 2003-02-25 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c: Same as below. * e-msg-composer-attachment-bar.c: Go back to using e_iconv_charset_name(). svn path=/trunk/; revision=20059
* Make sure the url is != NULL? I can't think of anything else in this codeJeffrey Stedfast2003-02-251-0/+4
| | | | | | | | | | 2003-02-24 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (drag_data_received): Make sure the url is != NULL? I can't think of anything else in this code that could possibly cause bug #38382. svn path=/trunk/; revision=20046
* Don't save the HTML format setting to gconf. This option menu is meant forJeffrey Stedfast2003-02-231-5/+0
| | | | | | | | | | | | 2003-02-22 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (e_msg_composer_set_send_html): Don't save the HTML format setting to gconf. This option menu is meant for a per-essage setting (ie. once the composer closes, the next composer will again use the default and not what the user chose last time). svn path=/trunk/; revision=20004
* Same as below.Jeffrey Stedfast2003-02-211-2/+1
| | | | | | | | | | | | | 2003-02-20 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (composer_get_default_charset_setting): Same as below. * e-msg-composer-attachment-bar.c (get_default_charset): Use camel_charset_canonical_name() rather than e_iconv_charset_name() as the latter will be removed shortly. svn path=/trunk/; revision=19979
* default_account is now a string value, not an int.Jeffrey Stedfast2003-02-191-0/+2
| | | | | | | | | | | | 2003-02-18 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-hdrs.c (e_msg_composer_hdrs_set_from_account): default_account is now a string value, not an int. (create_from_optionmenu): Same. (header_new_recipient): Use g_signal_connect_data() instead of the now deprecated gtk_signal_connect_full(). svn path=/trunk/; revision=19934
* clean upDan Winship2003-02-061-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | * Makefile.am: clean up * e-msg-composer.c (autosave_manager_query_load_orphans): #include string.h (menu_file_send_cb): s/gtk_signal_emit/g_signal_emit/ * e-msg-composer-attachment.c: #include string.h (e_msg_composer_attachment_edit): s/E_GLADEDIR/EVOLUTION_GLADEDIR * e-msg-composer-attachment-bar.c: #include string.h (pixbuf_for_mime_type): s/ICONSDIR/IMAGESDIR/ * e-msg-composer-hdrs.c: #include string.h * e-msg-composer-select-file.c (run_selector): Remove unused var * evolution-composer.c: #include string.h (evolution_composer_init): Remove unused var * listener.c: #include string.h (listener_new): Remove unused var svn path=/trunk/; revision=19804
* Split out the mailto handling code from here so we can use it in theJeffrey Stedfast2003-02-061-36/+51
| | | | | | | | | | | | | 2003-02-05 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (e_msg_composer_new_from_url): Split out the mailto handling code from here so we can use it in the drag-n-drop code too. (drag_data_received): If we find a mailto: url in the text/uri-list drop, pass that off to handle_mailto() so it can fill in the fields for us. svn path=/trunk/; revision=19768
* updated for e scroll frame --> gtk scrolled windowRadek Doulik2003-02-051-11/+11
| | | | svn path=/trunk/; revision=19736
* If the subject or body components of the mailto url are not in UTF-8,Jeffrey Stedfast2003-01-281-2/+23
| | | | | | | | | | 2003-01-27 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (e_msg_composer_new_from_url): If the subject or body components of the mailto url are not in UTF-8, convert them to UTF-8. svn path=/trunk/; revision=19662
* Load the view menu states from gconf. (e_msg_composer_set_send_html): SaveJeffrey Stedfast2003-01-241-99/+70
| | | | | | | | | | | | | | | | | | 2003-01-23 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (e_msg_composer_load_config): Load the view menu states from gconf. (e_msg_composer_set_send_html): Save the setting via gconf instead of bonobo-config. (e_msg_composer_set_view_from): Same. (e_msg_composer_set_view_replyto): Here too. (e_msg_composer_set_view_cc): Again here. (e_msg_composer_set_view_bcc): And finally here. (setup_ui): Fixed a #warning - use gconf instead of bonobo-conf. (destroy): No need to sync/destroy the bonobo-conf db, we don't use it anymore. svn path=/trunk/; revision=19606
* *** empty log message ***Ettore Perazzoli2003-01-231-1/+1
| | | | svn path=/trunk/; revision=19555
* Updated to use EAccountList and iterators. (evolution_composer_init):Jeffrey Stedfast2003-01-181-8/+11
| | | | | | | | | | | | | | | | | | | | | | | | 2003-01-17 Jeffrey Stedfast <fejj@ximian.com> * evolution-composer.c (impl_Composer_set_headers): Updated to use EAccountList and iterators. (evolution_composer_init): Updated to use EAccount. * e-msg-composer.c (from_changed_cb): Updated to use the EAccount object. (e_msg_composer_new_with_message): Same. (e_msg_composer_get_preferred_account): Updated to return an EAccount object. (set_editor_signature): Updated to use an EAccountIdentity pointer. (get_signature_html): Same. * e-msg-composer-hdrs.c (create_from_optionmenu): Updated to use EAccount and EAccountList foo. (destroy): Same here. (e_msg_composer_hdrs_set_from_account): Here too. (e_msg_composer_hdrs_get_from): Updated. svn path=/trunk/; revision=19511
* mail_config_get_signature_list now returns a GSList.Jeffrey Stedfast2003-01-171-13/+12
| | | | | | | | | | | 2003-01-16 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (signature_cb): mail_config_get_signature_list now returns a GSList. (setup_signatures_menu): Same. (set_signature_gui): Here too. svn path=/trunk/; revision=19498
* (do_exit): Make dialog HIG compliantEttore Perazzoli2003-01-151-3/+9
| | | | | | [Discard/Cancel/Save]. svn path=/trunk/; revision=19471
* use the composer's charset gconf keyJeffrey Stedfast2003-01-081-1/+1
| | | | svn path=/trunk/; revision=19274
* Convenience function. (get_file_content): Use the convenience function toJeffrey Stedfast2003-01-081-4/+34
| | | | | | | | | | | | | | 2003-01-07 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (composer_get_default_charset): Convenience function. (get_file_content): Use the convenience function to get the default charset setting. (best_charset): Same. (e_msg_composer_new): Use gconf to get the send_html setting. (e_msg_composer_new_post): Same. svn path=/trunk/; revision=19269
* fixesJeffrey Stedfast2003-01-031-11/+4
| | | | svn path=/trunk/; revision=19206
* Use camel_text_to_html(). (e_msg_composer_new_from_url): Same.Jeffrey Stedfast2002-12-171-12/+12
| | | | | | | | | | | | 2002-12-16 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (get_signature_html): Use camel_text_to_html(). (e_msg_composer_new_from_url): Same. * evolution-composer.c (impl_Composer_set_body): Use camel_text_to_html(). svn path=/trunk/; revision=19127
* Get rid of the unused exception variable.Jeffrey Stedfast2002-12-041-5/+0
| | | | | | | | | 2002-12-03 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (message_rfc822_dnd): Get rid of the unused exception variable. svn path=/trunk/; revision=18997
* removed warning about e_notice. its used too much, its here to stay.Not Zed2002-12-021-10/+9
| | | | | | | | | | | 2002-11-27 Not Zed <NotZed@Ximian.com> * e-msg-composer.c (save): removed warning about e_notice. its used too much, its here to stay. * *.[ch]: run fix.sh over everything. svn path=/trunk/; revision=18973
* s/g_str[n]casecmp/str[n]casecmpJeffrey Stedfast2002-12-021-11/+11
| | | | | | | | 2002-12-01 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c: s/g_str[n]casecmp/str[n]casecmp svn path=/trunk/; revision=18969
* properly chain finalise.Not Zed2002-11-261-2/+5
| | | | | | | | 2002-11-26 Not Zed <NotZed@Ximian.com> * e-msg-composer.c (composer_finalise): properly chain finalise. svn path=/trunk/; revision=18918
* Duh! dont free subject & simplify logic a little.Not Zed2002-11-211-6/+1
| | | | | | | | | | | | | | 2002-11-21 Not Zed <NotZed@Ximian.com> * e-msg-composer.c (subject_changed_cb): Duh! dont free subject & simplify logic a little. 2002-11-20 Not Zed <NotZed@Ximian.com> * e-msg-composer-hdrs.c (entry_changed): duh, emit the signal using an initialised value(!). svn path=/trunk/; revision=18873
* applied plain_signature_fix.patchRadek Doulik2002-11-201-1/+1
| | | | svn path=/trunk/; revision=18841
* dont unref after destroy. duh.Not Zed2002-11-191-14/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-11-19 Not Zed <NotZed@Ximian.com> * e-msg-composer-attachment-bar.c (add_from_file): dont unref after destroy. duh. * e-msg-composer-hdrs.c (e_msg_composer_hdrs_set_to): Add type code to set_property call. (e_msg_composer_hdrs_set_cc): " (e_msg_composer_hdrs_set_bcc): " (e_msg_composer_hdrs_get_to): Do the same for get_property calls. (init): ref/sink the tooltip object. (e_msg_composer_hdrs_get_type): fix return type. * e-msg-composer.c (GNOME_GTKHTML_EDITOR_CONTROL_ID): we want version 3.0 not 1.1. (create_composer): Add type code to set property call. (autosave_manager_query_load_orphans): my bad, we dont unref dialog's once we've destroyed 'em. (build_message): " (get_file_content): " (save): " (do_exit): " (composer_dispose): moved the autosave shutdown here. svn path=/trunk/; revision=18836
* Remove check for gtk_main_level(). as far as i can tell it serves no realNot Zed2002-11-181-36/+44
| | | | | | | | | | | | | 2002-11-18 Not Zed <NotZed@Ximian.com> * e-msg-composer.c (create_composer): Remove check for gtk_main_level(). as far as i can tell it serves no real purpose, and i think gtkmain is now redundant. (e_msg_composer_new_with_message): Same here. (destroy): moved some stuff into finalise, and made destroy mulitcall safe. svn path=/trunk/; revision=18819
* Removed {BEGIN,END}_GNOME_DECLS.Ettore Perazzoli2002-11-141-3/+0
| | | | | | | | | | | * listener.h: Removed {BEGIN,END}_GNOME_DECLS. * e-msg-composer-select-file.c: Do not #include <libgnome/gnome-defs.h>. * e-msg-composer.c: Likewise. * listener.h: Likewise. svn path=/trunk/; revision=18738
* bonobo api changes.Not Zed2002-11-131-3/+3
| | | | | | | | 2002-11-13 Not Zed <NotZed@Ximian.com> * e-msg-composer.c (setup_ui): bonobo api changes. svn path=/trunk/; revision=18733
* Fix bonobo object setup.Not Zed2002-11-081-235/+245
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-11-08 Not Zed <NotZed@Ximian.com> * listener.c: Fix bonobo object setup. * e-msg-composer-hdrs.c: Remove oaf stuff, fix destroy to be multi-call safe. * e-msg-composer-attachment.c (e_msg_composer_attachment_new): Remove utf8 from locale conversions, & glib api changes. (ok_cb): " * e-msg-composer-attachment-bar.c (add_from_file): gtk message dialog. (pixbuf_for_mime_type): glib,gnome-vfs api changes. (init): Estimate the icon_height based on the pango font description size, this is probably not correct. (properties_cb): (remove_cb): Changed signature for gnomeui callbacks. (popup_icon_context_menu): (popup_context_menu): popup_menu api change (destroy): Protect from multiple calls. (e_msg_composer_attachment_bar_new): Remove push/pop visual/colormap stuff. * composer-marshal.list: The list of marshallers used by the composer. * Makefile.am (composer-marshal.h): Added composer marshal builder. * evolution-composer.c (class_init): bonobo object epv setup change. (factory_fn): Fix changes to factory callback. * e-icon-list.c: (icon_get_height): Use bounding box to calc height. (icon_event): drop gtk_selection_extended. (e_icon_list_remove): " (select_icon): (unselect_icon): " * e-msg-composer.c (autosave_save_draft): Dup fd rather than poke camel_stream_fd's data. Also, use camel_stream_close() rather than flush. (autosave_manager_query_load_orphans): Port to gtk dialog. (autosave_query_cb): Removed, redundant. (save): Port to gtkdialog. (prepare_engine): Fix bonobo-object-client code. (get_file_content): gtk dialog (do_exit): gtk dialog. (setup_signatures_menu): dump gtkutf8 stuff. (marshal_NONE__NONE_INT): What WAS jeff thinking? Removed :) (class_init): g object setup. (e_msg_composer_get_type): " (create_composer): remove bonobo_window_construct, use create property instead. g_signal stuff. bonobo stuff. (is_special_header): Use ascii_strncasecmp (e_msg_composer_set_pending_body): gtk->g_object_get/set_data. (e_msg_composer_set_body): use ascii_strncasecmp (e_msg_composer_add_inline_image_from_mime_part): make cid const. (autosave_manager_register): (autosave_manager_unregister): Use g_path_get_basename() & account for differences. (composer_shutdown): rename to finalise/etc. (class_init): Use object:finalize instead of shutdown. (e_msg_composer_set_body): Use _() rather than U_(). (build_message): gtk dialog. 2002-11-06 Not Zed <NotZed@Ximian.com> * e-msg-composer-attachment-bar.c (pixbuf_for_mime_type): Add error return to gdk_pixbuf_new_from_file(). svn path=/trunk/; revision=18659
* Add support for an attach option in the mailto: url.Jeffrey Stedfast2002-11-021-1/+3
| | | | | | | | | 2002-11-01 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (e_msg_composer_new_from_url): Add support for an attach option in the mailto: url. svn path=/trunk/; revision=18489
* Make sure to save References and In-Reply-To headers. Fixes bug #32932.Jeffrey Stedfast2002-10-311-1/+3
| | | | | | | | | 2002-10-29 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (e_msg_composer_new_with_message): Make sure to save References and In-Reply-To headers. Fixes bug #32932. svn path=/trunk/; revision=18469
* Don't create a new file if the file doesn't exist.Jeffrey Stedfast2002-10-051-1/+1
| | | | | | | | | 2002-10-02 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (get_file_content): Don't create a new file if the file doesn't exist. svn path=/trunk/; revision=18325
* If the user hits cancel when signing/encrypting, don't continueJeffrey Stedfast2002-10-021-2/+2
| | | | | | | | | | 2002-10-01 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (build_message): If the user hits cancel when signing/encrypting, don't continue constructing the message, instead abort (and just don't pop up a dialog). svn path=/trunk/; revision=18291
* When signing/encrypting a part, if a USER_CANCEL occurs, re-use the partJeffrey Stedfast2002-10-021-2/+4
| | | | | | | | | | 2002-10-01 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (build_message): When signing/encrypting a part, if a USER_CANCEL occurs, re-use the part otherwise unref it and replace it with the new part. svn path=/trunk/; revision=18290
* It's a grand old string-review! Nitpicky and minor changes; details in the ↵Aaron Weber2002-10-011-1/+3
| | | | | | appropriate ChangeLog files. svn path=/trunk/; revision=18268
* Don't reuse the part that we've signed and/or encrypted, create a new partJeffrey Stedfast2002-09-281-1/+4
| | | | | | | | | | 2002-09-27 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (build_message): Don't reuse the part that we've signed and/or encrypted, create a new part container instead. Fixes bug #31379. svn path=/trunk/; revision=18257
* Fix non-ANSI switch statementDan Winship2002-09-231-0/+1
| | | | | | * e-msg-composer.c (save): Fix non-ANSI switch statement svn path=/trunk/; revision=18159
* allow to select last 2 menu itemsRadek Doulik2002-09-201-1/+1
| | | | | | | | | 2002-09-19 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (signature_cb): allow to select last 2 menu items svn path=/trunk/; revision=18128
* Handle multipart/signed and multipart/encrypted parts in a more expectedJeffrey Stedfast2002-09-181-32/+44
| | | | | | | | | | 2002-09-17 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (add_attachments_from_multipart): Handle multipart/signed and multipart/encrypted parts in a more expected way. Fixes bug #28453. svn path=/trunk/; revision=18099
* Mark a string for translation.Kjartan Maraas2002-09-161-1/+1
| | | | | | | | 2002-09-15 Kjartan Maraas <kmaraas@gnome.org> * e-msg-composer.c: Mark a string for translation. svn path=/trunk/; revision=18072
* (composer_key_pressed): Don't chain the eventEttore Perazzoli2002-09-061-9/+4
| | | | | | | handler here -- that's just wrong! Also stop emission of the signal when we catch Escape. svn path=/trunk/; revision=17987
* Make it so that the composer will close when the user hits Escape.Jeffrey Stedfast2002-09-051-14/+35
| | | | | | | | | 2002-09-04 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (create_composer): Make it so that the composer will close when the user hits Escape. svn path=/trunk/; revision=17983
* removed "Set as default" menu itemRadek Doulik2002-08-281-53/+0
| | | | | | | | | 2002-08-27 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (signature_cb): removed "Set as default" menu item svn path=/trunk/; revision=17878
* Oops, we were overwriting 'multipart' with our child multipart. FixesPeter Williams2002-08-271-11/+15
| | | | | | | | | | 2002-08-26 Peter Williams <peterw@ximian.com> * e-msg-composer.c (handle_multipart): Oops, we were overwriting 'multipart' with our child multipart. Fixes 29399. (handle_multipart_alternative): Here too. svn path=/trunk/; revision=17864
* Fixes bug #29016Jeffrey Stedfast2002-08-231-88/+100
| | | | | | | | | | | | | | | 2002-08-22 Jeffrey Stedfast <fejj@ximian.com> Fixes bug #29016 * e-msg-composer.c (e_msg_composer_new_with_message): If the X-Evolution-PostTo header exists, then treat this message composer as a PostTo composer rather than a mail composer. * e-msg-composer-hdrs.c (e_msg_composer_hdrs_to_message_internal): Set the X-Evolution-PostTo header if that is the mdoe we are in. svn path=/trunk/; revision=17843
* Don't turn on pgp signing if this is an iMIP message and pgp_no_imip_signDan Winship2002-08-151-1/+10
| | | | | | | | | * e-msg-composer.c (from_changed_cb): Don't turn on pgp signing if this is an iMIP message and pgp_no_imip_sign is set. (e_msg_composer_set_body): If setting a text/calendar body and pgp_no_imip_sign is true, turn off signing. svn path=/trunk/; revision=17779
* Make the warning dialog display the message subject so that it is moreJeffrey Stedfast2002-08-141-12/+22
| | | | | | | | | | 2002-08-13 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (do_exit): Make the warning dialog display the message subject so that it is more clear which composer the dialog is referring to. Fixes bug #25467. svn path=/trunk/; revision=17772
* Set the file-selection window icon. Fixes the mailer part of bug #7368.Jeffrey Stedfast2002-08-131-2/+1
| | | | | | | | | | | | | | | | | 2002-08-12 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-select-file.c (create_file_selection): Set the file-selection window icon. Fixes the mailer part of bug #7368. * e-msg-composer-attachment.c (e_msg_composer_attachment_new): Don't call new_from_mime_part() since that function now does some copying of the mime part rather than simply reffing it. (e_msg_composer_attachment_new_from_mime_part): Make a copy of the MIME part so that if the message that this part belongs to gets deleted from the the remote store, the composer will still have a copy of it. Fixes bug #20308. svn path=/trunk/; revision=17763
* Parse the auto-cc/bcc recipients and then later when parsing the cc/bccJeffrey Stedfast2002-08-011-12/+72
| | | | | | | | | | | | 2002-07-31 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (e_msg_composer_new_with_message): Parse the auto-cc/bcc recipients and then later when parsing the cc/bcc recipients into EDestination objects, if the address is an auto-*cc address, then set auto_recipient to TRUE on that EDestination. This fixes bug #28339. svn path=/trunk/; revision=17664
* new helper function (decode_signature_name): new helper functionRadek Doulik2002-07-301-4/+105
| | | | | | | | | | | 2002-07-29 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (encode_signature_name): new helper function (decode_signature_name): new helper function (get_signature_html): use encode_signature_name (set_signature_gui): use decode_signature_name svn path=/trunk/; revision=17636
* (set_signature_gui): new helper method to set signature from draftRadek Doulik2002-07-271-1/+37
| | | | | | | message (e_msg_composer_new_with_message): use set_signature_gui svn path=/trunk/; revision=17621
* don't assert on default, when ESC is pressed, the dialog is closed as wellRadek Doulik2002-07-271-3/+4
| | | | | | | | | 2002-07-26 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (do_exit): don't assert on default, when ESC is pressed, the dialog is closed as well and we get button number -1 svn path=/trunk/; revision=17611
* Create the Post-To header. (headers_set_visibility): Possibly show theJeffrey Stedfast2002-07-261-41/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | 2002-07-24 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-hdrs.c (create_headers): Create the Post-To header. (headers_set_visibility): Possibly show the Post-To header. (attach_headers): Attach the Post-To header. (e_msg_composer_hdrs_set_post_to): Set the text for the Post-To header. (e_msg_composer_hdrs_get_post_to_label): Return the label widget for this header pair. (e_msg_composer_hdrs_set_visible_mask): New function to set the visible mask (so we can disallow certain headers to be shown). (e_msg_composer_hdrs_new): Save the visible mask argument. (setup_headers): To: does not always have to be visible anymore. (e_msg_composer_hdrs_get_post_to): New function to get the url for the Post-To folder. * e-msg-composer.c (e_msg_composer_get_visible_flags): Set the Post-To bit when it is supposed to be visible. (e_msg_composer_new_post): Set the visible_mask to only allow the headers needed for Posting. svn path=/trunk/; revision=17590
* Fix spelling.Dan Winship2002-07-261-1/+1
| | | | | | * e-msg-composer.c (e_msg_composer_set_body): Fix spelling. svn path=/trunk/; revision=17588
* restart automanager to avoid multiple dialog apearingRadek Doulik2002-07-241-2/+6
| | | | | | | | | 2002-07-23 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (autosave_run): restart automanager to avoid multiple dialog apearing svn path=/trunk/; revision=17559
* Applied patch below.Not Zed2002-07-231-1/+1
| | | | | | | | | | | | | | 2002-07-23 Not Zed <NotZed@Ximian.com> * Applied patch below. 2002-07-19 Christian Kreibich <christian@whoop.org> * e.msg-composer.c (get_signature_html): Test for the signature delimiter not only at the beginning of a signature file, but also inside the signature. svn path=/trunk/; revision=17547
* Reverted some code that got committed by accident.Jeffrey Stedfast2002-07-231-4/+4
| | | | | | | | | | | | 2002-07-23 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (e_msg_composer_set_view_bcc): Reverted some code that got committed by accident. (e_msg_composer_set_view_cc): Same. (e_msg_composer_set_view_replyto): Here too. (e_msg_composer_set_view_from): And here. svn path=/trunk/; revision=17542
* fixed up some gtk-doc commentsJeffrey Stedfast2002-07-231-5/+13
| | | | svn path=/trunk/; revision=17540
* more cleanupJeffrey Stedfast2002-07-231-78/+78
| | | | svn path=/trunk/; revision=17539
* Removed a lot of extra g_return_if_fail's that we don't need (if we areJeffrey Stedfast2002-07-231-12/+36
| | | | | | | | | | | | | | | 2002-07-22 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c: Removed a lot of extra g_return_if_fail's that we don't need (if we are going to check if the pointer is a a composer widget using the gtk type-check macros, then there is no need to first check that it isn't NULL). (get_file_content): Signatures are now supposed to be in UTF-8 and not the user's locale charset, so we must first read in the content, then check that it is valid UTF-8. If it isn't, then we need to try to convert it to UTF-8. svn path=/trunk/; revision=17538
* Removed a lot of extra g_return_if_fail's that we don't need (if we areJeffrey Stedfast2002-07-231-171/+163
| | | | | | | | | | | 2002-07-22 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c: Removed a lot of extra g_return_if_fail's that we don't need (if we are going to check if the pointer is a a composer widget using the gtk type-check macros, then there is no need to first check that it isn't NULL). svn path=/trunk/; revision=17537
* removed insert file menu itemRadek Doulik2002-07-231-36/+0
| | | | svn path=/trunk/; revision=17534
* use "saved" gtkhtml command (e_msg_composer_is_dirty): use "is-saved"Radek Doulik2002-07-181-3/+6
| | | | | | | | | 2002-07-17 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (save): use "saved" gtkhtml command (e_msg_composer_is_dirty): use "is-saved" gtkhtml command svn path=/trunk/; revision=17493
* Set the from-account last so that auto-cc/bcc recipients don't getJeffrey Stedfast2002-07-171-1/+1
| | | | | | | | | | 2002-07-16 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (e_msg_composer_set_headers): Set the from-account last so that auto-cc/bcc recipients don't get overwritten when setting the cc/bcc recipient fields. svn path=/trunk/; revision=17487
* Instead of doing this with a weakref, do it by connecting to the destroyPeter Williams2002-07-171-3/+3
| | | | | | | | | | | | | | | 2002-07-16 Peter Williams <peterw@ximian.com> * e-msg-composer.c (create_composer): Instead of doing this with a weakref, do it by connecting to the destroy signal. The weakref was not getting notified in certain conditions that I could never really pin down, and this caused problems at exit. * e-msg-composer-hdrs.c (create_headers): Reorder to create reply_to before from, because create_from_optionmenu causes from_changed to be called, which expects reply_to.entry to exist. svn path=/trunk/; revision=17480
* added save_html_object_data parameter, use gtkhtml command to save objectRadek Doulik2002-07-161-5/+15
| | | | | | | | | 2002-07-15 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (build_message): added save_html_object_data parameter, use gtkhtml command to save object data when wanted svn path=/trunk/; revision=17466
* Don't connect to the postpone signal, but do connect to the save-draftJeffrey Stedfast2002-07-061-46/+1
| | | | | | | | | | | | | | | | 2002-07-05 Jeffrey Stedfast <fejj@ximian.com> * evolution-composer.c (init): Don't connect to the postpone signal, but do connect to the save-draft signal. (evolution_composer_factory_init): No longer takes a postpone_cb argument, but does now take a save_draft_cb argument. * e-msg-composer.c (menu_file_send_later_cb): Removed. (class_init): Removed the POSTPONE signal. (setup_ui): Don't need to swap the Send/SendLater tooltips and accels anymore, since SendLater no longer exists. svn path=/trunk/; revision=17377
* Use the new CamelMultipartEncrypted class to do our encryption work forJeffrey Stedfast2002-06-271-47/+161
| | | | | | | | | | | | | | | 2002-06-26 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (build_message): Use the new CamelMultipartEncrypted class to do our encryption work for us. We also need to always get the user's userid before encrypting since pgp/gpg need that. (e_msg_composer_new_with_message): Handle multipart/signed and multipart/encrypted parts by adding the (decrypted) content and setting the composer to pgp sign/encrypt the message when the user re-sends it. svn path=/trunk/; revision=17306
* Use the new CamelMultipartEncrypted class to do our encryption work forJeffrey Stedfast2002-06-271-31/+49
| | | | | | | | | | | 2002-06-26 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (build_message): Use the new CamelMultipartEncrypted class to do our encryption work for us. We also need to always get the user's userid before encrypting since pgp/gpg need that. svn path=/trunk/; revision=17300
* Use mail_crypto_get_pgp_cipher_context() so that the PGP/GPG decision isJeffrey Stedfast2002-06-261-1/+1
| | | | | | | | | | 2002-06-25 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (build_message): Use mail_crypto_get_pgp_cipher_context() so that the PGP/GPG decision is done for us. svn path=/trunk/; revision=17278
* Use the new gpg cipher context rather than the old pgp context.Jeffrey Stedfast2002-06-221-22/+25
| | | | | | | | | 2002-06-21 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (build_message): Use the new gpg cipher context rather than the old pgp context. svn path=/trunk/; revision=17254
* don't convert text to html twiceRadek Doulik2002-06-201-7/+0
| | | | | | | | | 2002-06-19 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (get_signature_html): don't convert text to html twice svn path=/trunk/; revision=17239
* added "Set as default" menu itemRadek Doulik2002-06-111-13/+71
| | | | | | | | | | | | | | 2002-06-10 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (signature_cb): added "Set as default" menu item * e-msg-composer-hdrs.c (e_msg_composer_hdrs_get_from_omenu): new method (e_msg_composer_hdrs_set_from_account): use e_msg_composer_hdrs_get_from_omenu svn path=/trunk/; revision=17160
* use new script signature interfaceRadek Doulik2002-06-081-6/+8
| | | | | | | | | 2002-06-07 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (get_signature_html): use new script signature interface svn path=/trunk/; revision=17143
* Remove the customize toolbar thingy since Michael said that this would fixJeffrey Stedfast2002-06-071-4/+0
| | | | | | | | | | | | | 2002-06-06 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (setup_ui): Remove the customize toolbar thingy since Michael said that this would fix bug #17952. * e-msg-composer-hdrs.c (e_msg_composer_hdrs_set_from_account): Clean up the logic in this. For one, we don't need to do strstr using the account address (wtf??). svn path=/trunk/; revision=17134
* put option menu to hbox to make space for signatures menuRadek Doulik2002-06-061-97/+86
| | | | | | | | | | | | | 2002-06-05 Radek Doulik <rodo@ximian.com> * e-msg-composer-hdrs.c (create_from_optionmenu): put option menu to hbox to make space for signatures menu (e_msg_composer_hdrs_get_from_hbox): new helper function * e-msg-composer.c: moved signatures from menu to option menu next to From: svn path=/trunk/; revision=17126
* signature editor reworked, WIPRadek Doulik2002-06-051-87/+68
| | | | svn path=/trunk/; revision=17117
* Properly handle user cancellation for signing/encrypting, just dont signNot Zed2002-06-041-14/+58
| | | | | | | | | | | | | | | 2002-06-03 Not Zed <NotZed@Ximian.com> * e-msg-composer.c (build_message): Properly handle user cancellation for signing/encrypting, just dont sign but create anyway. (e_msg_composer_get_subject): Wrapper function to get the subject from the header object. (e_msg_composer_get_to): (e_msg_composer_get_cc): (e_msg_composer_get_bcc): Same for the destination types. svn path=/trunk/; revision=17091
* Allocate a new FileInfo struct here rather than using and unref it whenJeffrey Stedfast2002-06-041-8/+11
| | | | | | | | | | 2002-06-03 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (e_msg_composer_guess_mime_type): Allocate a new FileInfo struct here rather than using and unref it when we're finished with it. svn path=/trunk/; revision=17090
* Use gnome_vfs_file_info_clear() instead of gnome_vfs_file_info_unref() soJeffrey Stedfast2002-06-041-1/+1
| | | | | | | | | | 2002-06-03 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (e_msg_composer_guess_mime_type): Use gnome_vfs_file_info_clear() instead of gnome_vfs_file_info_unref() so that we don't try and free static data. svn path=/trunk/; revision=17085
* Changes for multipart/signed api changes.Not Zed2002-05-311-6/+16
| | | | | | | | 2002-05-30 Not Zed <NotZed@Ximian.com> * e-msg-composer.c (build_message): Changes for multipart/signed api changes. svn path=/trunk/; revision=17056
* New. (create_component): Pass it as the @request_quit_fn toEttore Perazzoli2002-05-161-35/+73
| | | | | | | | | | | | | | | | | | | | | * component-factory.c (request_quit): New. (create_component): Pass it as the @request_quit_fn to evolution_shell_component_new(). * e-msg-composer.c: New local `all_composers'; keeps a list of all the composer windows created. Changed type of `parent_class' to BonoboWindowClass *. (do_exit): Cleaned up a bit. Raise the composer window before showing the message box dialog. (exit_dialog_cb): Removed. (e_msg_composer_request_close_all): New. (create_composer): Add the composer to the all_composers list and weakref it. (msg_composer_destroy_notify): GtkDestroyNotify function for the composer's weakref; remove the composer from the all_composers list. svn path=/trunk/; revision=16930
* fixed a type-oJeffrey Stedfast2002-04-271-1/+1
| | | | svn path=/trunk/; revision=16597
* Check for empty-string pgp-key ids and don't use them.Jeffrey Stedfast2002-04-271-5/+5
| | | | | | | | | 2002-04-26 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (build_message): Check for empty-string pgp-key ids and don't use them. svn path=/trunk/; revision=16596
* Unref the priv->tooltips object here.Jeffrey Stedfast2002-04-171-10/+11
| | | | | | | | | | | | | | 2002-04-16 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-hdrs.c (destroy): Unref the priv->tooltips object here. * e-msg-composer-attachment-bar.c (destroy): Free the priv struct. * e-msg-composer.c (set_editor_signature): We don't need a 'name'? So don't strdup it. svn path=/trunk/; revision=16485
* No need to query for the persist-stream interface here, just re-useJeffrey Stedfast2002-04-111-13/+10
| | | | | | | | | | | 2002-04-08 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (set_editor_text): No need to query for the persist-stream interface here, just re-use composer->persist_stream_interface - this might improve the speed at which a reply action brings up the composer. svn path=/trunk/; revision=16425
* Use decode rather than unformat - the e_destination was changed (long timeNot Zed2002-04-091-2/+4
| | | | | | | | | | | | | | | | 2002-04-09 Not Zed <NotZed@Ximian.com> * e-msg-composer-hdrs.c (set_recipients_from_destv): Use decode rather than unformat - the e_destination was changed (long time ago) to rfc2047 encode the addresses, so we should decode likewise. Should fix #16158. * e-msg-composer.c (next_word): g_utf8_next_char never returns NULL, it just skips to the next character. So like normal string code, we just check for a nul explicitly. Fixes a bug found while checking #16158. svn path=/trunk/; revision=16396