Commit Graph

2483 Commits

Author SHA1 Message Date
Peter Williams ec00a9179b Change the HTML to make this a little prettier.
2002-07-18  Peter Williams  <peterw@ximian.com>

	* mail-format.c (handle_multipart_digest): Change the HTML to
	make this a little prettier.

svn path=/trunk/; revision=17506
2002-07-18 17:37:19 +00:00
Peter Williams b177dac4bc Load the messagedisplay XML file as a base for the UI, so that things
2002-07-18  Peter Williams  <peterw@ximian.com>

	* folder-browser-window.c (folder_browser_window_new): Load the
	messagedisplay XML file as a base for the UI, so that things
	appear. Don't add the global UI items as they don't make sense
	here.
	(fb_window_close): New function, used to ... close the window,
	suprisingly.

svn path=/trunk/; revision=17505
2002-07-18 17:07:19 +00:00
Not Zed 093aba2984 Put the mcheck stuff back in, which was removed without a changelog entry.
2002-07-18  Not Zed  <NotZed@Ximian.com>

	* main.c (main): Put the mcheck stuff back in, which was removed
	without a changelog entry.

svn path=/trunk/; revision=17504
2002-07-18 14:14:11 +00:00
Peter Williams 515ebfd45c Install libversit.a so that people compiling against the addressbook can
2002-07-09  Peter Williams  <peterw@ximian.com>

       * libversit/Makefile.am (privlib_LIBRARIES): Install libversit.a so
       that people compiling against the addressbook can do so successfully.

       * Makefile.am: create our *Conf.sh files and dist them and install
       them.

       * configure.in: Define and subst some variables that the Conf.sh
       file need.

 2002-07-08  Peter Williams  <peterw@ximian.com>

       * backend/ebook/Makefile.am: Install libebook-static.la.
       Also change --all-static to -all-static, which is the right flag.

       * backend/pas/Makefile.am: Install the PAS headers in
       $(includedir)/evolution/pas. Install libpas.a


2002-07-08  Peter Williams  <peterw@ximian.com>

       * cal-util/Makefile.am: Install libcal-util-static.la
       and fix the -all-static flag to make it install statically.

       * pcs/Makefile.am: Install libpcs.a and its headers.

       * pcs/cal-backend-util.h: Same sort of include namespacing fix,
       but for pcs.

       * pcs/cal.h:
       * pcs/query.h:
       * pcs/cal-factory.h:
       * pcs/cal-backend.h:
       * pcs/cal-backend-file.h: Same.

2002-07-17  Peter Williams  <peterw@ximian.com>

       * calendar/cal-util/Makefile.am (GTKDOC_LIBS): Because we're
       using libtool as our LD, we can reference .la's and libtool
       will DTRT for us.

       * calendar/cal-client/Makefile.am (GTKDOC_LIBS): Same here.


2002-07-03  Peter Williams  <peterw@ximian.com>

       * Makefile.am: Install libeutil, libeconduit, and libedb3util and
       their headers.


2002-07-08  Peter Williams  <peterw@ximian.com>

       * Makefile.am: Reference the new libefilterbar.a.

 2002-07-12  Peter Williams  <peterw@ximian.com>

       * Makefile.am (INCLUDES): Add -I$(builddir)/libical/src/libical
       for the generated ical.h (some headers rely on this because
       they too get installed.)


2002-07-09  Peter Williams  <peterw@ximian.com>

       * e-timezone-dialog/Makefile.am: Add -I$(top_builddir)/libical/src/libical;
       some headers that we rely on get installed, so they point to the ical.h that
       gets generated and installed; consequently we need to be able to find the
       generated ical.h

       * misc/Makefile.am: Install libemiscwidgets.a and its headers. However,
       break EFilterBar into a separate libefilterbar.a because we don't want
       the installed library to depend on libfilter.

svn path=/trunk/; revision=17496
2002-07-17 21:03:19 +00:00
Radek Doulik 7a069d4e58 use "saved" gtkhtml command
2002-07-17  Radek Doulik  <rodo@ximian.com>

	* mail-callbacks.c (save_draft_done): use "saved" gtkhtml command

svn path=/trunk/; revision=17494
2002-07-17 18:15:52 +00:00
Jeffrey Stedfast 29ccc49c5d Oops, Don't comment out the mail_note_store call.
2002-07-17  Jeffrey Stedfast  <fejj@ximian.com>

	* component-factory.c (add_storage): Oops, Don't comment out the
	mail_note_store call.

svn path=/trunk/; revision=17492
2002-07-17 17:39:27 +00:00
Dan Winship 60a6928a18 remove debug printf
svn path=/trunk/; revision=17489
2002-07-17 15:12:54 +00:00
Jeffrey Stedfast a6b622021f Re-enable some #if 0'd code.
2002-07-16  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-accounts.c (account_able_clicked): Re-enable some #if 0'd code.

	* mail-vfolder.c (vfolder_load_storage): Updated to not pass TRUE
	for an auto_connect argument since that argument no longer exists.

	* mail-account-gui.c (add_new_store): Updated to not pass an
	auto_connect argument.

	* component-factory.c (add_storage): Don't ever auto-connect here.
	(mail_add_storage): No longer takes an auto_connect argument.
	(mail_load_storages): Only load the account storages that are
	enabled.

svn path=/trunk/; revision=17483
2002-07-16 21:07:41 +00:00
Peter Williams 8535245dde Remove a stray conflict marker.
svn path=/trunk/; revision=17481
2002-07-16 20:22:49 +00:00
Not Zed 7f0ab8334b Lookup the label colour based on the label token, not an integer.
2002-07-15  Not Zed  <NotZed@Ximian.com>

        * message-list.c (ml_tree_value_at): Lookup the label colour based
        on the label token, not an integer.

        * folder-browser.c (on_right_click): Lookup the label name from
        the filter type.  Sigh, a bunch of other code should do similar
        but i'm going to leave it as integers.
        (set_msg_label): Set the label directly.

svn path=/trunk/; revision=17473
2002-07-16 02:38:41 +00:00
Jeffrey Stedfast bbe7410889 Pass 'info' into mail_append_mail(), seems I created the info but forgot
2002-07-15  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-callbacks.c (composer_send_cb): Pass 'info' into
	mail_append_mail(), seems I created the info but forgot to pass it
	in.
	(composer_send_queued_cb): If the message is successfully queued,
	we destroy the composer, otherwise we unref it. Don't ever destroy
	and then unref it.

svn path=/trunk/; revision=17468
2002-07-15 21:13:52 +00:00
Radek Doulik 2249eb203e use new save_header_state flag
2002-07-15  Radek Doulik  <rodo@ximian.com>

	* mail-callbacks.c: use new save_header_state flag

svn path=/trunk/; revision=17467
2002-07-15 20:45:06 +00:00
Peter Williams f9a7422465 Account for the case that when a disco store is "online" but actually
2002-07-15  Peter Williams  <peterw@ximian.com>

	* mail-offline-handler.c (service_is_relevant): Account for the case
	that when a disco store is "online" but actually offline and we're
	going online, we should actually connect it.

	* component-factory.c (mail_load_storages): Always set auto_connect
	to FALSE, same reason as below.

	* mail-session.c (mail_session_init): Initialize our session to not be online,
	since the shell will tell us to go online if we need to.

svn path=/trunk/; revision=17459
2002-07-15 15:00:05 +00:00
Peter Williams 7e9fe06664 remove a stray conflict marker
svn path=/trunk/; revision=17458
2002-07-15 14:45:08 +00:00
Peter Williams b9f0e2bb93 Define a versioned library directory that we can use for things that are
2002-07-10  Peter Williams  <peterw@ximian.com>

	* configure.in (privlibdir): Define a versioned library directory that we can
	use for things that are ABI-sensitive: camel providers, importers... Define
	camel_providerder in terms of this, resulting in a new location for the
	providers. Camel will have to be rebuilt for it to get the new
	-D flag.

mail:

2002-07-10  Peter Williams  <peterw@ximian.com>

	* Makefile.am (importerdir): Define this in terms of the new
	privlibdir, again resulting in a new directory name.

	* importers/Makefile.am (importersdir): Here too.

svn path=/trunk/; revision=17457
2002-07-15 14:43:16 +00:00
Not Zed 74c652de58 Set the vfolder_editor variable to null before we close the dialogue,
2002-07-15  Not Zed  <NotZed@Ximian.com>

        * mail-vfolder.c (vfolder_editor_clicked): Set the vfolder_editor
        variable to null before we close the dialogue, otherwise the close
        destroys it and reverts the file.

svn path=/trunk/; revision=17453
2002-07-15 08:37:14 +00:00
Not Zed 7ead5a04c4 Oops, accidentally checked in some unfinished, unworking code. Reverted.
2002-07-15  Not Zed  <NotZed@Ximian.com>

	* component-factory.c (populate_folder_context_menu): Oops,
	accidentally checked in some unfinished, unworking code.
	Reverted.

svn path=/trunk/; revision=17452
2002-07-15 07:10:03 +00:00
Not Zed 393fa3c3e8 ** fixes for #10781
2002-07-10  Not Zed  <NotZed@Ximian.com>

        ** fixes for #10781

        * mail-callbacks.c (filter_edit): Add back a cancel button.  We
        dont need to do anything special to 'undo' here, as the rules are
        loaded every time they're used.

        * mail-vfolder.c (vfolder_editor_clicked): If ok wans't clicked,
        revert the ruleset.
        (vfolder_editor_destroy): Fake a button of -1 if we get destroyed
        with no click.
        (context_rule_removed): Unref the folder after we delete it.  If
        we're the last ref to the folder, unrefing it means it no longer
        exist,s which means no delte processing occurs ...

svn path=/trunk/; revision=17449
2002-07-15 02:06:46 +00:00
Jeffrey Stedfast f87d11c476 Rename "Save to disk..." to "Save Attachment..."
2002-07-11  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-display.c (pixmap_press): Rename "Save to disk..." to "Save
	Attachment..."

svn path=/trunk/; revision=17422
2002-07-11 20:01:32 +00:00
Jeffrey Stedfast 206f7e366c Modified to use a single list of UI node elements with an enable-mask
2002-07-10  Jeffrey Stedfast  <fejj@ximian.com>

	* folder-browser-ui.c: Modified to use a single list of UI node
	elements with an enable-mask rather than split into groups. This
	allows much more control and easier modification to get the
	desired enable/disable effects.

svn path=/trunk/; revision=17414
2002-07-10 23:28:11 +00:00
Jeffrey Stedfast 740bddaf61 If we unref'd a current_message, clear the datalist. Don't bother
2002-07-10  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-display.c (mail_display_set_message): If we unref'd a
	current_message, clear the datalist. Don't bother connecting to
	the message's finalise signal because something else may own a ref
	to the original message when we replace it with a new one.
	(mail_display_destroy): Only clear the datalist if we have a
	current_message, otherwise it's safe to assume that it is already
	cleared.

svn path=/trunk/; revision=17413
2002-07-10 22:49:14 +00:00
Peter Williams 9e759ac6e1 Add include lines to get ebook headers relative to <ebook/foo.h>, not
2002-07-09  Peter Williams  <peterw@ximian.com>

	* tools/Makefile.am (INCLUDES): Add include lines to get
	ebook headers relative to <ebook/foo.h>, not "foo.h".


addressbook:

2002-07-08  Peter Williams  <peterw@ximian.com>

	* backend/ebook/e-book.h: Normalize includes to <ebook/foo.h>, so
	that the installed headers will work sanely.

	* backend/ebook/e-card-cursor.h:
	* backend/ebook/e-book-view.h:
	* backend/ebook/e-card-simple.h:
	* backend/ebook/e-card.h:
	* backend/ebook/e-destination.h: Same.

	* printing/Makefile.am (INCLUDES): add -Iaddressbook/backend
	to access the ebook headers. Also the builddir version to get
	the generated addressbook.h

	* gui/widgets/Makefile.am (INCLUDES): Same builddir fix.

	* gui/merging/e-card-merging.c: Fix an ebook #include.

	* gui/merging/Makefile.am (INCLUDES): Same idea.

	* gui/contact-list-editor/Makefile.am (INCLUDES): Same.

	* gui/contact-editor/Makefile.am (INCLUDES): Same builddir
	change.


calendar:

2002-07-08  Peter Williams  <peterw@ximian.com>

	* gui/Makefile.am (INCLUDES): Change the -I flags to get
	it to play nicely with the new Ebook header paradigm.

	* gui/dialogs/Makefile.am: Same.

	* gui/e-meeting-model.c: More of the same.

	* gui/dialogs/e-delegate-dialog.c:
	* gui/dialogs/e-meeting-model.c:
	* gui/dialogs/comp-editor-util.c: Fix include lines to get
	ebook headers.

	* pcs/Makefile.am: Same.


composer:

2002-07-08  Peter Williams  <peterw@ximian.com>

	* Makefile.am (INCLUDES): Fix cflags for ebook header namespacing.


importers:

2002-07-08  Peter Williams  <peterw@ximian.com>

	* Makefile.am: Fix cflags to get at ebook headers correctly.

	* pine-importer.c: Fix include lines to get ebook headers the "right"
	way.

	* evolution-gnomecard-importer.c: Same.


mail:

2002-07-08  Peter Williams  <peterw@ximian.com>

	* Makefile.am (INCLUDES): Add -I flags to get the ebook headers.

svn path=/trunk/; revision=17411
2002-07-10 21:34:37 +00:00
Ettore Perazzoli 090af2cb0e Pass zero as the @sorting_priority to evolution_storage_new_folder().
* gui/component/addressbook-storage.c (load_source_data): Pass
zero as the @sorting_priority to evolution_storage_new_folder().
(addressbook_storage_add_source): Likewise.

* subscribe-dialog.c (recursive_add_folder): Pass zero as
@sorting_priority to evolution_storage_new_folder().

* mail-folder-cache.c (real_flush_updates): Pass zero as
@sorting_priority to evolution_storage_new_folder().

* evolution-test-component.c (setup_custom_storage): Pass
@sorting_priority to evolution_storage_new_folder() so we test it.
Also make /FirstFolder have an "inbox" custom icon.

* e-local-storage.c (new_folder): Pass zero as @sorting_priority
to evolution_storage_new_folder().

* evolution-storage.c (evolution_storage_new_folder): New arg
@sorting_priority; put it in the CORBA folder struct.

* evolution-shell-client.c
(impl_FolderSelectionListener_selected): Copy the sortingPriority
as well.

* e-folder.c (e_folder_to_corba): Set sortingPriority.

* e-corba-storage-registry.c
(impl_StorageRegistry_getFolderByUri): Set sortingPriority in the
new CORBA Folder struct.

* e-corba-storage.c (impl_StorageListener_notifyFolderCreated):
Set the custom_icon if folder->customIconName is not an empty
string.  Likewise, set the sorting_priority

* Evolution-common.idl: New member sortingPriority in struct
Folder.

* e-storage-set-view.c (folder_sort_callback): Sort according to
the sorting_priorities.

* e-folder.c: New member sorting_priority in EFolderPrivate.
(init): Init to zero.
(e_folder_set_custom_icon): Emit "changed" if required.
(e_folder_set_sorting_priority): New.

svn path=/trunk/; revision=17404
2002-07-10 15:26:31 +00:00
Ettore Perazzoli 6d2b6fa6d2 Pass NULL @custom_icon_name to evolution_storage_new_folder().
* gui/component/addressbook-storage.c (load_source_data): Pass
NULL @custom_icon_name to evolution_storage_new_folder().
(addressbook_storage_add_source): Likewise.  [Note we could be
passing a nice custom here. ;-)]

* subscribe-dialog.c (recursive_add_folder): Pass NULL for
@custom_icon_name to evolution_storage_new_folder().

* mail-folder-cache.c (real_flush_updates): Pass NULL for
@custom_icon_name to evolution_storage_new_folder().

* evolution-test-component.c (setup_custom_storage): Pass NULL for
@custom_icon_name to evolution_storage_new_folder().

* e-local-storage.c (new_folder): Pass the custom_icon_name here
to evolution_storage_new_folder().

* evolution-shell-client.c
(impl_FolderSelectionListener_selected): Set customIconName here
too.

* e-folder.c (e_folder_to_corba): Set customIconName too.

* e-corba-storage-registry.c
(impl_StorageRegistry_getFolderByUri): Set customIconName.  Also,
use e_safe_corba_string() to clean up the code a bit.

* evolution-storage.c (evolution_storage_new_folder): New arg
@custom_icon_name.

* Evolution-common.idl: New member customIconName in struct
Folder.

svn path=/trunk/; revision=17397
2002-07-09 20:27:17 +00:00
Jeffrey Stedfast dbb4e600de fixed a compile warning
svn path=/trunk/; revision=17396
2002-07-09 20:25:30 +00:00
Jeffrey Stedfast a2ab50c057 Don't ever use the mail-display's current_message, this can cause
2002-07-08  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-callbacks.c (redirect): Don't ever use the mail-display's
	current_message, this can cause problems.

	* mail-ops.c (get_message_free): Unref the gotten message. All of
	the callers seemed to think that they didn't have to unref the
	message.

	* mail-display.c (mail_display_set_message): Now refs the message.
	(mail_display_destroy): Unref the current_message if we still have
	ownership of it.

svn path=/trunk/; revision=17387
2002-07-08 22:59:23 +00:00
Jeffrey Stedfast 85fd85a496 removed the news editor widget since it sucked.
svn path=/trunk/; revision=17384
2002-07-08 19:48:56 +00:00
Jeffrey Stedfast 4700cd0784 Only queue a send operation if we are in Online mode, otherwise don't
2002-07-05  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-callbacks.c (composer_send_queued_cb): Only queue a send
	operation if we are in Online mode, otherwise don't bother wasting
	our time.

svn path=/trunk/; revision=17381
2002-07-05 21:15:09 +00:00
Jeffrey Stedfast a293a2aa21 No longer need to pass a postpone_cb function into the composer
2002-07-05  Jeffrey Stedfast  <fejj@ximian.com>

	* main.c (main): No longer need to pass a postpone_cb function
	into the composer factory_init.

	* mail-send-recv.c (get_receive_type): If the provider is a
	transport, return SEND_SEND.

	* mail-config.c (mail_config_get_default_transport): If the
	default account doesn't have a transport, find the first account
	that does.

	* mail-callbacks.c (append_mail_cleanup): Don't bother freeing the
	appended_uid here.
	(composer_send_internal): New helper function that does all the
	similar work that composer_send_cb and composer_postpone_cb did.
	(composer_send_cb): Append the message to Outbox and in the async
	callback, queue a message send operation.
	(composer_postpone_cb): Removed.
	(composer_send_queued_cb): The new async callback for
	composer_send_cb(). If the append is successful, queue a message
	send operation and destroy the composer otherwise re-show the
	composer.
	(save_draft_done): g_strdup the appended uid.
	(compose_msg): Don't connect to the postpone signal anymore as it
	no longer exists.
	(send_to_url): Same.
	(mail_reply): Here too.
	(forward_get_composer): And here.
	(redirect_get_composer): Again here.
	(do_edit_messages): And finally here.

	* mail-ops.c (append_mail_free): Free the appended uid.

svn path=/trunk/; revision=17379
2002-07-05 19:38:11 +00:00
Jeffrey Stedfast c43dbeb707 cleaned up mail-config.glade to remove the notebook tab for the accounts_tab
svn path=/trunk/; revision=17373
2002-07-05 01:56:50 +00:00
Jeffrey Stedfast f3fe993f8c Removed.
2002-07-04  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-account-editor-news.[c,h]: Removed.

svn path=/trunk/; revision=17371
2002-07-05 01:53:21 +00:00
Jeffrey Stedfast fe8c0513da changed a comment
svn path=/trunk/; revision=17370
2002-07-05 00:16:36 +00:00
Jeffrey Stedfast 45f3b75867 Removed special-case code for NNTP support.
2002-07-04  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-accounts.c: Removed special-case code for NNTP support.

	* mail-account-gui.c (mail_account_gui_setup): Allow configuration
	of both mail and news accounts.

	* component-factory.c (mail_load_storages): No longer need the
	is-account argument.

	* subscribe-dialog.c (populate_store_list): Don't special-case
	news accounts anymore.

	* mail-config.c (mail_config_get_default_news): Removed.
	(mail_config_get_news): Removed.
	(mail_config_add_news): Removed.
	(mail_config_remove_news): Removed.

svn path=/trunk/; revision=17368
2002-07-04 23:06:41 +00:00
Jeffrey Stedfast 593eca5fcc Pass TRUE as the auto_connect argument to mail_load_storage_from_uri().
2002-07-03  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-vfolder.c (vfolder_load_storage): Pass TRUE as the
	auto_connect argument to mail_load_storage_from_uri().

	* mail-account-gui.c (add_new_store): Pass FALSE as the
	auto_connect value to mail_load_storage_from_uri().

	* mail-format.c (handle_multipart_encrypted): Pass the correct
	pointer into camel_multipart_encrypted_decrypt().

	* component-factory.c (mail_add_storage): Now takes an
	auto-connect argument which it passes along to add_storage().
	(mail_load_storage_from_uri): Same.
	(add_storage): Only call mail_note_store() if we plan on
	auto-connecting.

svn path=/trunk/; revision=17363
2002-07-03 20:40:12 +00:00
Jeffrey Stedfast 6389da6f94 Increase the size of the escapped mlist buffer, we can't assume that there
2002-07-02  Jeffrey Stedfast  <fejj@ximian.com>

	* folder-browser.c (on_right_click): Increase the size of the
	escapped mlist buffer, we can't assume that there can only ever be
	a single '_' in the mlist name afaik.
	(filter_type_uid): Ugh, we need to copy the fdata->source here.

svn path=/trunk/; revision=17354
2002-07-02 22:35:18 +00:00
Jeffrey Stedfast 1b0d0e234e Increase the size of the escapped mlist buffer, we can't assume that there
2002-07-02  Jeffrey Stedfast  <fejj@ximian.com>

	* folder-browser.c (on_right_click): Increase the size of the
	escapped mlist buffer, we can't assume that there can only ever be
	a single '_' in the mlist name afaik.

svn path=/trunk/; revision=17353
2002-07-02 22:22:01 +00:00
Jeffrey Stedfast 7e1ad6c225 Fixes bug #27263.
2002-07-02  Jeffrey Stedfast  <fejj@ximian.com>

	Fixes bug #27263.

	* folder-browser.c (filter_subject): Decide the filter source type
	based on the folder we are in (Sent/Outbox folders use
	FILTER_SOURCE_OUTGOING).
	(filter_sender): Same.
	(filter_recipient): Here too.
	(filter_mlist): And here.
	(on_right_click): Set the fdata->source.
	(filter_type_got_message): Pass fdata->source into
	filter_gui_add_from_message().
	(filter_mlist_uid): Same.

	* mail-autofilter.c (filter_gui_add_from_message): Now takes a
	source argument so that we don't always add incoming rules.
	(filter_gui_add_from_mlist): Same.

svn path=/trunk/; revision=17352
2002-07-02 20:27:48 +00:00
Jeffrey Stedfast 8db5c3fbda Remove Bcc headers too.
2002-07-02  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-tools.c (mail_tool_make_message_attachment): Remove Bcc
	headers too.

svn path=/trunk/; revision=17351
2002-07-02 19:23:07 +00:00
Ettore Perazzoli bea4dd2c59 (folder_browser_gui_init): Don't connect
folder_browser_search_do_search to "query_changed" since we don't
want the search to happen unless the user clicks "Find Now", for
consistency.

svn path=/trunk/; revision=17347
2002-07-02 15:56:14 +00:00
Ettore Perazzoli 7189f01908 New arg @tooltip; pass it to
* gui/component/addressbook-component.c (add_creatable_item): New
arg @tooltip; pass it to
evolution_shell_component_add_user_creatable_item() [which now has
a @tooltip arg].

* gui/component-factory.c (add_creatable_item): New arg @tooltip.
Pass it to evolution_shell_component_add_user_creatable_item(),
which now has a @tooltip arg.
(create_object): Added tooltips.

* component-factory.c (create_component): Pass a tooltip to
evolution_shell_component_add_user_creatable_item.

* e-shell-user-creatable-items-handler.c: New member tooltip in
struct MenuItem.
(ensure_menu_items): Initialize the tooltip member.
(shell_view_view_changed_callback): Set the tooltip for the "New"
button.
(ensure_menu_xml): Set up the tooltip here as well.

* evolution-shell-component.c: Add tooltip member to struct
UserCreatableItemType.
(user_creatable_item_type_new): New arg @tooltip.
(evolution_shell_component_add_user_creatable_item): New arg
@tooltip.
(impl__get_userCreatableItemTypes): Put the tooltip in the struct
as well.

* e-shell-user-creatable-items-handler.c (setup_toolbar_button):
Create a GtkTooltips object and attach it to the combo_button
using gtk_object_set_data().
(shell_view_view_changed_callback): Set up a tooltip for the
button, according to the default.

* Evolution-ShellComponent.idl: Add a tooltip member to struct
UserCreatableItemType.

svn path=/trunk/; revision=17343
2002-07-02 15:04:14 +00:00
Sean Atkinson 8a4bddf42a remove dependency on removed file camel/camel-pgp-context.h
002-07-02  Sean Atkinson  <sean@cantab.net>

	* mail-preferences.c: remove dependency on removed file
	camel/camel-pgp-context.h

svn path=/trunk/; revision=17340
2002-07-02 10:59:11 +00:00
Jeffrey Stedfast 97c10cb025 Make sure that cid is non-NULL.
2002-07-01  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-format.c (handle_multipart_related): Make sure that cid is
	non-NULL.

svn path=/trunk/; revision=17338
2002-07-01 21:54:49 +00:00
Michael Zucci 71c83b4081 Removed some conflict indicators i missed.
svn path=/trunk/; revision=17332
2002-07-01 04:58:49 +00:00
Not Zed 613c4f1ce3 Removed. The folder's deleted event isn't needed since we're listening to
2002-07-01  Not Zed  <NotZed@Ximian.com>

	* mail-folder-cache.c (folder_deleted): Removed.  The
	folder's deleted event isn't needed since we're listening to the
	store's folder_deleted signal.  Also, the code was wrong, it
	cleared the folder without disconnecting events, etc.  See #16486,
	and probably others.
	(mail_note_folder): Dont hook onto deleted anymore.
	(unset_folder_info): Or unhook from it.

svn path=/trunk/; revision=17331
2002-07-01 04:56:35 +00:00
Jeffrey Stedfast 6256cb6fe9 Don't skip over disabled accounts - put them in the folder tree too.
2002-06-28  Jeffrey Stedfast  <fejj@ximian.com>

	* component-factory.c (mail_load_storages): Don't skip over
	disabled accounts - put them in the folder tree too.

svn path=/trunk/; revision=17329
2002-06-28 19:33:21 +00:00
Jeffrey Stedfast 3188bb8c2f Fixes bug #27055.
2002-06-28  Jeffrey Stedfast  <fejj@ximian.com>

	Fixes bug #27055.

	* mail-accounts.c (account_add_finished): Unref the main accounts widget.
	(account_add_clicked): Ref the main accounts widget.
	(account_edit_finished): Unref the main accounts widget.
	(account_edit_clicked): Ref the main accounts widget.

svn path=/trunk/; revision=17323
2002-06-28 18:41:06 +00:00
Jeffrey Stedfast 11935da7a6 Recursively delete any subfolders.
2002-06-27  Jeffrey Stedfast  <fejj@ximian.com>

	* component-factory.c (storage_remove_folder): Recursively delete
	any subfolders.

svn path=/trunk/; revision=17318
2002-06-27 20:44:22 +00:00
Jeffrey Stedfast 80ba32b987 slight build fixes
svn path=/trunk/; revision=17304
2002-06-26 22:25:10 +00:00
Jeffrey Stedfast 47400a031c Don't allow the pgp type to be anything except NONE or GPG.
2002-06-26  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-config.c (config_read): Don't allow the pgp type to be
	anything except NONE or GPG.

	* mail-preferences.c (mail_preferences_apply): Don't allow someone
	to use anything other than GnuPG.

	* mail-crypto.c (mail_crypto_get_pgp_cipher_context): No need to
	handle pgp5 or pgp6 types anymore since we are no longer
	supporting them. Ding dong the witch is dead!

	* mail-format.c (handle_multipart_encrypted): Rewritten to use
	camel_multipart_encrypted_decrypt.

	* mail-crypto.c (mail_crypto_pgp_mime_part_verify): Removed.
	(mail_crypto_pgp_mime_part_encrypt): Removed.
	(mail_crypto_pgp_mime_part_decrypt): Are we seeing a trend yet?

svn path=/trunk/; revision=17301
2002-06-26 21:14:09 +00:00
Jeffrey Stedfast 978b21733a Also handle https urls.
2002-06-25  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-display.c (on_url_requested): Also handle https urls.

svn path=/trunk/; revision=17280
2002-06-25 21:50:30 +00:00