2004-02-02 Jeffrey Stedfast <fejj@ximian.com>
Fix for bug #52941
* em-message-browser.c (em_message_browser_window_new): Set window
size based on previous size; load from gconf if necessary.
(window_size_allocate): Save window size changes.
svn path=/trunk/; revision=24569
2004-02-02 Not Zed <NotZed@Ximian.com>
** See bug #53549.
* em-folder-selector.c: Fix handling a parent path of "/".
* mail-ops.c (mark_junk_mark): removed the really innacurate cut and
paste comment. This has nothing to do with filter_folder.
svn path=/trunk/; revision=24565
2004-02-02 Not Zed <NotZed@Ximian.com>
** See bug #52994.
* em-folder-properties.c (em_folder_properties_show): redirect
vFolder uri's to the vFolder editor.
** See bug #53502.
* em-folder-browser.c (emfb_folder_properties): implement.
* em-folder-tree.c (emft_popup_properties): fixed for change
below.
* em-folder-properties.[ch]: Moved the folder properties window
from em-folder-tree.c to its own file.
svn path=/trunk/; revision=24564
2004-02-02 Not Zed <NotZed@Ximian.com>
** See bug #53559.
* em-folder-tree.c (folder_tree_new): set CAN_FOCUS flag on the
folder tree content widget.
* em-folder-selector.c (em_folder_selector_construct): Don't wrap
the folder tree in a scrolled window. Its already in one ????.
(em_folder_selector_construct): dont set can_focus on the folder
tree.
svn path=/trunk/; revision=24563
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-02-01 Bill Zhu <bill.zhu@sun.com>
Fixes for bug #53530
* em-utils.c (em_utils_redirect_message): Removed the duplicate
adding of attachments
svn path=/trunk/; revision=24561
2004-01-31 Jeffrey Stedfast <fejj@ximian.com>
* providers/pop3/camel-pop3-store.c (pop3_try_authenticate): Same
as below.
* providers/smtp/camel-smtp-transport.c (smtp_connect): Instead of
using the form %s@%s in the password prompt, use %s on host %s,
hopefully this will be less confusing to users who have usernames
of the form user@vhost.
svn path=/trunk/; revision=24558
2004-01-30 Chris Toshok <toshok@ximian.com>
* gui/contact-editor/e-contact-editor.c: enable d&d drop photos.
* gui/contact-editor/contact-editor.glade: use
eab_create_image_chooser_widget for the d&d'able image.
* gui/contact-list-editor/e-contact-list-editor.c: abstract out
all the d&d image support (it's now in
widgets/misc/e-image-chooser.[ch]).
* gui/contact-list-editor/contact-list-editor.glade: use
eab_create_image_chooser_widget for the d&d'able image.
* gui/widgets/eab-gui-util.c (eab_create_image_chooser_widget):
new function.
* gui/widgets/eab-gui-util.h: add prototype for
eab_create_image_chooser_widget.
svn path=/trunk/; revision=24553
2004-01-30 Chris Toshok <toshok@ximian.com>
* e-image-chooser.c (e_image_chooser_init): add an alignment
around the image. This might not be enough. hrm.
(set_image_from_data): handle the case where there's no image
(image_height == image_width == 0).
(e_image_chooser_get_image_data): new function.
(e_image_chooser_set_image_data): new function.
svn path=/trunk/; revision=24552
2004-01-30 Jeffrey Stedfast <fejj@ximian.com>
Fixes for bug #53348
* mail-account-gui.c (mail_account_gui_save): Only add the new
store to the mail-component if the mail-component doesn't already
know about it (ie. only if we are adding a new account).
* em-folder-tree-model.c (em_folder_tree_model_add_store): Hash
our store-info based on account here.
(em_folder_tree_model_init): Listen for
account_changed/account_removed signals.
(em_folder_tree_model_finalize): Disconnect above handlers.
(account_changed): Tear down the account store node and replace it
with the new store (assuming it belongs in the tree after the
changes).
(account_removed): Remove the account store from the tree.
svn path=/trunk/; revision=24551
2004-01-30 Chris Toshok <toshok@ximian.com>
* e-image-chooser.[ch]: abstract out the drag and droppable image
widget from the contact list editor and stick it here. There's
some code for a "Browse..." button here but it's not enabled.
* Makefile.am (widgetsinclude_HEADERS): add e-image-chooser.h.
(libemiscwidgets_la_SOURCES): add e-image-chooser.c
svn path=/trunk/; revision=24549
2004-01-30 Jeffrey Stedfast <fejj@ximian.com>
* em-folder-tree.c (emft_tree_row_expanded): Get recursive folder
listing (needed or folders that have as-of-yet-unloaded-subfolders
that contain unread mail will not be bolded). Fixes bug #51045.
svn path=/trunk/; revision=24544
2004-01-30 Jeffrey Stedfast <fejj@ximian.com>
* e-filter-bar.c (get_property): Only save the search-bar state OR
the filter-bar state - decided based on what the search is. If the
search is an advanced search, then save the filter-bar state,
otherwise save the search-bar state.
(set_property): Only need to restore the first state we find
(filter-bar vs search-bar). If we are restoring filter-bar state,
set efb->setquery to TRUE and then set the item_id to
E_FILTERBAR_ADVANCED_ID.
svn path=/trunk/; revision=24542
2004-01-30 Not Zed <NotZed@Ximian.com>
** See bug #53549, partial fix.
* em-folder-selector.c (emfs_create_name_activate): only emit the
ok response if the ok button would be active (i.e. entered a valid
path).
** See bug #52992.
* message-list.c (message_list_hide_clear): save the hide state
after its been cleared, so any popup windows inherit it.
(message_list_hide_uids): same.
svn path=/trunk/; revision=24534
2004-01-30 Not Zed <NotZed@Ximian.com>
** See bug #53123.
* em-folder-tree-model.c (drop_folder): changed to take store and
dest folder as arg, to handle the case of the parent folder being
"" properly.
(em_folder_tree_model_drag_data_received): special case dropping a
folder, and don't allow dropping to "" for any other types.
svn path=/trunk/; revision=24533
2004-01-30 Not Zed <NotZed@Ximian.com>
* camel-store.c (camel_store_rename_folder): copy the old_name
that comes in, since it might be the actual folder_name, which
will go away during processing. Related to #53123.
svn path=/trunk/; revision=24532
2004-01-30 Not Zed <NotZed@Ximian.com>
** See bug #53558 (plus other fixes/cleanups)
* em-format.c (emf_format_secure): default implementation, handle
output of inner part, but dont output any sign/encrypt info.
(emf_multipart_signed, emf_multipart_encrypted): replaced with
implementations from em-format-html.c, which now call
em_format_format_secure to output guts.
(emf_class_init): hook-up virtual method format_secure.
* em-format.[ch]: add a virtual method for outputing secured
parts. Moved all validity stuff from em-format-html.[ch] to here.
* mail-component.c (impl_createControls): set the session
interactive too.
* em-format-html-display.c: make smime stuff dependent on
HAVE_NSS.
(efhd_multipart_signed, efhd_application_xpkcs7mime): removed, now
handled by root class.
(efhd_output_secure): renamed to efhd_format_secure, and use
EMFormat::format_secure to kick off.
(efhd_class_init): setup format_secure virtual method.
* em-format-html.c (efh_multipart_encrypted): We need to handle
this here so we can properly keep track of the ciphervalidity
stuff. Also do it directly using the context, not
multipartencrypted part.
(efh_multipart_signed): with unsupported signature format, format
as multipart/mixed, not as an attachment.
(efh_multipart_signed): make the smime stuff optional.
(efh_multipart_signed, efh_multipart_encrypted): Moved to
em-format.c.
(efh_application_xpkcs7mime): moved to em-format.c
(efh_output_secure): renamed to efh_format_secure, linked into
virtual method. call parent class to do the validation foo then
output the info if needed.
(efh_format_message): fixed access to validity stuff to parent
object.
(efh_class_init): hook up format_secure virtual method.
(*): removed some now-unused headers.
svn path=/trunk/; revision=24531
2004-01-29 Hans Petter Jansson <hpj@ximian.com>
* gui/widgets/eab-gui-util.c (source_selection_changed_cb): Implement.
(eab_select_source): Implement. Public function that prompts user to
select a source from a list.
(eab_transfer_contacts): Enable and use eab_select_source () and
ESource, instead of old shell folder/URI stuff.
svn path=/trunk/; revision=24530
2004-01-29 Jakub Steiner <jimmac@ximian.com>
* im-aim.png
* im-icq.png
* im-msn.png
* im-yahoo.png: although I'm adding these to gnome-icon-theme
instead, these are so ugly I replaced them here too. The rest
of the im-* stuff I'm not quite sure what those represent. Will
try to redo those as well.
I have 16x16 versions of these in git, so if those are used
scaled down, as I saw in a screenshot, feel free to use the
16x16 versions. They will look better.
Also feel free to file icon requests agains the
gnome-icon-theme if you want Evolution icons.
svn path=/trunk/; revision=24528
2004-01-29 Chris Toshok <toshok@m198-139.dsl.rawbw.com>
* gui/component/addressbook-migrate.c (setup_progress_dialog): use
the MigrationContext struct.
(dialog_close): same.
(dialog_set_folder_name): same.
(dialog_set_progress): same.
(migrate_contacts): same, and pass it along to other functions.
(migrate_contact_folder_to_source): same.
(migrate_contact_folder): same. also, add the old path/uid to the
folder_uid_map.
(migrate_local_folders): same.
(create_groups): use the MigrationContext struct.
(migrate_completion_folders): if it's a file uri, look up the old
path in our hash table for a uid to use. otherwise use the old
behavior.
(migration_context_new): new function, initialize the
MigrationContext.
(migration_context_free): free up everything.
(addressbook_migrate): create the context, pass it to everything,
destroy the context, shine toshok's shoes, etc.
svn path=/trunk/; revision=24524
2004-01-29 JP Rosevear <jpr@ximian.com>
* gui/migration.c (create_calendar_contact_source): don't set the
group to be read only until after the source is added.
svn path=/trunk/; revision=24523
2004-01-29 Radek Doulik <rodo@ximian.com>
* gui/component/addressbook-config.c (dialog_to_temp_source): set
group to temporary source
svn path=/trunk/; revision=24522
2004-01-29 JP Rosevear <jpr@ximian.com>
* gui/migration.c (migrate_ical_folder_to_source): migrate to a
specific source
(migrate_ical_folder): create a new source based on the new source
name/uid
(create_calendar_contact_source): use the #define for the base uri
(create_calendar_sources): try and find the right sources if they
already exist
(create_task_sources): ditto
(migrate_calendars): make sure the personal source is the system
source
(migrate_tasks): ditto
svn path=/trunk/; revision=24521
2004-01-29 Rodrigo Moya <rodrigo@ximian.com>
* gui/calendar-view.c (calendar_view_get_type_code): added support for
the list view also.
svn path=/trunk/; revision=24520