Commit Graph

49 Commits

Author SHA1 Message Date
27f894733e only call expunge if the folder is set. (emfb_enable_map[]): only enable
2004-07-09  Not Zed  <NotZed@Ximian.com>

        * em-folder-browser.c (emfb_folder_expunge): only call expunge if
        the folder is set.
        (emfb_enable_map[]): only enable expunge menu item if we have a
        valid folder set.

        ** See bug #60900.

        * em-format-html.c: convert the text_inline_parts hash to be keyed
        off the partid.
        (efh_free_inline_parts): -> efh_free_cache and fix to do it.

        * em-format.c (emf_free_cache): make the inline table cache other
        info too based on partid, this frees the structure.
        (emf_clone_inlines): copy all of the cache data.
        (em_format_is_inline): use the new data structure to determine
        state.
        (em_format_set_inline): same for setting.
        (emf_multipart_signed): cache/lookup the cached part.
        (emf_insert_cache): helper to add a cache entry.
        (emf_multipart_encrypted): cache decrypted part.
        (emf_application_xpkcs7mime): same.

2004-07-08  Not Zed  <NotZed@Ximian.com>

        ** See bug #60900 (related only).

        * em-format-html-display.c (efhd_attachment_show): let set_inline
        do the redraw itself if required.  kill some dead code.

        * em-format.c (em_format_set_inline): trigger a redraw here like
        the other em_format_set methods, if the state changed.

        * em-format.c (emf_format_clone): free inline table keys & setup
        string hash table.

        * em-format-quote.c (emfq_format_attachment):
        * em-format-html-display.c (efhd_format_attachment):
        * em-format-html.c (efh_format_attachment): is_inline api changes.

        * em-format-html-display.c (efhd_attachment_show): set_inline api
        changes.

        * em-format.c (em_format_is_inline): make this use the partid
        rather than the part address as a key, which may change.
        (emf_init): make the inline talbe a string hashtable.
        (emf_finalise): free inline keys.
        (emf_clone_inlines): copy the key string.

svn path=/trunk/; revision=26614
2004-07-10 01:31:04 +00:00
a218c7d2f7 ** See #59885.
2004-06-17  Not Zed  <NotZed@Ximian.com>

        ** See #59885.

        ** Moved all of the mail specific filtering stuff from filter/* to
        here.  Renamed appropriately into em* space, etc.

        * em-filter-folder-element.c (emff_copy_value): implement for folders.

        * em-vfolder-rule.c (get_widget): read the vfolder glade from
        mail-config.glade.

        * mail-config.glade: moved the vfolder source selector here.

        * em-search-context.c: new mail search specific rule context.

        * mail-component.c (setup_search_context): use the new
        em_search_context.

        * vfolder-rule.c (validate): change error to mail context.

        * filter-folder.c (validate): change error to mail context.

        * Makefile.am (em-filter-i18n.h): added rule for i18n of mail
        filter type stuff.
        (libevolution_mail_la_SOURCES): added in the filter and vfolder
        rule stuff specific to mail.

        ** See #59885.

        * em-format-html-quote.[ch]: remove and remove from build, not
        used.

        * Makefile.am (libevolution_mail_la_LIBADD): add libeabutil and
        evolutionsmime.

        * mail-component-factory.c (factory): there is no mail_config
        anymore.

svn path=/trunk/; revision=26380
2004-06-17 07:34:50 +00:00
a2d2fa53ef ** See #56479.
2004-06-16  Not Zed  <NotZed@Ximian.com>

        ** See #56479.

        * em-utils.c (em_utils_in_addressbook): use the main thread to
        setup the addressbook list.
        (em_utils_in_addressbook): only check against the "completion"
        sources, not all of them.

2004-06-15  Not Zed  <NotZed@Ximian.com>

        * em-folder-browser.c (emfb_mail_stop): call mail_cancel_all to
        implement the stop button.

        * em-utils.c (emu_addr_sources_refresh): don't unref the group
        list, otherwise the sources become broken now (?).
        (em_utils_in_addressbook): add some locking.  add cancellation.
        this is almost certainly going to cause issues.

        * mail-mt.c (mail_cancel_hook_add, mail_cancel_hook_remove)
        (mail_cancel_all): new functions to implement a global mailer stop
        button.

svn path=/trunk/; revision=26363
2004-06-16 07:11:20 +00:00
cf91b138f1 don't nomarkseen when we restore the message when we show the preview.
2004-05-18  Not Zed  <NotZed@Ximian.com>

        * em-folder-browser.c (em_folder_browser_show_preview): don't
        nomarkseen when we restore the message when we show the preview.
        #58387.

svn path=/trunk/; revision=25956
2004-05-18 08:56:26 +00:00
945c153f04 cleanup the view menus if they were created.
2004-05-10  Not Zed  <NotZed@Ximian.com>

        * em-folder-view.c (emfv_activate): cleanup the view menus if they
        were created.

        * em-folder-view.h: added list_active bit, means the view is
        showing the list and needs e.g. view menus.

        * em-folder-view.c (emfv_setup_view_instance): was
        create_view_instance.  Now also setup the menu's if we're showing the list.

        * em-folder-browser.c (emfb_create_view_menus): removed.  moved
        functionality into emfolderview.

2004-05-07  Not Zed  <NotZed@Ximian.com>

        * mail-account-editor.c: include missing header.

svn path=/trunk/; revision=25827
2004-05-10 05:24:10 +00:00
27176351ae ** See bug #57935.
2004-05-07  Not Zed  <NotZed@Ximian.com>

        ** See bug #57935.

        * em-folder-view.c (emfv_set_message): add new arg, nomarkseen,
        don't mark the selected message seen once its loaded.
        (emfv_list_message_selected): clear the nomarkseen flag once we've
        processed the selection.
        (emfv_list_done_message_selected): handle the nomarkseen flag,
        don't mark a message seen if it was explictly selected.

        * em-folder-browser.c (emfb_list_built): use
        em_folder_view_select_message rather than doing it via the
        messagelist directly.

svn path=/trunk/; revision=25821
2004-05-07 06:48:38 +00:00
6cb88a7819 ** See bug #57720.
2004-05-05  Not Zed  <NotZed@Ximian.com>

        ** See bug #57720.

        * em-folder-browser.c (emfb_create_view_menus): removed some stuff
        done in create_view_instance in the superclass.

        * em-folder-view.c (emfv_create_view_instance): moved here from
        em-folder-browser, setup the view instance for the folder.
        (emfv_set_folder): if the folder is set, create the view instance.

        * em-folder-browser.c: moved the galview instance and menu
        pointers to EMFolderView, since they're basically meta-data on the
        messagelist @ to fix issues.

        * em-folder-view.c (em_folder_view_open_selected): copy over the
        threaded list value when the message browser is brought up.

        ** some clean up

        * evolution-mail.schemas.in.in: removed xmailer_mask stuff.

        * em-migrate.c (mail_display_map[]): Removed xmailer_mask stuff.

        * em-folder-view.c (emfv_setting_notify): removed xmailer_mask stuff.

        * em-format-html.c (em_format_html_set_xmailer_mask): removed.
        This isn't used anymore.

        ** Fixes the double-draw on separate mail view.

        * message-list.c (on_cursor_activated_cmd): noop if the cursor and
        uid match for all cases (clearing uid).
        (on_selection_changed_cmd): noop if the cursor and new selection
        hasn't changed & fix a memleak.

svn path=/trunk/; revision=25806
2004-05-05 13:28:03 +00:00
07b89016f7 Fix for bug #55303, but ideally there would be a nicer way of doing this -
2004-05-04  Jeffrey Stedfast  <fejj@ximian.com>

	Fix for bug #55303, but ideally there would be a nicer way of
	doing this - likely with some added ETree API but that's not
	likely to happen anytime soon.

	* em-folder-browser.c (scroll_idle_cb): Recall the saved scrollbar
	position state and set it, then reconnect to the
	message_list_scrolled signal.
	(emfb_list_built): Calculate a default scrollbar position for
	scroll_idle_cb to use if there's no saved state.
	(emfb_set_folder): Disconnect from the message_list_scrolled
	signal and the idle_scroll_id.
	(emfb_list_scrolled): Save the scrollbar position state.
	(emfb_destroy): Disconnect from list_scrolled_id and
	idle_scroll_id.

svn path=/trunk/; revision=25794
2004-05-04 20:46:59 +00:00
d01aa22bff take fromuri and subject to set the basic headers/account.
2004-05-03  Not Zed  <NotZed@Ximian.com>

        * em-composer-utils.c (create_new_composer): take fromuri and
        subject to set the basic headers/account.
        (em_utils_compose_new_message)
        (em_utils_compose_new_message_with_mailto, forward_attached)
        (em_utils_forward_attached, forward_non_attached)
        (em_utils_forward_inline, em_utils_forward_quoted)
        (em_utils_forward_message, em_utils_forward_messages): Take the
        from folder uri to set the from account if it can.  Fixed all
        callers.  For #57964.

svn path=/trunk/; revision=25747
2004-05-03 12:44:09 +00:00
e24fd5f7d1 removed.
2004-05-03  Not Zed  <NotZed@Ximian.com>

        * mail-send-recv.c (receive_update_done): removed.

        * em-mailer-prefs.h:
        * message-tag-followup.h:
        * mail-config-druid.h:
        * mail-tools.h: clean up & use forward decls.  Fix users with
        busted includes.

svn path=/trunk/; revision=25745
2004-05-03 10:31:00 +00:00
c99c169298 dont desensitise HideDeleted just 'cause we have no folder, it needs to
2004-04-21  Not Zed  <NotZed@Ximian.com>

	* em-folder-browser.c (emfb_activate): dont desensitise
	HideDeleted just 'cause we have no folder, it needs to depend on
	Trash folder only.
	(emfb_set_folder): set the hidedeleted sensitivity based on
	whether we have a trash folder or not.  Fixed #57226.

svn path=/trunk/; revision=25551
2004-04-21 05:18:58 +00:00
db9d15ceb0 dded a needed #include
svn path=/trunk/; revision=25535
2004-04-19 22:28:49 +00:00
3e573ed0bd Use E_ICON_SIZE_* enums for the menu icon sizes.
2004-04-19  Jeffrey Stedfast  <fejj@ximian.com>

	* em-folder-browser.c: Use E_ICON_SIZE_* enums for the menu icon
	sizes.

svn path=/trunk/; revision=25531
2004-04-19 21:55:21 +00:00
69bf398532 mail-component.c
2004-04-19  Michael Terry  <mike@mterry.name>

	* GNOME_Evolution_Mail.server.in.in:
	* em-account-prefs.[ch]:
	* em-composer-prefs.[ch]:
	* em-folder-browser.c:
	* em-folder-tree.c:
	* em-folder-view.c:
	* em-format-html-display.c:
	* em-format-html.[ch]:
	* em-popup.c:
	* mail-component.c
	* mail-config-druid.c:
	* mail-config.glade:
	* mail-mt.c:
	* mail-send-recv.c:
	* message-list.c:
	* message-tag-followup.c:
	* message-tags.glade: Update the mailer to use icon themes through the
	EIconFactory object in e-util

svn path=/trunk/; revision=25517
2004-04-19 15:20:48 +00:00
783645304d ugh, use the queued thread to get the folder, otherwise we can get folders
2004-04-14  Not Zed  <NotZed@Ximian.com>

        * em-folder-view.c (emfv_set_folder_uri): ugh, use the queued
        thread to get the folder, otherwise we can get folders set on the
        display out of order.

        * message-list.c (message_list_set_search): if we set this while
        frozen, save the search elsewhere.
        (message_list_thaw): if we had a frozen-time search, use it when
        we regenerate.

        * em-folder-browser.c (emfb_set_folder): freeze/thaw the
        messagelist around changes so we don't have multiple updates fire
        off changing folders.
        (emfb_activate): remove an unused variable i never used.

        * message-list.c (message_list_freeze, message_list_thaw): lock
        some updates to the ui, so you can do things like set folder and
        search atomically.
        (message_list_set_threaded, message_list_set_hidedeleted)
        (message_list_set_search, message_list_hide_uids)
        (message_list_hide_clear, message_list_set_folder): dont refresh
        the list if we're frozen.

svn path=/trunk/; revision=25458
2004-04-14 10:33:38 +00:00
2864da8135 ** See bug #56149.
2004-04-14  Not Zed  <NotZed@Ximian.com>

        ** See bug #56149.

        * em-folder-view.c (emfv_edit_cut): similar to below, use focus to
        determine who we select from.
        (emfv_edit_copy): ditto.

        * message-list.c: Remove primary selection stuff.  It just annoys.

        * em-folder-browser.c (emfb_edit_copy): use focus rather than
        selection owner to determine who to copy from.
        (emfb_edit_cut): similarly.

svn path=/trunk/; revision=25455
2004-04-14 08:25:43 +00:00
dfb793f762 track the messagelist hidedeleted value since it looks it up when we set
004-04-13  Not Zed  <NotZed@Ximian.com>

	* em-folder-view.c (emfv_set_folder): track the messagelist
	hidedeleted value since it looks it up when we set the folder.

	* em-folder-browser.c (emfb_hide_deleted): use new method below to
	propagate change.
	(emfb_activate): same.

	* em-folder-view.c (em_folder_view_set_hide_deleted): accessor to
	set the hide_deleted state, emits a view_changed event.

	* mail-component.c (view_changed_cb): use VISIBLE rather than
	TOTAL for the displayed total count.  Also deleted if we're not in
	hide deleted mode.  And do spethal things with spethal folders,
	etc.

svn path=/trunk/; revision=25438
2004-04-13 16:00:21 +00:00
9e126a8d01 Cleaned up header inclusions and added plenty of forward declarations.
2004-03-31  Not Zed  <NotZed@Ximian.com>

        * *.[ch]: Cleaned up header inclusions and added plenty of forward
        declarations.  Sped up complete re-compilation by upto 20%.

        ** See bug #55950.

        * em-utils.c (em_utils_in_addressbook): utility for checking if an
        email address is in the addressbook.  I can't tell if it works
        'cause it crashes eds.

        * em-format-html.c (emfh_gethttp): handle addressbook checking.

2004-03-30  Not Zed  <NotZed@Ximian.com>

        * mail-config.h: clean up the headers and use some forward decl's
        instead.

        * em-format-html.c (em_format_html_set_load_http): change state to
        an int 'style' instead.

        * em-folder-view.c (emfv_setting_notify): set the format load http
        option to the config value directly.

        ** See bug #56147.

        * message-list.c (clear_info): set the node data to NULL when we
        unref its data.
        (ml_get_save_id): use a different test for the root node, and
        return NULL if we don't have any data on the node (because we're
        cleaing it).

        ** See bug #54962.

        * em-folder-tree.c (emft_popup_new_folder_response): put back the
        old hack to open the vfolder editor if you try to create a folder
        under vfolders.

        ** See bug #55940.

        * mail-autofilter.c (mail_filter_rename_uri): map the uri to an
        email uri before passing to filter code.
        (mail_filter_delete_uri): same here.

svn path=/trunk/; revision=25261
2004-03-31 10:09:04 +00:00
8a6f447395 Instead of comparing sstate[0] to '1', compare it against '0' like all the
2004-03-29  Jeffrey Stedfast  <fejj@ximian.com>

	* em-folder-browser.c (emfb_activate): Instead of comparing
	sstate[0] to '1', compare it against '0' like all the other code
	does.

svn path=/trunk/; revision=25227
2004-03-29 16:50:23 +00:00
dadf1e0950 No-op if emfv->folder is NULL (this means we are looking at a store
2004-03-12  Jeffrey Stedfast  <fejj@ximian.com>

	* em-folder-browser.c (emfb_search_search_activated): No-op if
	emfv->folder is NULL (this means we are looking at a store folder?
	or else the folder hasn't loaded yet). Fixes bug #55293.

svn path=/trunk/; revision=25052
2004-03-12 22:03:28 +00:00
48d410e065 Reverted signal blocking stuff. Doesn't work and is unneeded with the
2004-03-11  Jeffrey Stedfast  <fejj@ximian.com>

	* em-folder-browser.c (emfb_set_folder): Reverted signal blocking
	stuff. Doesn't work and is unneeded with the proper fix.

svn path=/trunk/; revision=25034
2004-03-11 20:29:57 +00:00
fff0d51842 a really gross hack, disable all search handlers before setting the search
2004-03-11  Not Zed  <NotZed@Ximian.com>

        * em-folder-browser.c (emfb_set_folder): a really gross hack,
        disable all search handlers before setting the search and set hte
        search manually rather than going through the callbacks.  Partial
        fix for #55267, and ugly as it is.
        (emfb_init): save the search signal id's.
        (emfb_set_folder): ugh, properly set the defaults if the settings
        haven't been stored on the folder, and properly move them upstream
        to the bonobo menus.

svn path=/trunk/; revision=25027
2004-03-11 08:52:03 +00:00
0e572dcbe5 Set the hide_deleted bool on EMFolderView.
2004-02-17  Jeffrey Stedfast  <fejj@ximian.com>

	* em-folder-browser.c (emfb_hide_deleted): Set the hide_deleted
	bool on EMFolderView.

	* em-folder-view.c (emfv_popup_delete): Fix Sarfraaz Ahmed's fix
	to only jump to the previous message if hide_deleted is
	set. Otherwise his fix gets extremely irritating.
	(emfv_list_key_press): Same.

svn path=/trunk/; revision=24762
2004-02-17 17:00:31 +00:00
2edcc77ca4 ** See bug #54200.
2004-02-17  Not Zed  <NotZed@Ximian.com>

        ** See bug #54200.

        * em-popup.c (em_popup_target_new_select): add
        EM_POPUP_SELECT_FOLDER - to find out if we have a folder at
        all.  Handle getting a NULL folder passed in.

        * em-folder-view.c (em_folder_view_get_popup_target): Added
        EM_FOLDER_VIEW_SELECT_FOLDER - to detect when we dont have a
        folder set on the emfolderview.

        * em-folder-browser.c (emfb_mark_all_read): if we don't have a
        folder, dont try and run.
        (emfb_enable_map[]): Disable a bunch of stuff we have no
        folder set.

svn path=/trunk/; revision=24755
2004-02-17 05:06:10 +00:00
bfc4088a52 Always set the search_state, even if it is NULL (NULL means default/unset
2004-02-05  Jeffrey Stedfast  <fejj@ximian.com>

	* em-folder-browser.c (emfb_set_folder): Always set the
	search_state, even if it is NULL (NULL means default/unset state).

svn path=/trunk/; revision=24634
2004-02-05 17:49:12 +00:00
da26534a64 ** See bug #53832.
2004-02-04  Not Zed  <NotZed@Ximian.com>

        ** See bug #53832.

        * em-folder-browser.c (emfb_folder_properties): only show this if
        we have a uri set.  Strictly, the menu item shouldn't be
        activated.

svn path=/trunk/; revision=24605
2004-02-04 06:47:38 +00:00
4d6ccba521 ** See bug #53131.
2004-02-04  Not Zed  <NotZed@Ximian.com>

        ** See bug #53131.

        * em-folder-browser.c (em_folder_browser_show_preview): copy the
        message list's cursor_uid before calling set_message, since it can
        get freed during setting the message.

svn path=/trunk/; revision=24601
2004-02-04 05:34:28 +00:00
a8d1cfd503 ** See bug #52994.
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 07:08:36 +00:00
f411e3545c Fix for bug #53195.
2004-01-30  Jeffrey Stedfast  <fejj@ximian.com>

	Fix for bug #53195.

	* em-folder-browser.c (emfb_set_folder): Restore search_state.
	(emfb_search_search_activated): Save search_state.

svn path=/trunk/; revision=24543
2004-01-30 18:15:52 +00:00
b6e44f08f7 Make displayed_uid public.
2004-01-20  Not Zed  <NotZed@Ximian.com>

        * em-folder-view.c (EMFolderView): Make displayed_uid public.

        * em-folder-browser.c (em_folder_browser_show_preview): use
        em_folder_view_set_message rather than message_list_select_uid.
        When clearing, clear view->displayed_uid too.

2004-01-20  Not Zed  <NotZed@Ximian.com>

        ** See bug #52965.

        * mail-component.c (mail_component_init): removed an epfixme, it
        already is an object.
        (impl_upgradeFromVersion): call mail_note_store after running the
        upgrade for local folders.

        * em-migrate.c (em_migrate): revert the vfolders.xml after we've
        imported them.

        * mail-vfolder.c (vfolder_revert): new api to re-load the vfolders
        file.

svn path=/trunk/; revision=24322
2004-01-20 04:32:41 +00:00
b50cd21e66 ** See bug #52885.
2004-01-20  Not Zed  <NotZed@Ximian.com>

        ** See bug #52885.

        * em-folder-browser.c (emfb_create_view_menus): unref the view
        instance/menu's rather than asserting, if they exist.
        (emfb_set_folder): call create_view_menu's rather than
        create_view_instance, so the view menu's are properly setup.
        (emfb_set_folder): call superclass first.

svn path=/trunk/; revision=24320
2004-01-20 00:40:29 +00:00
3f3cb88b8e get the toplevel widget here too, similar to bug 52161.
2004-01-19  Not Zed  <NotZed@Ximian.com>

        * em-folder-browser.c (emfb_folder_expunge): get the toplevel
        widget here too, similar to bug 52161.

        ** See bug #52956

        * em-composer-prefs.c (sig_edit_cb): The
        fileentry_add_script_script widget is a GnomeFileEntry not a
        GtkEntry.
        (sig_add_script_response): use get_full_path rather than snooping
        the gtkentry.  Also, don't close/quit the script dialogue on a bad
        name.

svn path=/trunk/; revision=24301
2004-01-19 07:12:54 +00:00
bb779e4261 Don't select the first unread mesg in the case where no mesg was
2004-01-15  Jeffrey Stedfast  <fejj@ximian.com>

	* em-folder-browser.c (emfb_list_built): Don't select the first
	unread mesg in the case where no mesg was previously
	selected. Fixes bug #52887 until we are able to add a user
	preference (for 2.2?).

	* em-migrate.c (cp): Only abort the copy if the dest folder both
	exists and contains data. Fixes bug #52880.
	(em_migrate): Abort if config.xmldb cannot be loaded. Fixes bug
	#52886.

svn path=/trunk/; revision=24252
2004-01-15 19:29:00 +00:00
12491a3a91 removed ForgetPasswords verb. (emfb_forget_passwords): removed.
2004-01-15  Rodrigo Moya <rodrigo@ximian.com>

	* em-folder-browser.c: removed ForgetPasswords verb.
	(emfb_forget_passwords): removed.

svn path=/trunk/; revision=24245
2004-01-15 16:14:01 +00:00
b7d6b7be91 Pass the parent window, fixing a crasher. Bug #52161.
2004-01-13  Ross Burton  <ross@burtonini.com>

        * em-folder-browser.c (emfb_empty_trash):
        Pass the parent window, fixing a crasher.  Bug #52161.

svn path=/trunk/; revision=24209
2004-01-14 02:57:06 +00:00
2505d23049 support for posting both to mail and to (multiple) folders
2004-01-12  Meilof Veeningen  <meilof@wanadoo.nl>

	* em-composer-utils.c: support for posting both to mail and to
	(multiple) folders

	* em-folder-browser.c: use em_utils_post_to_folder (works with NNTP)

	* em-folder-selection-button.[ch]: added multiple selection mode

	* em-folder-selector.[ch]: idem

	* em-folder-tree.[ch]: added multiple selection mode, no longer show
	disabled accounts

	* em-utils.c: various changes to allow posting to (multiple) folders

	* em-subscribe-editor.c: double-clicking a node in the editor updates
	it directly

	* mail-ops.c: for appending messages, set the "X-Mailer" header

svn path=/trunk/; revision=24182
2004-01-12 22:22:50 +00:00
7a65fa93f1 ** See bug #50786
2004-01-08  Not Zed  <NotZed@Ximian.com>

        ** See bug #50786

        * GNOME_Evolution_Mail.server.in.in: Remove :: from startup wizard
        iid, and put the mail wizard into the right factory.

        * mail-component.c (impl_requestCreateItem, impl_handleURI):
        * em-folder-browser.c (emfb_mail_compose): check we have an
        account before trying to send mail.

svn path=/trunk/; revision=24104
2004-01-08 06:09:33 +00:00
e0bcad79ac as below
2004-01-07  Radek Doulik  <rodo@ximian.com>

	* em-message-browser.c (emmb_init): as below

	* em-folder-browser.c (emfb_init): always show vertical scrollbar,
	we do the same for message list and it avoids ugly flicker

svn path=/trunk/; revision=24088
2004-01-07 15:58:45 +00:00
5f1f5fcffd Check that the folder isn't NULL (ie. no folder is selected). Fixes bug
2004-01-05  Jeffrey Stedfast  <fejj@ximian.com>

	* em-folder-browser.c (emfb_list_message_selected): Check that the
	folder isn't NULL (ie. no folder is selected). Fixes bug #52207.

	* message-list.c (message_list_set_folder): Remove the
	cursor-activated idle callback.

svn path=/trunk/; revision=24054
2004-01-05 19:32:52 +00:00
a706f49f26 Fixes bug #1717.
2003-12-11  Jeffrey Stedfast  <fejj@ximian.com>

	Fixes bug #1717.

	* em-folder-browser.c (emfb_list_built): If we have a uid to
	select, select that instead of selecting the first unread.
	(emfb_set_folder): CamelObject::meta_get() actually returns a
	strdup'd buffer, so we need to free it. Get the last selected uid
	and set that up as the uid to select when the message-list
	finishes building.
	(emfb_list_message_selected): Save the selected uid.
	(emfb_init): Connect to the message-list's message_selected signal
	so that we can save selected state (don't want to do this in
	EMFolderView or MessageList because we don't want the state to be
	saved for the EMMessageBrowser).

svn path=/trunk/; revision=23928
2003-12-11 20:55:01 +00:00
1647f967b4 separeate view_menu unreffing from view_instance. fixes a runtime warning.
2003-12-10  Not Zed  <NotZed@Ximian.com>

        * em-folder-browser.c (emfb_activate): separeate view_menu
        unreffing from view_instance.  fixes a runtime warning.

        ** See bug #51718.

        * mail-component.c (em_uri_to_camel): handle an e-uri which has an
        account uid which isn't in user@host format.

svn path=/trunk/; revision=23897
2003-12-10 02:16:07 +00:00
0755131616 Updated to add use mail subdirs. (mail_config_uri_renamed): Updated
2003-12-03  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-config.c (uri_to_evname): Updated to add use mail subdirs.
	(mail_config_uri_renamed): Updated cachenames[]
	(mail_config_folder_to_cachename): Fixed to use the correct path.

	* em-folder-browser.c (emfb_create_view_menus): Updated the
	galview path to point to the evo-1.5 location.
	(emfb_set_folder): Update the galview view_instance.
	(emfb_create_view_instance): Split out from emfb_create_view_menus()
	(emfb_create_view_menus): Reduced code, call emfb_create_view_instance()

svn path=/trunk/; revision=23624
2003-12-03 23:11:40 +00:00
6d9d9416e2 override the em-folder-view impl, and handle the search bar properly. For
2003-12-01  Not Zed  <NotZed@Ximian.com>

        * em-folder-browser.c (emfb_edit_cut, emfb_edit_copy)
        (emfb_edit_paste): override the em-folder-view impl, and handle
        the search bar properly.  For #48746.

        * mail-security.glade: added some padding to the security details
        frames.

svn path=/trunk/; revision=23514
2003-12-01 05:52:38 +00:00
e2881f6524 Fixes bug #49816
2003-10-27  Jeffrey Stedfast  <fejj@ximian.com>

	* Fixes bug #49816

	* em-popup.c (emp_part_popup_reply_sender): No need to pass a
	parent window arg anymore.
	(emp_part_popup_reply_list): Same.
	(emp_part_popup_reply_all): Here too.
	(emp_part_popup_forward): Same.
	(emp_uri_popup_address_send): Here too.

	* em-folder-browser.c (emfb_mail_compose): No need to pass a
	parent window arg anymore.
	(emfb_mail_post): Same.

	* em-folder-view.c (emfv_message_reply): Don't pass a parent
	window argument anymore.
	(emfv_popup_forward): Same.
	(emfv_popup_resend): Same here.
	(em_folder_view_open_selected): Same.
	(emfv_message_forward_attached): Here too.
	(emfv_message_forward_inline): And here.
	(emfv_message_forward_quoted): Same.
	(emfv_message_redirect): Here too.
	(emfv_message_post_reply): And here.
	(emfv_format_link_clicked): ANd finally here.

	* em-utils.c (create_new_composer): Don't set_transient_for()
	anymore.
	(em_utils_compose_new_message): No longer takes a parent window
	argument.
	(em_utils_forward_attached): No longer takes a parent window arg.
	(em_utils_forward_inline): Same.
	(em_utils_forward_quoted): Same.
	(em_utils_forward_message): Same.
	(em_utils_forward_messages): Here too.
	(redirect_get_composer): Don't set_transient_for() here either.
	(em_utils_redirect_message): No longer takes a parent window arg.
	(em_utils_redirect_message_by_uid): Same.
	(reply_get_composer): Don't set_transient_for() here.
	(em_utils_reply_to_message): No longer takes a parent window arg.
	(em_utils_reply_to_message_by_uid): Same.
	(post_reply_to_message): Don't set_transient_for() here.
	(em_utils_post_reply_to_message_by_uid): No longer takes a parent
	window arg.
	(em_utils_compose_new_message_with_mailto): Don't
	set_transient_for() here.
	(em_utils_post_to_url): Same.
	(em_utils_edit_message): No longer takes a parent window arg.
	(em_utils_edit_messages): Same.

svn path=/trunk/; revision=23092
2003-10-27 21:31:19 +00:00
0fb08f3ff8 Merge new-ui-branch to the trunk.
svn path=/trunk/; revision=22964
2003-10-21 18:28:34 +00:00
2ff5378ac9 Disable the selection of the first unread message for now. This is
2003-10-03  Jeffrey Stedfast  <fejj@ximian.com>

	* em-folder-browser.c (emfb_set_folder): Disable the selection of
	the first unread message for now. This is actually annoying the
	fuck out of me, Radek, and a few other people.

svn path=/trunk/; revision=22794
2003-10-03 15:16:42 +00:00
7dbb51cfc9 removed subscribe-dialog.etspec and added another FIXME to em-folder-browser.c
svn path=/trunk/; revision=22756
2003-09-29 20:22:43 +00:00
4fa09be933 added a FIXME comment
svn path=/trunk/; revision=22749
2003-09-29 17:51:28 +00:00
81a0ff5bc4 cvs removed.
2003-09-17  Not Zed  <NotZed@Ximian.com>

         * folder-browser.c, folder-browser.h, folder-browser-ui.c
         folder-browser-ui.h, mail-callbacks.c, mail-callbacks.h
         mail-display.c, mail-display.h, mail-display-stream.c
         mail-display-stream.h, mail-format.c, mail-format.h
         mail-identify.c, mail-search.c, mail-search.h
         message-browser.c, message-browser.h, subscribe-dialog.c
         subscribe-dialog.h, mail-font-prefs.c, mail-font-prefs.h: cvs
         removed.

        * Makefile.am: Removed mail-font-prefs.[ch], hasn't been built for
        ages.

        * em-*.c: killed a bunch of printfs.

        * em-format-html-display.c (efhd_html_button_press_event): update
        for html object api chagnes.

        ** Merge in mail-refactor-2 branch.

svn path=/trunk/; revision=22602
2003-09-17 21:19:04 +00:00