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
2004-01-29 Not Zed <NotZed@Ximian.com>
* em-format-html-display.c (efhd_attachment_button): check the
snooped type for the icon/etc.
(efhd_format_attachment): save the snooped type in the
attach_puri.
* em-format-html.c (efh_text_plain): If we had a snooped type, use
that as the base type, rather than octet-stream, which will cause
an attachment in attachment loop.
* em-format.c (em_format_part_as): save the current snooped mime
type in a stack if we had any.
svn path=/trunk/; revision=24515
2004-01-29 Not Zed <NotZed@Ximian.com>
** See bug #53269.
* providers/nntp/camel-nntp-store.c
(nntp_store_get_cached_folder_info): don't dereference last before
checking if its null.
svn path=/trunk/; revision=24514
2004-01-29 Not Zed <NotZed@Ximian.com>
* camel-object.c (camel_object_bag_rekey): added a doc comment.
** See bug #53520.
* camel-session.c (get_service): free the url once done, it now
gets copied by the service.
* camel-service.c (construct): copy the url that comes in, don't
just '0Wn34z' it. clena up exception handling too.
svn path=/trunk/; revision=24513
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-29 Not Zed <NotZed@Ximian.com>
** See bug #53320 and probably others
* message-list.c (message_list_set_folder): NULL out
message_list->folder when we clear it so it isn't left for another
free when we switch again.
2004-01-29 Not Zed <NotZed@Ximian.com>
** See bug #52190.
* message-list.c: Added folder/folder uri to the data stored for
primary/secondary selection, uses a struct to store the data now.
This is needed so when you cut/copy messages, and paste them, it
doesn't end up 'pasting' the messages from the current folder, but
from the one where the copy/cut took place.
(clear_selection): helper to free data inside selection struct.
2004-01-29 Not Zed <NotZed@Ximian.com>
** See bug #53506.
* mail-tools.c (mail_tools_folder_to_url): use a camelurl to do
this properly, and handle fragment folder-paths.
* em-composer-utils.c (em_utils_composer_send_cb): removed
outbox_folder local, not necessary.
svn path=/trunk/; revision=24511
2004-01-29 Not Zed <NotZed@Ximian.com>
* camel-object.c (cobject_state_write): output scan->name and
scan->value for writing metadata, rather than meta->name/value
which just duplicates the last entry, related to #53195.
svn path=/trunk/; revision=24510
2004-01-28 Jeffrey Stedfast <fejj@ximian.com>
* e-search-bar.c (impl_get_property): Same.
* e-filter-bar.c (get_property): Use
g_value_set_string_take_ownership() instead of
g_value_take_string() since we need snaps to work with glib-2.0
earlier than 2.3.x.
svn path=/trunk/; revision=24507
2004-01-28 Hans Petter Jansson <hpj@ximian.com>
* gui/component/select-names/e-select-names-table-model.c
(fill_in_info): Get file_as instead of full_name.
* gui/compoent/select-names/e-select-names.etspec: Show the file_as
column instead of full_name.
svn path=/trunk/; revision=24505
2004-01-28 JP Rosevear <jpr@ximian.com>
* main.c (kill_dataserver): g_message this
(destroy_config): remove the various pieces to create a cleanish
state for re-migrating from 1.4.x
(main): add --force-migrate option when in development mode
svn path=/trunk/; revision=24504
2004-01-28 Jeffrey Stedfast <fejj@ximian.com>
* e-filter-bar.c: Added a new property "state" which is READ-WRITE
so that we can save/restore state in the mailer code if we want
to. Sort of a work-in-progress toward fixing bug #53195.
(class_init): Ported to use the GObject property stuff instead of
the deprecated GtkArg stuff.
(get_property): Ported from impl_get_arg().
(set_property): New object::set_property implementation to set the
query state.
svn path=/trunk/; revision=24502
2004-01-28 Rodney Dawes <dobey@ximian.com>
* configure.in: Disable the possibility of using OpenSSL until someone
decides it is worthy and ends up maintaining the code, though porting
to GNUTLS would probably be a better option, if that happens
svn path=/trunk/; revision=24501
2004-01-28 Rodney Dawes <dobey@ximian.com>
* e-task-bar.c (init): First argument to gtk_hbox_new () is a boolean,
not an int, don't show the hbox for activities by default
(e_task_bar_prepend_task): Show the hbox for activities when we add
tasks to the taskbar
(e_task_bar_remove_task): If we have no tasks left to display, don't
show the empty hbox
svn path=/trunk/; revision=24500
2004-01-28 Jeffrey Stedfast <fejj@ximian.com>
* em-folder-tree-model.c (em_folder_tree_model_add_store): If the
store is already in the model, remove it and then re-add it. Fixes
bug #53422.
svn path=/trunk/; revision=24498
2004-01-28 Jeffrey Stedfast <fejj@ximian.com>
And thus completes the fixes for bug #52766.
* em-folder-tree.c (tree_drag_drop): Don't call
gtk_drag_get_data() manually here or we end up getting 2
drag-data-received callbacks which is Not Good (tm).
* em-folder-tree-model.c (drop_folder): Now takes a moved argument
to specify whether or not the contents were moved (the move
argument is just a hint).
(drop_uid_list): Same.
(em_folder_tree_model_drag_data_received): Updated for the above
api changes.
svn path=/trunk/; revision=24497
2004-01-28 Jeffrey Stedfast <fejj@ximian.com>
* providers/local/camel-mbox-store.c (rename_folder): Make sure
the new dir path exists before trying to rename files to avoid
ENOENT errors. Also save errno when we encounter errors so that we
can report the true error later rather than an error we may get
while reverting changes. Also, it is OK if the ibex files don't
exist, so check for that errno case.
svn path=/trunk/; revision=24496