* mail-ops.c (transfer_messages_transfer): Simplify. Use
transfer_messages_to instead of picking between copy and move.
Remove vtrash special-casing since it's all in
camel-vtrash-folder.c now. Remove duplicate source == dest check.
* mail-local.c (mail_local_folder_reconfigure): Use
transfer_messages_to instead of copy_messages_to.
svn path=/trunk/; revision=16745
2002-05-09 Jeffrey Stedfast <fejj@ximian.com>
* mail-account-gui.c (mail_account_gui_save): Make sure that even
if the new source url is NULL, that we preserve the enabledness of
the source.
svn path=/trunk/; revision=16737
* e-local-storage.c (construct): Pass %FALSE as
@has_shared_folders to evolution_storage_new().
* evolution-storage.c: New member has_shared_folders in
EvolutionStoragePrivate.
(init): Initialize to FALSE.
(evolution_storage_new): New arg @has_shared_folders.
(evolution_storage_construct): Likewise.
(impl_Storage__get_folderList): Renamed from
impl_Storage__get_folder_list.
(impl_Storage__get_hasSharedFolders): New, implementation for
::hasSharedFolders.
(evolution_storage_get_epv): Install the CORBA method
implementation.
* Evolution-Storage.idl: Make Storage::name a readonly attribute. New attribute Storage::
* component-factory.c (add_storage): Pass %FALSE as
@has_shared_folders to evolution_storage_new().
* gui/component/addressbook-storage.c
(addressbook_get_other_contact_storage): Pass %FALSE as
@has_shared_folders to evolution_storage_new().
svn path=/trunk/; revision=16733
2002-05-08 Not Zed <NotZed@Ximian.com>
* mail-autofilter.c (mail_filter_rename_uri): Changed for
rule_context_rename_uri api changes.
(mail_filter_delete_uri): Same. Also, popup a dialogue similar to
vfolder deleted dialogue to notify the user something has
changed. Partial fix for #18826.
svn path=/trunk/; revision=16720
2002-05-06 Jeffrey Stedfast <fejj@ximian.com>
* mail-ops.c (filter_folder_free): Flush the filter log to make
Tuomas happy :-)
* mail-session.c (mail_session_flush_filter_log): New convenience
function to flush the session's filter log file.
svn path=/trunk/; revision=16696
2002-05-06 Jeffrey Stedfast <fejj@ximian.com>
* mail-callbacks.c (mail_reply): Set the Seen flag as well since
it's safe to assume that if the user has replied to an email
message that he has read it. Not always true, but usually ;-)
svn path=/trunk/; revision=16693
2002-05-06 Jeffrey Stedfast <fejj@ximian.com>
* folder-browser.c (on_right_click): If we are in a
Sent/Drafts/Outbox folder, don't show the "Add Sender to
Addressbook" menu item.
svn path=/trunk/; revision=16692
2002-05-06 Not Zed <NotZed@Ximian.com>
* component-factory.c (idle_quit): Check all threads are idle as
well, using new e_thread_busy call. Should fix#22553? Also
sleep a little bit, to let the other threads run.
svn path=/trunk/; revision=16684
2002-05-01 Jeffrey Stedfast <fejj@ximian.com>
* folder-browser.c (on_right_click): Fix the filter_menu static
array to use the E_POPUP_MENU_CC macros since we plan on using
custom closures for this.
(on_right_click): Fixed so that you can "Edit as New" for any Sent
folder and not just the local Sent folder.
svn path=/trunk/; revision=16657
2002-05-01 Jeffrey Stedfast <fejj@ximian.com>
* folder-browser.c (on_right_click): Fix the filter_menu static
array to use the E_POPUP_MENU_CC macros since we plan on using
custom closures for this.
svn path=/trunk/; revision=16656
2002-05-01 Not Zed <NotZed@Ximian.com>
* folder-browser.h (FOLDER_BROWSER_IS_DESTROYED): Also check
folder!=NULL. Fixes race where folder isn't setup yet, and
neither is bonobo menu status (because its delayed), and we get a
menu event before we're setup yet. For bug #21939.
svn path=/trunk/; revision=16653
* mail-callbacks.c (delete_msg): If the folder's permanent_flags
don't include CAMEL_MESSAGE_DELETED, don't do anything. (In
particular, don't move the cursor.)
svn path=/trunk/; revision=16645
2002-04-29 Jeffrey Stedfast <fejj@ximian.com>
* message-tag-followup.c (message_tag_followup_append_message):
Convert UTF-8 to gtkstrings since we are using a clist and not an
E-widget that takes UTF-8.
* mail-display.c (mail_display_add_url): If the data-urls is NULL,
add a data-urls hash to the datalist. This finishes up bug #90.
svn path=/trunk/; revision=16640
2002-04-29 Jeffrey Stedfast <fejj@ximian.com>
* mail-account-gui.c (save_service): Strip leading/trailing
whitespace from the username because users sometimes accidently
add extra spaces here and there. Fixes bug #24009 (along with a
number of other "bugs").
(mail_account_gui_auto_detect_extra_conf): Use a CamelURL instead
of a GHashTable *settings. Also parse out the port # from the
hostname.
svn path=/trunk/; revision=16633
2002-04-29 Jeffrey Stedfast <fejj@ximian.com>
* mail-account-gui.c (save_service): Strip leading/trailing
whitespace from the username because users sometimes accidently
add extra spaces here and there. Fixes bug #24009 (along with a
number of other "bugs").
svn path=/trunk/; revision=16632
2002-04-29 Larry Ewing <lewing@ximian.com>
* mail-config-factory.c (config_control_factory_cb): handle
requests for the font manager control.
* mail-config.glade: add fonts tabs and reorder composer options
to match the new dialogs from anna.
* GNOME_Evolution_Mail.oaf.in: add font manager control definition.
* mail-composer-prefs.c (mail_composer_prefs_construct): hook to
the gtkhtml propmanager.
(mail_composer_prefs_apply): apply propmanager changes.
(mail_composer_prefs_finalise): unref the propmanager.
* mail-composer-prefs.h: add propmanager member.
* mail-font-prefs.c: initialize gui properly.
* mail-preferences.c (mail_preferences_construct): hook to
gtkhtml's propmanager.
(mail_preferences_apply): apply propmanager changes.
(mail_preferences_finalise): unref the propmanager.
* mail-preferences.h: add propmanager member.
* Makefile.am (evolution_mail_SOURCES): add mail-font-prefs.[ch]
to the build.
svn path=/trunk/; revision=16627
2002-04-29 Larry Ewing <lewing@ximian.com>
* mail-tools.c (mail_tool_quote_message): use the html reply logic
even for plain parts so that we can test out the new gtkhtml cite logic.
svn path=/trunk/; revision=16626
2002-04-29 Larry Ewing <lewing@ximian.com>
* importers/evolution-mbox-importer.c (process_item_fn): add const
to silence warning.
* mail-display.c: add gtkhtml.h include so to pick up the
object_relative prototype.
svn path=/trunk/; revision=16625
2002-04-26 Jeffrey Stedfast <fejj@ximian.com>
* mail-callbacks.c (next_unread_msg): Do away with the
goto-next-folder stuff, it's very annoying.
svn path=/trunk/; revision=16607
2002-04-26 Jeffrey Stedfast <fejj@ximian.com>
* mail-config-druid.c (extra_prepare): After building the extra
config options into a Gtk form, auto-detect any values that we can
and populate them by calling
mail_account_gui_auto_detect_extra_conf.
* mail-account-gui.c (mail_account_gui_auto_detect_extra_conf):
New function to auto-detect the extra config options for a source.
svn path=/trunk/; revision=16598
2002-04-24 Jeffrey Stedfast <fejj@ximian.com>
* mail-account-gui.c (mail_account_gui_build_extra_conf): Allow
providers to override text entry boxes too.
(source_type_changed): Remove the logic to decide upon default
paths, these paths can now be set by the provider.
svn path=/trunk/; revision=16581
2002-04-24 Jeffrey Stedfast <fejj@ximian.com>
* folder-browser.c (label_menu): Update to use
E_POPUP_MENU_PIXMAP_WIDGET_ITEM_CC so that our callback gets
called without per-item closure rather than being called with NULL
and causing a segfault.
svn path=/trunk/; revision=16578
2002-04-24 Jeffrey Stedfast <fejj@ximian.com>
* mail-account-gui.c (mail_account_gui_build_extra_conf): Set the
default Username label and handle the new
CAMEL_PROVIDER_CONF_LABEL enum allowing the provider to setup a
label.
svn path=/trunk/; revision=16576
2002-04-23 Jeffrey Stedfast <fejj@ximian.com>
* mail-accounts.c: Added back the checkmark icon for enabled
accounts.
(account_able_clicked): Don't reload the accounts list, that was
just lame.
svn path=/trunk/; revision=16571
2002-04-19 Jeffrey Stedfast <fejj@ximian.com>
* mail-display.c (stream_write_or_redisplay_when_loaded): Ref the
html object here, this is an async handler so it's possible for
our caller (or someone else) to unref the html object before we
finish.
(load_content_free): Unref the async handler's ref of the html
object here.
(mail_display_new): Ref the html widget here so that we can be
sure that so long as the mail-display is "alive", so is the html
object. See bug #22328 for details. Basically, the message-browser
is being closed before the message gets loaded and so the html
object was being destroyed but the mail-display was still alive.
(mail_display_destroy): Unref the html object when the
mail-display is destroyed.
svn path=/trunk/; revision=16544
2002-04-19 Anna Marie Dirks <anna@ximian.com>
* mail-config.glade: Added yet more accelerators for the new config
dialog--this time for the composer pages
svn path=/trunk/; revision=16543
2002-04-19 Anna Marie Dirks <anna@ximian.com>
* mail-config.glade: Added a bunch of accelerators for the new config
dialog
svn path=/trunk/; revision=16538
2002-04-18 Radek Doulik <rodo@ximian.com>
* mail-callbacks.c (do_mail_print): use default paper name in case
of wrong translation
svn path=/trunk/; revision=16516
2002-04-15 Not Zed <NotZed@Ximian.com>
* mail-identify.c (mail_identify_mime_part): Turn off the code
which downloads the part if we can't identify it. See discussion
in #11778.
svn path=/trunk/; revision=16504
2002-04-17 Christopher James Lahey <clahey@ximian.com>
* configure.in: Bumped required gal version number to 0.19.99.11.
From addressbook/ChangeLog:
2002-04-17 Christopher James Lahey <clahey@ximian.com>
* gui/component/select-names/e-select-names.c
(e_select_names_create_categories): Changed this to use
ECategoriesMasterListOptionMenu.
* gui/component/select-names/e-select-names.c
(section_right_click_cb),
gui/widgets/e-addressbook-reflow-adapter.c,
gui/widgets/e-addressbook-view.c: Updated these to match the new
EPopupMenu.
From calendar/ChangeLog:
2002-04-17 Christopher James Lahey <clahey@ximian.com>
* gui/e-calendar-table.c, gui/e-day-view.c, gui/e-week-view.c,
gui/dialogs/meeting-page.c: Updated these to match the new
EPopupMenu.
From mail/ChangeLog:
2002-04-17 Christopher James Lahey <clahey@ximian.com>
* folder-browser.c, mail-display.c: Updated these to match the new
EPopupMenu.
From shell/ChangeLog:
2002-04-17 Christopher James Lahey <clahey@ximian.com>
* e-activity-handler.c: Updated this to match the new EPopupMenu.
svn path=/trunk/; revision=16498
2002-04-17 Jeffrey Stedfast <fejj@ximian.com>
* mail-format.c (handle_multipart_signed): Handle broken
multipart/signed parts such as where the signature part is not the
last part (as it should be). Fixes bug #23583.
* folder-browser.c (message_list_drag_data_get): Free the temp
GByteArrays.
svn path=/trunk/; revision=16495
2002-04-17 Jeffrey Stedfast <fejj@ximian.com>
* mail-format.c (handle_multipart_signed): Handle broken
multipart/signed parts such as where the signature part is not the
last part (as it should be). Fixes bug #23583.
* folder-browser.c (message_list_drag_data_get): Free the temp
GByteArrays.
(setup_popup_icons): Connect to the destroy signal on the pixmap
objects using gtk_object_unref as the callback - this way when the
popup menu gets destroyed, the pixmaps clean themselves up.
(on_right_click): Same idea for the label_menu.
svn path=/trunk/; revision=16494
2002-04-17 Jeffrey Stedfast <fejj@ximian.com>
* mail-local.c (mail_local_folder_construct): Just use g_basename.
(mlf_finalize): Free the real_path.
* folder-browser.c (on_right_click): Unref the GdkGC so we don't
leak it.
svn path=/trunk/; revision=16493
2002-04-16 Jeffrey Stedfast <fejj@ximian.com>
* mail-config-factory.c (config_control_factory_cb): Ref the prefs
widget here since we unref in the destroy callback. Caught this
thanks to purify.
svn path=/trunk/; revision=16481
2002-04-12 Jeffrey Stedfast <fejj@ximian.com>
* mail-composer-prefs.c (mail_composer_prefs_construct): Make it
so that unchecking the "Enable Advanced Options" in the signature
tab disables the advanced settings and vise versa.
svn path=/trunk/; revision=16452
2002-04-12 Jeffrey Stedfast <fejj@ximian.com>
* mail-accounts.c (mail_accounts_tab_construct): Setup News
preferences too if it is enabled.
svn path=/trunk/; revision=16451
2002-04-12 Jeffrey Stedfast <fejj@ximian.com>
* mail-account-gui.c (mail_account_gui_new): Set the text of the
reply-to.
(mail_account_gui_save): Get the reply-to text here.
(mail_account_gui_identity_complete): If there is text in the
reply-to widget make sure it's valid.
* mail-config.c (identity_copy): Copy the reply-to.
(config_read): Read in the reply-to for all the accounts.
(mail_config_write): Save the reply-to.
(impl_GNOME_Evolution_MailConfig_addAccount): Get the reply-to.
(identity_destroy): Free the reply-to.
svn path=/trunk/; revision=16446