2001-08-19 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (save_draft): Reset the "changed" state to
FALSE after a successful save.
svn path=/trunk/; revision=12224
2001-07-12 Peter Williams <peterw@ximian.com>
* e-msg-composer.c (map_default_cb): New function. Figure out
which widget gets the default and assign it. Harder to do than
it sounds.
(e_msg_composer_construct): Hook map_default_cb up to the "map"
signal.
(set_focus_to_editor): Removed.
(set_focus_to_editor_idle): Removed.
svn path=/trunk/; revision=12037
2001-08-10 Jon Trowbridge <trow@ximian.com>
* e-msg-composer-hdrs.c (set_recipients): Removed comment about
the need to resolve nicknames properly, because we now do that.
2001-08-10 Jon Trowbridge <trow@ximian.com>
* e-filter-bar.h: Set the subitems to NULL in the pre-defined
ESearchBarItems.
* e-filter-bar.c (rule_editor_clicked): Set the ESearchBarItem's
subitems to NULL.
(build_items): Set the ESearchBarItem's subitems to NULL.
(e_filter_bar_new): Set the ESearchBarItem's subitems to NULL.
* e-search-bar.c: Added support for subitems, so that a search
option can key off of another option menu rather than just an
entry.
2001-08-10 Jon Trowbridge <trow@ximian.com>
* gui/component/addressbook.c: Set the ESearchBarItem
subitems explicitly to NULL.
2001-08-10 Jon Trowbridge <trow@ximian.com>
* gui/cal-search-bar.c: Where we have ESearchBarItems, set their
subitems to NULL.
2001-08-10 Jon Trowbridge <trow@ximian.com>
* folder-browser.c: Set our ESearchBarItems subitems to NULL.
svn path=/trunk/; revision=11904
2001-08-09 Radek Doulik <rodo@ximian.com>
* e-msg-composer.c (set_focus_to_editor): new helper function,
just setup idle callback to grab focus
(set_focus_to_editor_idle): grab focus for editor, before we have
better solution, it run grab-focus command on editor control
(e_msg_composer_construct): call prepare_engine here, set focus to
editor
svn path=/trunk/; revision=11875
2001-08-10 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (autosave_manager_query_load_orphans): Don't
forget to closedir() when we finish with dir.
svn path=/trunk/; revision=11872
2001-08-09 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (from_changed_cb): Set the smime/pgp
always-sign options when here so it updates when the user changes
his/her identity.
svn path=/trunk/; revision=11840
2001-08-08 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (e_msg_composer_get_message_draft): Set the
PGP/MIME and S/MIME options to FALSE before getting the message
draft and restore the values afterward.
svn path=/trunk/; revision=11802
2001-08-06 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (add_inlined_image): Use g_basename().
(setup_ui): Get the default charset from the mail config db.
svn path=/trunk/; revision=11716
2001-07-31 Peter Williams <peterw@ximian.com>
* evolution-message-composer.xml: Add "Customize Toolbars" menu item
and command.
composer:
2001-07-31 Peter Williams <peterw@ximian.com>
* e-msg-composer.c (setup_ui): Set the config path for the composer so
that the customize toolbar command works.
svn path=/trunk/; revision=11529
* e-msg-composer.c (get_signature_html): "-- \n" is 4 chars long,
so when checking if it's already in the sig, strncmp should check
4 chars, not 3.
svn path=/trunk/; revision=11447
2001-07-26 Jon Trowbridge <trow@ximian.com>
* backend/ebook/e-card.c: Removed some debugging chatter.
* gui/component/select-names/e-select-names-manager.c
(e_select_names_manager_create_entry): Store the completion
handler in the entry's object data.
* gui/component/select-names/e-select-names-bonobo.c
(entry_get_property_fn): Added support for getting "destinations"
and "allow_contact_lists" properties.
(entry_set_property_fn): Added support for setting "destinations"
and "allow_contact_lists" properties.
(impl_SelectNames_get_entry_for_section): Added definitions for
"destinations" and "allow_contact_lists" properties.
* gui/component/select-names/e-select-names-completion.c
(e_select_names_completion_get_match_contact_lists): Added.
(e_select_names_completion_set_match_contact_lists): Added.
Controls whether contact lists are offered as options during
completion.
(book_query_process_card_list): Check if match_contact_lists
is set before (duh!) matching on a contact list.
(e_select_names_completion_init): Set match_contact_lists
to TRUE by default.
2001-07-26 Jon Trowbridge <trow@ximian.com>
* e-msg-composer-hdrs.c (set_recipients): Get "destinations",
rather than "text" from the entry_widget. (The getters/setters in
the control have been made more symmetric.)
svn path=/trunk/; revision=11422
2001-07-18 Jason Leach <jleach@ximian.com>
* e-msg-composer-hdrs.c (create_from_optionmenu): Update to the
new way of finding the default account.
svn path=/trunk/; revision=11219
2001-07-17 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (drag_data_received): Correctly handle
text/uri-list's that contain more than a single file reference.
svn path=/trunk/; revision=11173
2001-07-12 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (menu_changed_charset_cb): Removed a warning
that I don't need anymore. This code is working wonderfully ;-)
svn path=/trunk/; revision=11074
2001-07-09 Larry Ewing <lewing@ximian.com>
* e-msg-composer.c (autosave_manager_query_load_orphans): Only ask
once about recovery, assume if they want to recover one file they
want to recover all of them.
svn path=/trunk/; revision=10948
2001-07-09 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (e_msg_composer_new_with_message): Use
camel_internet_address_format_address rather than
camel_address_encode since we want display-friendly addresses.
svn path=/trunk/; revision=10930
* e-msg-composer.c (composer_shutdown): Do the
autosave_manager_unregister at shutdown time instead of destroy
time (by which point the contents of the window, including the
remote editor control, will have already been destroyed).
svn path=/trunk/; revision=10913
2001-07-07 Jon Trowbridge <trow@ximian.com>
* e-msg-composer-hdrs.c (set_recipients): Make sure that our
destination string (dest_str) is not the empty string before we
try to use it.
svn path=/trunk/; revision=10880
2001-07-06 Larry Ewing <lewing@ximian.com>
(autosave_manager_query_load_orphans): remove zero length orphans
so that they don't clutter things up.
svn path=/trunk/; revision=10874
2001-07-06 Larry Ewing <lewing@ximian.com>
(best_encoding): make sure we don't try to call iconv_open with a
NULL tocode.
svn path=/trunk/; revision=10872
2001-07-06 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer-attachment.c (e_msg_composer_attachment_new):
Convert the filename string to UTF8 before setting it on the
CamelMimePart because that code expects it to be in UTF8.
svn path=/trunk/; revision=10869
2001-07-06 Larry Ewing <lewing@ximian.com>
* e-msg-composer.c (autosave_manager_query_load_orphans): only ask
if there are actually contents in the file. Asking about an
emptry fil is not very useful.
(autosave_load_draft): add some sanity chacks.
(autosave_run_foreach_cb): remove debugging warning.
svn path=/trunk/; revision=10863
* e-msg-composer.c (do_exit): Call autosave_manager_unregister
before destroying the composer, so gtkhtml-editor-control doesn't
try to act on a destroyed GtkHTML widget.
(destroy): Remove the autosave_manager_unregister from here.
svn path=/trunk/; revision=10850
2001-07-06 Larry Ewing <lewing@ximian.com>
* e-msg-composer.c (autosave_manager_unregister): make sure we
only remove the file if we think we saved it properly.
(autosave_manager_stop): make sure we set the timeout back to 0 so
that we will restart next time since we stop the timer when there
are no active composers.
(destroy): move this to the beginning of the destroy process.
(autosave_save_draft): add a return value indicating success.
(autosave_manager_register): go ahead and ask next time.
svn path=/trunk/; revision=10839
* e-msg-composer.c: add ask argment.
(autosave_manager_query_load_orphans): move the load loop out of
the dir reading loop.
(autosave_manager_new): move initialization out or register.
(autosave_manager_register): protect against recursion with ask.
(init): call new, this still needs to be moved.
svn path=/trunk/; revision=10837
2001-07-05 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (save): Play the "File exists, overwrite?"
game.
(autosave_run_foreach_cb): Change the return val from a gboolean
to void.
svn path=/trunk/; revision=10824
2001-07-04 Larry Ewing <lewing@ximian.com>
* e-msg-composer.c (autosave_load_draft): attach send and postpone
handlers. and be more tolerant of errors.
svn path=/trunk/; revision=10778
2001-07-03 Larry Ewing <lewing@ximian.com>
* e-msg-composer.c (autosave_save_draft): make sure we seek to the
begining.
svn path=/trunk/; revision=10773
2001-07-03 Larry Ewing <lewing@ximian.com>
* e-msg-composer.h: remove the timer id.
* e-msg-composer.c: use autosave manager.
(autosave_save_draft): moved initialization to
autosave_init_file. Only save the buffer if we get a valid
message.
(autosave_load_draft): unlink the old file, we own it now. and
unref the stream when we are done with it.
(autosave_is_owned): check if we own the file, this needs to be
extended to check for other valid processes.
(autosave_query_load_orphans): make this search through the
managers list as it walks the dir.
(autosave_query_load_orphans): make sure we use the full path.
(autosave_run_foreach_cb): timeout foreach handler.
(autosave_run): the timeout function.
(autosave_start): start timer.
(autosave_stop): stop timer.
(autosave_register): register a composer with the autosave manager.
(autosave_unregister): unregister a composer.
(destroy): unregister the composer, everything is okay.
(init): register the composer.
svn path=/trunk/; revision=10762
2001-07-02 Larry Ewing <lewing@ximian.com>
* e-msg-composer.c (autosave_query_load_orphans): querythe user to
check if they want to load any orphans we've found.
(autosave_query_cb): the dialog callback.
(autosave_is_orphan): test if if a particular file is orphaned.
(autosave_load_draft): load a message from an autosave file.
(autosave_save_draft): save the current buffer to the autosave file.
svn path=/trunk/; revision=10761
2001-07-02 Christopher James Lahey <clahey@ximian.com>
* configure.in: Made evolution depend on bonobo-conf 0.2.
From calendar/ChangeLog:
2001-07-02 Christopher James Lahey <clahey@ximian.com>
* gui/Makefile.am (INCLUDES): Added $(BONOBO_CONF_CFLAGS).
(evolution_calendar_LDADD): Added $(BONOBO_CONF_LIBS).
From composer/ChangeLog:
2001-07-02 Christopher James Lahey <clahey@ximian.com>
* Makefile.am (INCLUDES): Added $(BONOBO_CONF_CFLAGS).
From shell/ChangeLog:
2001-07-02 Christopher James Lahey <clahey@ximian.com>
* Makefile.am (INCLUDES): Added $(BONOBO_CONF_CFLAGS).
(evolution_LDADD): Added $(BONOBO_CONF_LIBS).
svn path=/trunk/; revision=10718
2001-07-02 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer-attachment-bar.c (attach_to_multipart): Set the
user-chosen charset.
* e-msg-composer.c (menu_change_charset_cb): New callback function
to get the user-set charset.
(init): Set the charset to NULL.
(best_charset): Take a default_charset param that holds the value
the user set for this particular message using the menu.
(destroy): Free the charset.
svn path=/trunk/; revision=10704
2001-06-30 Jon Trowbridge <trow@ximian.com>
* e-msg-composer-hdrs.c (set_recipients): Touch all of our
EDestinations before we unref them, updating the last-use records
in the addressbook.
svn path=/trunk/; revision=10627
2001-06-29 Larry Ewing <lewing@ximian.com>
* mail-callbacks.c (create_msg_composer): make sure we show the
sig file.
* e-msg-composer.c (e_msg_composer_show_sig_file): remove now
invalid argument in the documentation.
svn path=/trunk/; revision=10616
2001-06-28 Radek Doulik <rodo@ximian.com>
* e-msg-composer.c: removed obsolete e_msg_composer_get_sig_file
* e-msg-composer.h: removed sig_file field from EMsgComposer
* e-msg-composer.c (e_msg_composer_get_sig_file_content): exported
(get_file_content): make it const safe
(e_msg_composer_get_sig_file_content): refactored, don't try to be
clever about signature filename, as it's exact now
(get_signature_html): use has_html_signature flag
(e_msg_composer_show_sig_file): renamed from
e_msg_composer_set_sig_file, removed sig_file parameter as it's
obsolete now
(e_msg_composer_new_with_sig_file): removed obsolete parameters
svn path=/trunk/; revision=10579