Commit Graph

726 Commits

Author SHA1 Message Date
96bec73826 set paragraph style to normal to avoid signature landing in PRE paragraph
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
2004-08-13 16:27:16 +00:00
a064dadb0c Optionally use GtkFileChooser if compiled against Gtk+ >= 2.4.0.
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
2004-08-12 20:36:07 +00:00
a0a9b026a5 Fixes for api changes in mail/ for 61940.
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
2004-07-28 18:06:31 +00:00
34b244a041 removed unused static variable listener_vepv
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
2004-07-27 16:52:17 +00:00
7ddc126750 removed body content + signature html concatenating and call
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
2004-07-22 16:36:15 +00:00
5ce0c6c2bd include config.h. See #61395.
2004-07-20  Not Zed  <NotZed@Ximian.com>

        * e-msg-composer-attachment.c: include config.h.  See #61395.

svn path=/trunk/; revision=26695
2004-07-22 03:03:39 +00:00
59baf26287 ** Fix for #60387.
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
2004-06-18 05:59:16 +00:00
7ca7b54a79 clean up the code slightly.
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
2004-06-17 07:33:24 +00:00
dadf300d45 Don't connect to the key_pressed_event. (composer_key_pressed): Removed.
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
2004-06-14 17:46:30 +00:00
756eadbdf3 fix the name of "stock_save-as" everywhere
svn path=/trunk/; revision=26237
2004-06-07 15:36:39 +00:00
fcbe2d020d Use e_error_run() instead of the e_activation_error_dialog() stuff that no
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
2004-06-04 17:00:52 +00:00
c1afb96405 always insert new paragraph for signature
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
2004-06-03 15:16:05 +00:00
cd26a513df s/${0}/{0}/g
2004-05-27  Jeffrey Stedfast  <fejj@novell.com>

	* mail-composer-errors.xml: s/${0}/{0}/g

svn path=/trunk/; revision=26117
2004-05-27 22:06:37 +00:00
59751421bd Require e-error-tool
2004-05-27  Rodney Dawes  <dobey@novell.com>

	* e-util/Makefile.am (dist-hook): Require e-error-tool

2004-05-27  Rodney Dawes  <dobey@novell.com>

	* */Makefile.am (EXTRA_DIST): Add $(error_i18n) for "make dist"

svn path=/trunk/; revision=26114
2004-05-27 18:23:57 +00:00
7eaa6cfb91 use e-icon-factory sizes.
2004-05-25  Not Zed  <NotZed@Ximian.com>

        * e-msg-composer.c (pixcache[]): use e-icon-factory sizes.

svn path=/trunk/; revision=26071
2004-05-25 04:10:05 +00:00
ce318c4d3a if we have a cached icon, use it, don't just ignore it! #58831.
2004-05-25  Not Zed  <NotZed@Ximian.com>

        * e-msg-composer-attachment-bar.c (update): if we have a cached
        icon, use it, don't just ignore it!  #58831.

svn path=/trunk/; revision=26070
2004-05-25 03:24:01 +00:00
a472a2df13 don't dist the error .h file
004-05-19  JP Rosevear  <jpr@novell.com>

	* Makefile.am: don't dist the error .h file

svn path=/trunk/; revision=25980
2004-05-19 16:56:35 +00:00
a2a2f0b039 set the default for exit-unsaved to save, as in 1.4. #57995.
2004-05-18  Not Zed  <NotZed@Ximian.com>

        * mail-composer-errors.xml: set the default for exit-unsaved to
        save, as in 1.4.  #57995.

svn path=/trunk/; revision=25957
2004-05-18 09:13:35 +00:00
0e56658aaa fix for folder selector api change.
2004-05-18  Not Zed  <NotZed@Ximian.com>

        * e-msg-composer-hdrs.c (post_browser_clicked_cb): fix for folder
        selector api change.

svn path=/trunk/; revision=25949
2004-05-18 07:26:55 +00:00
bc754690be add for translators.
2004-05-12  Not Zed  <NotZed@Ximian.com>

        * mail-composer-errors.xml.h: add for translators.

        * mail-composer-errors.xml: renamed from xml.in file.

        * Makefile.am: Fix for i18n build stuff.

svn path=/trunk/; revision=25866
2004-05-12 03:32:39 +00:00
3957b2480e Use CAMEL_EXCEPTION_SYSTEM instead of '1', also don't use
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
2004-05-11 21:25:17 +00:00
48a354b2a2 Fixing parts of #53466.
2004-05-08  Enver ALTIN <enver.altin@frontsite.com.tr>

        * e-msg-composer.c: Fixing parts of #53466.

svn path=/trunk/; revision=25829
2004-05-10 08:10:12 +00:00
8cd76b19d0 update
svn path=/trunk/; revision=25751
2004-05-03 13:59:54 +00:00
5b45fa406d header cleanups.
2004-05-03  Not Zed  <NotZed@Ximian.com>

        * e-msg-composer.c: header cleanups.

svn path=/trunk/; revision=25743
2004-05-03 10:27:28 +00:00
9e7d28c8bc ** Changed error messages to EError.
2004-04-28  Not Zed  <NotZed@Ximian.com>

        ** Changed error messages to EError.

svn path=/trunk/; revision=25652
2004-04-28 06:38:55 +00:00
c16f96602a duh, pass the string not the content type to the warning message. And
2004-04-27  Not Zed  <NotZed@Ximian.com>

        * e-msg-composer-attachment-bar.c (update): duh, pass the string
        not the content type to the warning message.  And derrr, print it
        for the actual error case, not the ok case.  Fixes #57680.

svn path=/trunk/; revision=25633
2004-04-27 14:58:59 +00:00
9fe61b12b4 Only unlink the original autosave draft file if we are successful in
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
2004-04-26 18:50:08 +00:00
38ca34ead3 forgot to save after i added bug #.
svn path=/trunk/; revision=25597
2004-04-23 08:21:52 +00:00
d32e4fd988 fallback to stock attach if we can't ifnd the icon.
2004-04-23  Not Zed  <NotZed@Ximian.com>

        * e-msg-composer-attachment-bar.c (update): fallback to stock
        attach if we can't ifnd the icon.

svn path=/trunk/; revision=25593
2004-04-23 05:46:05 +00:00
6a49b78893 Use the E_ICON_SIZE enums rather than specifying an absolute pixel size.
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
2004-04-19 21:44:54 +00:00
cc309ba614 Update the composer to use the icon theme via the EIconFactory object in
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
2004-04-19 15:20:26 +00:00
5de7b60f7a Work in progress, HIG'ing and de-coupling of errors.
svn path=/trunk/; revision=25493
2004-04-16 09:57:07 +00:00
f57b228500 Same idea here as with build_mesage(), don't convert th gconf charset
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
2004-04-15 18:55:33 +00:00
d06dd98d77 To be on the safe side (even though the real bug behind bug #51924 can't
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
2004-04-13 18:02:30 +00:00
4356297138 add missing debug wrapper back.
--Larry

svn path=/trunk/; revision=25434
2004-04-13 14:37:45 +00:00
badc5897b0 accept text/calendar drops.
2004-04-13  Larry Ewing  <lewing@ximian.com>

	* e-msg-composer.c (drag_data_received): accept text/calendar
	drops.

svn path=/trunk/; revision=25433
2004-04-13 14:20:54 +00:00
cb3a5cdddc EABDestination -> EDestination. (e_msg_composer_hdrs_to_message_internal):
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
2004-04-09 17:31:24 +00:00
e716c8bc98 Reversed the logic for setting the signature menu to "None" (only set it
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
2004-04-07 18:29:10 +00:00
ff9f3a465f ops, saved it this time
svn path=/trunk/; revision=25341
2004-04-06 18:21:14 +00:00
c1cbf40e62 (set_editor_text): added pad_signature parameter to tell if we
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
2004-04-06 18:18:51 +00:00
e39f992205 added empty hbox so that we have 12pxs between account setting and
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
2004-04-06 18:09:41 +00:00
fed285f6e5 Revert Radek's last change to fix bug #56381.
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
2004-04-02 18:25:45 +00:00
078b9979bc dumb fix
svn path=/trunk/; revision=25292
2004-04-02 02:25:07 +00:00
4987b8f935 Fixed some breakage I introduced in the changes below.
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
2004-04-02 02:18:54 +00:00
adc6bcdfee simplify menu_item_set_label()
svn path=/trunk/; revision=25289
2004-04-01 21:41:54 +00:00
e0f8febd78 Updated to use the new signature APIs. (signature_added): _()ify the
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
2004-04-01 21:17:09 +00:00
aaa36b86af Updated to use the new signature APIs.
2004-04-01  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer.c: Updated to use the new signature APIs.

svn path=/trunk/; revision=25284
2004-04-01 19:55:05 +00:00
13e4a8b61b Fixed missing headers now mail/* doesn't include gtk/*, camel/*, and
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
2004-03-31 10:08:03 +00:00
724507dfa6 do not add <br> between text and signature
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
2004-03-29 17:32:59 +00:00
17d85681a4 do not set editor insensitive, use editable-off command instead
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
2004-03-22 18:35:27 +00:00