2004-02-23 Jeffrey Stedfast <fejj@ximian.com>
* em-folder-tree.c (tree_drag_motion): We want UID_LISTs to drop
with the MOVE action by default. Fixes a common complaint from
IRC.
svn path=/trunk/; revision=24832
2004-02-23 Not Zed <NotZed@Ximian.com>
* em-format.c (emf_multipart_signed): check mps->protocol != NULL
before dereferencing it. See #54406.
svn path=/trunk/; revision=24829
2004-02-20 Jeffrey Stedfast <fejj@ximian.com>
* rule-editor.c (rule_delete): After setting the new selected
iter, call cursor_changed() so we can update state. Fixes bug
#54205.
svn path=/trunk/; revision=24823
2004-02-20 Jeffrey Stedfast <fejj@ximian.com>
* em-folder-view.c (emfv_list_key_press): Delete key should always
delete, never undelete (bug #53215). Also fixes a bug where
uids->len was being accessed after uids had been free'd.
svn path=/trunk/; revision=24822
2004-02-20 Jeffrey Stedfast <fejj@ximian.com>
Fix for bug #53997
* em-folder-view.c (emfv_list_message_selected): Ref the emfv
before spawning the async event.
(emfv_list_done_message_selected): Check emfv->preview !=
NULL. Also unref the emfv when done.
svn path=/trunk/; revision=24820
2004-02-20 Jeffrey Stedfast <fejj@ximian.com>
* camel-provider.c (camel_provider_list): Init list to NULL to
prevent the crash in bug #54574.
svn path=/trunk/; revision=24819
2004-02-20 Not Zed <NotZed@Ximian.com>
** See bug #54338.
* vfolder-rule.c: instead of overriding the filter-rule's 'source'
attribute for 'with sources', add a 'with' enum.
(xml_decode): handle loading old-format files, as well as new
ones, where the with is a prop on the sources xml.
(xml_encode): set 'with' on save.
(rule_copy): copy across with value.
(get_widget): just hook onto option menu changed, dont bother
setting up any per-item callbacks.
(select_source_with_changed): callback to monitor source 'with'
type.
svn path=/trunk/; revision=24815
2004-02-20 Not Zed <NotZed@Ximian.com>
* mail-folder-cache.c (unset_folder_info, setup_folder)
(rename_folders): switch the sense of the no select checks. TEST!
svn path=/trunk/; revision=24813
2004-02-19 Chris Toshok <toshok@ximian.com>
* camel-smime-context.c: wrap this file with #ifdef ENABLE_SMIME
instead of #ifdef HAVE_NSS.
svn path=/trunk/; revision=24810
2004-02-19 Chris Toshok <toshok@ximian.com>
* configure.in: add AC_ARG_ENABLE(smime...) -- "finally", i can
hear the people rejoice. Only check the --enable-smime status if
--enable-ssl is also "yes". AC_DEFINE (ENABLE_SMIME) if smime is
enabled.
svn path=/trunk/; revision=24809
2004-02-19 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook.c (activate_source): split out the
majority of the set_prop code for PROPERTY_SOURCE_UID_IDX here, so
it can be used for both SOURCE_UID and FOLDER_URI.
(set_prop): add a setter for "folder_uri". we sorta fudge things
and use the uri for the uid (the uid is only used as a hash key to
look up the view associated with the uri/source, so we should be
good still.)
(get_prop): add getter for "folder_uri".
(addressbook_new_control): add the "folder_uri" property to our
property bag.
svn path=/trunk/; revision=24808
2004-02-19 Hans Petter Jansson <hpj@ximian.com>
Fixes#45308 and duplicates.
* gui/widgets/e-addressbook-model.c (eab_model_set_property): Store
the IDs of book signals connected to, so we can disconnect from them
later.
svn path=/trunk/; revision=24799
2004-02-19 Rodney Dawes <dobey@ximian.com>
* em-folder-tree.c (emft_save_state): Don't set the timeout id to 0
and then immediately return FALSE, which tries to remove the timeout
svn path=/trunk/; revision=24798
2004-02-19 Jeffrey Stedfast <fejj@ximian.com>
* providers/local/camel-mbox-store.c (get_folder): Add sanity
checking to the folder name if we are going to create it, just
like we do in create_folder().
svn path=/trunk/; revision=24796
2004-02-19 Not Zed <NotZed@Ximian.com>
* providers/*/camel-*-provider.c
(camel_provider_module_init): Fixes for api changes.
* camel-provider.c (camel_provider_load): no longer take session
argument. the providers are global resources.
(camel_provider_init): dont return anything anymore. (error?)
call from camel_init now. Use a recursive lock too.
* camel-session.c (camel_session_register_provider)
(camel_session_list_providers, camel_session_get_provider): Moved
to camel-provider, camel_provider_register/list/get.
(vee_provider): moved to camel-provider.c
svn path=/trunk/; revision=24794
2004-02-18 Jeffrey Stedfast <fejj@ximian.com>
* em-composer-prefs.c (sig_fill_list): Changed the name to not
imply we are working with a GtkCList widget (since we are using a
GtkTreeView).
svn path=/trunk/; revision=24788
2004-02-18 Jeffrey Stedfast <fejj@ximian.com>
* em-folder-tree.c (emft_tree_button_press): Pass flags to
em_popup_target_new_folder() instead of just an isstore arg.
(emft_tree_button_press): Fake the fi flags for vTrash/vJunk so
that em-popup.c can disable the delete flag for these.
svn path=/trunk/; revision=24787
2004-02-18 Jeffrey Stedfast <fejj@ximian.com>
* em-folder-tree.c (emft_tree_button_press): Pass flags to
em_popup_target_new_folder() instead of just an isstore arg.
* em-popup.c (em_popup_target_new_folder): Instead of taking an
isstore argument, take a flags argument so that our caller can
give us hints about the selected folder/store. Also fixed a logic
bug from my previous commit.
svn path=/trunk/; revision=24785
2004-02-12 Jeffrey Stedfast <fejj@ximian.com>
* em-folder-tree.c (emft_tree_button_press): Updated for em-popup
API change (altho currently passes a dummy value).
* em-popup.c (em_popup_target_new_folder): Check for vTrash/vJunk
by checking the CAMEL_FOLDER_VIRTUAL info flags bit. (perhaps this
flag should be renamed to SPECIAL? VIRTUAL might not have been a
good name). Also changed to check flags & CAMEL_FOLDER_NOSELECT
rather than checking the uri string for a noselect param.
* mail-folder-cache.c (unset_folder_info): Instead of checking for
";noselect" in the uri, check for a CAMEL_FOLDER_NOSELECT flag on
mfi->flags.
(setup_folder): Copy the fi->flags to mfi->flags here.
(rename_folders): Same.
(setup_folder): Check fi->flags for CAMEL_FOLDER_NOSELECT here
instead.
(rename_folders): Same. Also gets rid of a FIXME.
svn path=/trunk/; revision=24784
2004-02-18 Rodrigo Moya <rodrigo@ximian.com>
* gui/gnome-cal.c (client_cal_opened_cb): set the task pad client to NULL
if opening it failed. Show more verbose status bar messages.
svn path=/trunk/; revision=24780
2004-02-18 Jeffrey Stedfast <fejj@ximian.com>
* camel-gpg-context.c (gpg_verify): Use the trust to decide the
validity signature status. (Better way of solving yesterday's
problem)
* camel-cipher-context.h: Revert change from yesterday.
svn path=/trunk/; revision=24779
2004-02-18 Jeffrey Stedfast <fejj@ximian.com>
* em-format-html-display.c (efhd_xpkcs7mime_validity_clicked):
Revert change from yesterday.
(efhd_xpkcs7mime_button): Use the icon from the table.
svn path=/trunk/; revision=24778