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
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
2004-02-06 Rodney Dawes <dobey@ximian.com>
* e-msg-composer-attachment-bar.c: add accel and icon for
the "remove" item in the popup menu.
Patch from Paolo Borelli <pborelli@katamail.com>
svn path=/trunk/; revision=24653
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
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
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
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
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
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
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
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
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
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
2003-12-04 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer-hdrs.c (create_headers): Unifdef out the post-to
code and fix it to use the new folder selection button.
(e_msg_composer_hdrs_set_post_to): Same.
(e_msg_composer_hdrs_get_post_to): Same.
svn path=/trunk/; revision=23634
* gui/component/addressbook-config.c: Do not depend on
e-folder-list.
* gui/component/select-names/e-select-names.c: Remove dependency
on evolution-folder-selector-button.
(e_addressbook_create_folder_selector): Just return a FIXME label
for now.
(folder_selected): #if 0 out.
(e_select_names_init): Do not connect.
* gui/component/select-names/e-select-names-manager.c
(e_select_names_manager_activate_dialog): Don't get a shell_client
arg anymore.
(load_completion_books): Stub out.
* gui/component/select-names/e-select-names.c
(e_select_names_new): Don't get an EvolutionShellClient anymore.
Don't create the folder selector button for now.
* gui/component/select-names/e-select-names.h: Remove dependency
on evolution-shell-client.
* gui/component/select-names/e-select-names-bonobo.c: Remove
dependency on evolution-shell-client.
(impl_SelectNames_activate_dialog): Stub out.
* gui/widgets/eab-gui-util.c: Remove dependency on
evolution-shell-client.
(eab_transfer_contacts): Stub out.
* importers/icalendar-importer.c: Do not #include shell stuff.
* gui/main.c: Do not #include <evolution-shell-client.h>.
* gui/e-itip-control.c: Do not #include
<e-folder-selector-button.h> nor <evolution-shell-client.h>.
(start_default_server): Return FALSE.
(default_server_started_cb): Do not connect the "selected" signal
on the button since it's now NULL.
(button_selected_cb): #if 0 out.
* gui/e-cal-list-view.h: Do not #include
"evolution-activity-client.h".
* gui/tasks-component.c (impl_createControls): Give an empty label
for the status bar.
* gui/e-day-view.h: Remove all deps on evolution-activity-client.
* e-msg-composer-hdrs.c: Do not #include
<evolution-folder-selector-button.h>.
(e_msg_composer_hdrs_set_post_to): #if 0 out for now.
(e_msg_composer_hdrs_get_post_to): Likewise.
* mail-vfolder.c: Do not #include "evolution-shell-component.h".
* Makefile.am (libevolution_mail_la_SOURCES): Don't compile
mail-importer.[ch] for now.
* mail-component-factory.c: Do not #include
<evolution-shell-client.h>.
* mail-config.c: Likewise.
* mail-vfolder.h: Do not #include <evolution-storage.h> or
<evolution-shell-component.h>.
* mail.h: Do not #include <evolution-storage.h>.
* mail-ops.h: Do not #include <evolution-storage.h>.
(mail_scan_subfolders): Remove prototype.
(mail_update_subfolders): Likewise.
svn path=/trunk/; revision=23595
2003-12-01 Rodney Dawes <dobey@ximian.com>
* Use BASE_VERSION for repo_ids and OAFIIDs
* Update killev to kill the correct versions of gnome-spell and the
GtkHTML Editor
svn path=/trunk/; revision=23543
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
stuff for now (it requires the global_shell_client and the
evolution_folder_selector_button which we don't have anymore).
svn path=/trunk/; revision=23504
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
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
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
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
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
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
2003-09-13 Charles Zhang <charles.zhang@sun.com>
* e-msg-composer-attachment-bar.c (remove_attachment): Add some
assertion. Send Close response signal to the properties dialog
while removeing an attachment.
* e-msg-composer-attachment-bar.c (remove_selected): Fix a re-
remove-attachment bug. [#48466]
svn path=/trunk/; revision=22656
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
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
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
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
2003-08-13 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer-attachment-bar.c (update): This needs to use
camel_data_wrapper_decode_to_stream() rather than
write_to_stream(). Also simplify a bit - no sense looping to load
the pixbuf data into the gdk-pixbuf loader 4K at a time when we
have the whole thing in a memory buffer already. Once done, unref
the stream instead of closing it so we don't leak.
(attach_to_multipart): Use decode_to_stream().
* e-msg-composer-attachment.c (e_msg_composer_attachment_new):
Avoid constructing thwe data-wrapper from the stream twice for
message/rfc822 parts.
svn path=/trunk/; revision=22213
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
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