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 Jeffrey Stedfast <fejj@ximian.com>
* camel-mime-utils.c (header_encode_param): Don't allow in to be
NULL, so instead of doing if (in == NULL) return;, make it a
g_return_val_if_fail and later we can make it an assert or
something.
svn path=/trunk/; revision=10868
2001-07-06 Larry Ewing <lewing@ximian.com>
* mail-callbacks.c (composer_send_cb): add a NULL check since that
is a valid return.
svn path=/trunk/; revision=10866
2001-07-06 Jason Leach <jleach@ximian.com>
[Misc fixes and part of #2228, There should be no dialog boxes
during startup.]
* e-setup.c (e_setup): Check for searches.xml instead of
shortcuts.xml, since shortcuts.xml doesn't really need to exist
(and thus wouldn't be a necessary test whether ~/evolution was
invalid) because shell can generate shortcuts.
(copy_default_stuff): For first time users, only present a dialog
if a problem occurred. We've already clicked "Ok" on a dialog
about copying files.
(check_evolution_directory): Take out the "successfully installed"
dialog on updates too.
svn path=/trunk/; revision=10864
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
2001-07-06 JP Rosevear <jpr@ximian.com>
* gui/dialogs/meeting-page.c (init_widgets): connect to the entry
not the combo
* gui/dialogs/event-editor.c (set_menu_sens): set menu
sensitivities based on whether or not the meeting page is shown
(event_editor_init): call above
(event_editor_edit_comp): ditto
(schedule_meeting_cmd): ditto
* gui/dialogs/comp-editor.h: new proto
* gui/dialogs/comp-editor.c (comp_editor_set_ui_prop): new
function to allow for set of ui props (esp. "sensitive")
svn path=/trunk/; revision=10861
2001-07-06 Christian Rose <menthos@menthos,com>
* sv.po: Fixed and updated Swedish translation. Thanks to
Göran Uddeborg <goeran@uddeborg.pp.se> and
Anders Carlsson <andersca@gnu.org> for their suggestions.
svn path=/trunk/; revision=10859
2001-07-06 Jeffrey Stedfast <fejj@ximian.com>
* providers/local/camel-mbox-summary.c
(camel_mbox_summary_build_from): Make the `day-of-month' digit
take up 2 chars by using "%2d". Fixes bug #3989 for lame mailers
like Pine.
svn path=/trunk/; revision=10858
2001-07-06 Peter Williams <peterw@ximian.com>
* mail-format.c (format_mime_part): Prevent infinite recursion when
viewing attachments that we can't / shouldn't display but are some
form of plaintext. Cf bug #2234
svn path=/trunk/; revision=10857
2001-07-06 JP Rosevear <jpr@ximian.com>
* gui/dialogs/meeting-page.c (clear_widgets): actually clear some
widgets and hide/show widgets in the default setup
(meeting_page_destroy): destroy the address lists
(meeting_page_fill_widgets): allow the user to select among their
identities as a new organizer, or show the existing organizer as
label
(meeting_page_fill_component): set the "MAILTO:" bit of the
organizer to match spec, set CN properly if we know it
(get_widgets): load new widgets
(other_clicked_cb): handle "Other Organizer" click
(change_clicked_cb): handle "Change Organizer" click
(init_widgets): listen for clicks on new buttons
* gui/dialogs/comp-editor.c (comp_editor_remove_page): remove the
page from our internal list and unref it
* gui/itip-utils.c (itip_addresses_get): get the configure mail
identities
(itip_addresses_free): free a list of identities returned by
itip_addresses_get
* gui/itip-utils.h: remove obsolete protos, and new protos
* gui/gnome-cal.html: Remove ancient file
svn path=/trunk/; revision=10856
2001-07-06 Jeffrey Stedfast <fejj@ximian.com>
* folder-browser.c (folder_browser_copy): Mark the messages as
Seen also.
(folder_browser_class_init): Create an atom type for
X-Evolution-Message selection type.
(my_folder_browser_init): Add our multiple selection types, one of
which is the default string type.
* component-factory.c (destination_folder_handle_drop): Update to
use the new X-Evolution-Message type format.
* folder-browser.c (selection_get): Convert the
X-Evolution-Message clipboard type to whatever format the target
wants.
(message_list_drag_data_get): Update because the
X-Evolution-Message type changed.
(folder_browser_copy): Same.
(x_evolution_message_parse): And here too.
svn path=/trunk/; revision=10853
2001-07-06 Peter Williams <peterw@ximian.com>
* mail-callbacks.c (composer_postpone_cb): Don't free the psd here --
it will be freed on the "destroy" signal.
* mail-folder-cache.c (maybe_update): Instead of an idle, use a very
short timeout in hopes of reducing the number of redundant updates.
* mail-tools.c (mail_tool_uri_to_folder): Only note the folder in the
cache if we successfully got it.
svn path=/trunk/; revision=10852
* 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 Jason Leach <jleach@ximian.com>
* mail-callbacks.c (delete_msg): Select the very next message
after deleting, not the next undeleted (it can make things jump
around in annoying ways if you are deleting many messages), bug #4032.
* folder-browser.c: Forgot to commit the "Mark as Important" right
click menu item.
* message-list.c (message_list_set_folder): Setup the strikeout
column here (after we've gotten the folder) so we can disable
strikeouts for vtrash folders, part of bug #2224.
svn path=/trunk/; revision=10849
* mail-folder-cache.c (mail_folder_cache_set_folder_browser): Fix
obvious bug in previous bugfix: Pass "fb" to check_for_fb_match()
so only the selected folder gets updated, instead of "all folders
that haven't yet been selected".
svn path=/trunk/; revision=10846
2001-07-06 Peter Williams <peterw@ximian.com>
* camel-object.c (camel_object_unref): Make sure that after the
finalization event has happened and the finalization functions
have been called that the object still has a zero refcount.
svn path=/trunk/; revision=10844
* gui/component/addressbook-component.c (populate_context_menu):
Removed. [It was just bogus testing code for the right-click menu
populating interface in the shell].
(factory_fn): Pass NULL as the PopulateContextMenuFn.
svn path=/trunk/; revision=10843
folders.]
* e-local-storage.c (remove_folder): Don't free the
`physical_path' on error, as it gets freed when freeing the
callback data.
svn path=/trunk/; revision=10842
that it only happens in the mailer (which is the only component
actually using this).
For some reason it still doesn't work properly (i.e. the menu item
currently does nothing), but I haven't quite figured out why yet.
svn path=/trunk/; revision=10840
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
2001-07-06 Joe Shaw <joe@ximian.com>
* providers/nntp/camel-nntp-grouplist.c: Add locking to
camel_nntp_get_grouplist_from_server().
* providers/nntp/camel-nntp-resp-codes.h: Added
NNTP_EXTENSIONS_SUPPORTED (202).
* providers/nntp/camel-nntp-store.c (camel_nntp_store_get_extensions):
Check for both NNTP_LIST_FOLLOWS and NNTP_EXTENSIONS_SUPPORTED from
a LIST EXTENSIONS request. (Dunno if NNTP_LIST_FOLLOWS ever comes
out of this, but that's what was already there...) Also, put some
locking around it.
(finalize): e_mutex_destroy() the command lock
(camel_nntp_store_init): e_mutex_new() the command lock.
* providers/nntp/camel-nntp-store.h: Add locking macros.
svn path=/trunk/; revision=10838
* 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>
* camel-folder-summary.c (camel_message_info_string): Added an
assert to make sure that `mi' isn't NULL.
(camel_message_info_set_string): Same.
* providers/imap/camel-imap-command.c (camel_imap_response_free):
Create and use a temporary CamelException for use with
camel_imap_folder_changed.
svn path=/trunk/; revision=10834
2001-07-05 Jeffrey Stedfast <fejj@ximian.com>
* camel-pgp-context.c (pgp_verify): Send the
--no-auto-key-retrieve argument to gpg if we are in offline mode
so that we don't have to worry about gpg hanging if it can't
connect to the key servers, because now it shouldn't even attempt
to.
svn path=/trunk/; revision=10831
2001-07-05 Anna Marie Dirks <anna@ximian.com>
* gui/contact-list-editor/contact-list-editor.glade:
Added some accelerators, padding, and a "memebers" frame;
also fixed spacing and growth behaviour of this dialog.
svn path=/trunk/; revision=10830
* gui/contact-list-editor.glade: Added some accelerators, some
better spacing, some reasonable padding, a "members" frame
and otherwise beautified this file.
svn path=/trunk/; revision=10829
2001-07-05 Jeffrey Stedfast <fejj@ximian.com>
* camel-pgp-context.c (pgp_verify): Send the
--no-auto-key-retrieve argument to gpg so that we don't have to
worry about gpg hanging if it can't connect to the key servers,
because now it shouldn't even attempt to.
svn path=/trunk/; revision=10827
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-05 Jeffrey Stedfast <fejj@ximian.com>
* mail-accounts.c (construct): Add a checkbox for prompting when
sending a message with an empty subject.
* mail-ops.c (mail_send_message): If filtering fails, return right
away.
svn path=/trunk/; revision=10821
2001-07-05 Peter Williams <peterw@ximian.com>
* configure.in (SYSTEM_MAIL_DIR): Make sure /var/mail
isn't a symbolic link such as on Red Hat 7.
svn path=/trunk/; revision=10820