Commit Graph

83 Commits

Author SHA1 Message Date
Andre Klapper 98fd7a8d49 correcting a grammar bug. Fixes bug #348674.
2006-07-26  Andre Klapper  <a9016009@gmx.de>

	* em-folder-browser.c: correcting a grammar bug. Fixes bug #348674.

svn path=/trunk/; revision=32415
2006-07-26 07:37:29 +00:00
Srinivasa Ragavan 28c0318014 Fixes bug #346316
svn path=/trunk/; revision=32367
2006-07-21 06:03:01 +00:00
Srinivasa Ragavan 27023cbe18 Fix for bug #347993
svn path=/trunk/; revision=32356
2006-07-20 07:07:24 +00:00
Srinivasa Ragavan 8c444c6c0f Fix for bug #336963
svn path=/trunk/; revision=32311
2006-07-14 06:20:03 +00:00
Srinivasa Ragavan b5bff5c072 Fix for bug #335747
svn path=/trunk/; revision=32307
2006-07-14 05:42:26 +00:00
Harish Krishnaswamy a1d6678af2 Enhanced search functionality. patch submitted by Johnny Jacob Reviewed
2006-06-30  Harish Krishnaswamy  <kharish@novell.com>

Enhanced search functionality. patch submitted by Johnny Jacob
Reviewed and committed by Harish.

svn path=/trunk/; revision=32207
2006-06-30 09:46:32 +00:00
Srinivasa Ragavan c28b693a8e Fix for bug #344338
svn path=/trunk/; revision=32183
2006-06-21 04:47:42 +00:00
Srinivasa Ragavan e4bdc1e6a7 Added support for Vertical View in Evolution Mailer with custom message list.
svn path=/trunk/; revision=32071
2006-06-02 18:12:08 +00:00
Srinivasa Ragavan 7137647a8a Fix for bug #331215
svn path=/trunk/; revision=31534
2006-02-16 08:11:48 +00:00
Kjartan Maraas f6e0e26a6f s/int/guint/g for 1-bit bitfield. Remove cruft use guint for 1-bit
2006-01-09  Kjartan Maraas  <kmaraas@gnome.org>

	* em-account-editor.h: s/int/guint/g for 1-bit bitfield.
	* em-composer-utils.c: (em_utils_redirect_message): Remove cruft
	* em-folder-tree.c: (emft_drop_target): use guint for 1-bit bitfield
	and rename a variable with a name clash.
	* em-folder-utils.c: (em_folder_utils_rename_folder): Rename var to
	avoid name clashes.
	* em-folder-view.c: guint for 1-bit bitfields.
	* em-folder-view.h: Same as above.
	* em-format-html-print.h: Again.
	* em-format-html.c: (efh_text_html), (efh_multipart_related): Add comments
	* em-format.c: (emf_multipart_alternative): Add comment about using var that
	is passed in rather than a local variable.
	* em-inline-filter.c: (emif_scan): Remove unused var. Mark code static.
	* em-mailer-prefs.h: guint for 1-bit bitfields.
	* em-migrate.c: (em_migrate_folder): mark a struct static. remove unused var
	* em-subscribe-editor.c: guint for 1-bit bitfield
	* em-utils.c: remove unused function
	* em-vfolder-rule.c: mark array static
	* importers/mail-importer.c: (decode_status): Remove unused code. Use guint
	for 1-bit bitfield.
	* mail-autofilter.c: (rule_from_message): rename a variable
	* mail-component.c: guint for 1-bit bitfield
	* mail-folder-cache.c: (update_1folder): remove unused code
	* mail-mt.c: mark some structs static
	* message-list.c: (message_list_select_uid), (ml_value_to_string),
	(ml_tree_value_at), (find_next_undeleted), (build_tree),
	(build_flat): Remove unused code and fix some format specifiers.

svn path=/trunk/; revision=31448
2006-02-08 11:51:32 +00:00
Srinivasa Ragavan 450d94b769 Committed Rajeev's patch and my patch for mnemonics.
svn path=/trunk/; revision=31425
2006-02-06 11:10:44 +00:00
Srinivasa Ragavan 16ffb753b8 ** Fixes bug #218570
2006-01-16  Srinivasa Ragavan  <sragavan@novell.com>

	** Fixes bug #218570

	* em-folder-browser.c (emfb_expand_all_threads),
	(emfb_collapse_all_threads), (emfb_set_folder), (emfb_activate):
	Added code to handle expande/collapse all and call e-tree for regen of
	the list.
	* message-list.c (load_tree_expand_all),
	(message_list_set_threaded_expand_all),
	(message_list_set_threaded_collapse_all),
	(message_list_set_expand_all), (regen_list_regened): Added code to
	conditionally check for expand/collapse all and save the state after
	the operation.
	* message-list.h: Added state variable for expand/collapse all of
	threads.

svn path=/trunk/; revision=31204
2006-01-16 08:18:31 +00:00
Srinivasa Ragavan 93495d47a0 Fixes the scroll issue with the message list.
2006-01-13  Srinivasa Ragavan  <sragavan@novell.com>

	* em-folder-browser.c: (emfb_etree_unfreeze), (emfb_list_built):
	* message-list.c: (message_list_setup_etree):

	Fixes the scroll issue with the message list.

svn path=/trunk/; revision=31156
2006-01-13 08:22:48 +00:00
Tor Lillqvist 448d624c00 em-folder-browser.c em-folder-view.c em-format-html.c
2005-12-18  Tor Lillqvist  <tml@novell.com>

	* em-folder-browser.c
	* em-folder-view.c
	* em-format-html.c
	* em-format-html-display.c
	* em-mailer-prefs.c
	* em-message-browser.c
	* em-migrate.c
	* em-subscribe-editor.c
	* em-sync-stream.c
	* em-utils.c
	* em-vfolder-editor.c
	* em-vfolder-rule.c
	* mail-autofilter.c
	* mail-component.c
	* mail-config.c
	* mail-folder-cache.c: Use gstdio wrappers. Construct pathnames of
	glade, xml, etspec and png files at run-time. Use
	g_filename_{to,from}_uri().

	* em-folder-browser.c (emfb_init)
	* em-folder-view.c (emfv_finalise)
	* em-message-browser.c (emmb_init): As EMFolderView::ui_files now
	always is a list of filenames constructed with g_build_filename(),
	use g_free() on each list entry before calling g_slist_free() on
	the list.

	* em-folder-tree-model.c (em_folder_tree_model_load_state): Use
	e_xml_parse_file().

	* em-migrate.c: Bypass all the code for upgrading from 1.x on Win32.
	(emm_setup_initial): Use GDir instead of dirent.

	* em-sync-stream.c
	* mail-folder-cache.c: Use pthread_equal() to compare pthread_t
	values.

	* em-vfs-stream.c: No EINPROGRESS or ELOOP on Win32.

svn path=/trunk/; revision=30854
2005-12-18 08:24:26 +00:00
Srinivasa Ragavan ce7790405d Fixed mark junk, keybinding to focus search widget.
2005-10-18  Srinivasa Ragavan <sragavan@novell.com>

	* Fixed mark junk, keybinding to focus search widget.

svn path=/trunk/; revision=30520
2005-10-18 08:31:39 +00:00
Parthasarathi Susarla 2fa1dd24d2 return the target in any case. It will be an empty target and not NULL.
2005-08-11  Parthasarathi Susarla <sparthasarathi@novell.com>

	* em-folder-view.c
	(emfv_enable_menus): return the target in any case.
	It will be an empty target and not NULL.
	Fixes bug ** 312420

svn path=/trunk/; revision=30086
2005-08-11 06:02:31 +00:00
Not Zed e14a0019e7 ** See #312715.
2005-08-09  Not Zed  <NotZed@Ximian.com>

        ** See #312715.

        * em-folder-tree.c (emft_drop_folder_rec): removed.
        (emft_drop_folder): call em_folder_utils_copy_folders to perform
        the operation rather than: doing it sync when it shouldn't be, and
        2; copying code redundantly.

        * em-folder-utils.c (em_folder_utils_move_folder): remove this
        redundant api.
        (em_folder_utils_copy_folder): add delete flag.
        (em_folder_utils_copy_folders): export this function.  fix strange
        argument order.

svn path=/trunk/; revision=30066
2005-08-10 02:04:31 +00:00
Rodney Dawes 66b8f8dd77 Change instances of "vfolder" that appear in the UI to use the term
2005-08-07  Rodney Dawes  <dobey@novell.com>

	* em-folder-browser.c (emfb_search_items):
	* em-folder-tree-model.c (sort_cb, em_folder_tree_model_load_state):
	* em-folder-tree.c (emft_drop_target):
	* em-folder-view.c (emfv_popup_items, emfv_uri_popups):
	* em-utils.c:
	* em-vfolder-editor.c (em_vfolder_editor_new):
	* em-vfolder-rule.c (em_vfolder_editor_sourcelist_new):
	* mail-dialogs.glade:
	* mail-vfolder.c (vfolder_setup_desc, vfolder_setup_do):
	(vfolder_adduri_desc, vfolder_load_storage, vfolder_edit):
	(vfolder_edit_rule, vfolder_gui_add_rule):
	* mail.error.xml:
	Change instances of "vfolder" that appear in the UI to use the term
	"Search Folder" instead
	Update some comments to use the term "Search Folder" instead of vfolder

svn path=/trunk/; revision=30024
2005-08-07 21:18:18 +00:00
Not Zed d8bcbaea79 not here.
2005-08-03  Not Zed  <NotZed@Ximian.com>

        * em-folder-browser.c (emfb_set_folder): not here.

        * em-folder-view.c (emfv_set_folder): ref the folder here.

2005-08-03  Not Zed  <NotZed@Ximian.com>

        * em-folder-view.c (emfv_message_reply): try to fix #309647, only
        act if the selection is actually active.

svn path=/trunk/; revision=29976
2005-08-04 02:53:35 +00:00
Not Zed f4443f428e reverted dobey's busted view->hide* menu stuff.
2005-07-21  Not Zed  <NotZed@Ximian.com>

        * em-folder-browser.c: reverted dobey's busted view->hide* menu
        stuff.

        * em-account-editor.c (emae_option_entry): if we get a null
        default, then set "" on the entry.
        (emae_option_entry): set the default value on the url if it
        doesn't exist already.

svn path=/trunk/; revision=29826
2005-07-21 07:08:45 +00:00
Kaushal Kumar df07f02cae Added widgets in INCLUDES.
2005-06-23  Kaushal Kumar  <kakumar@novell.com>

        * e-util/Makefile.am, widgets/e-timezone-dialog/Makefile.am,
        addressbook/gui/search/Makefile.am,
        plugins/groupwise-features/Makefile.am: Added widgets in INCLUDES.

        Updated the include paths to use misc instead of widgets/misc.

svn path=/trunk/; revision=29574
2005-06-23 09:11:11 +00:00
Rodney Dawes ff6a38b627 Update these methods to use the listener method of access from bonobo as
2005-05-31  Rodney Dawes  <dobey@novell.com>

	* em-folder-browser.c (emfb_view_hide_read, emfb_view_show_selected):
	(emfb_view_show_all): Update these methods to use the listener method
	of access from bonobo as they are radio buttons now
	(emfb_verbs): Comment out the verbs for the above methods, as they are
	configured through add_listener now
	(emfb_enable_map): s/ViewHideSelected/ViewShowSelected/
	(emfb_activate): Add the listeners for the radio buttons for filtering
	the message list for unread, selected, or all messages

svn path=/trunk/; revision=29432
2005-05-31 18:20:52 +00:00
Not Zed 16eefad885 fix rodney's name choices. fix multiple-inclusion. fix forward references.
2005-05-19  Not Zed  <NotZed@Ximian.com>

        * em-folder-utils.h: fix rodney's name choices.  fix
        multiple-inclusion.  fix forward references.  fix all callers.
        add many fixme's for the busted api's.

        * em-format-quote.c (emfq_format_clone): use pseudo mime type to
        find message formatter.

        * em-format-html-display.c (efhd_format_message): remove, it
        didn't do anything.

        * em-format-html.c (efh_format_message): make this a handler
        callback.

        * em-format.c (emf_message_rfc822): make this use the pseudo
        mime-type x-evolution/message/rfc822 instead of the hardcoded
        format_message callback.

        * em-format-html-display.c (efhd_message_prefix): make this use a
        pseudo-mime-type handler rather than hard-coded, so it can be
        overridden by a plugin.

svn path=/trunk/; revision=29382
2005-05-19 06:06:35 +00:00
Rodney Dawes d88e794ded Add profiler so that it gets disted properly
2005-05-13  Rodney Dawes  <dobey@novell.com>

	* plugins/Makefile.am (DIST_SUBDIRS): Add profiler so that it gets
	disted properly

2005-05-13  Rodney Dawes  <dobey@novell.com>

	* Makefile.am: Add new em-folder-utils.[ch] abstraction

	* em-folder-browser.c: Update for new menu layout
	Add new methods to handle the actions that were previously only
	available from the context menu when right-clicking on a folder

	* em-folder-selector.c (emfs_response): Just call emfu_folder_create
	if the user wants to create a new folder in the selector dialog
	(em_folder_selector_get_selected_path): Clean up the code to fix a
	couple potential crashes

	* em-folder-tree.[ch]: Add methods to get pointers to a CamelFolder or
	CamelFolderInfo object for the selected item in the tree
	Add a method to get a pointer to an EMFolderTreeModelStoreInfo object
	for the selected store in the tree
	Move folder operations out into em-folder-utils.[ch] so that they
	are abstracted from the tree and can be used by methods other than
	the internal context menu

	* em-folder-utils.[ch]: Move the folder operations code to here

	* em-folder-view.c: Update for the new menu layout
	Fix Mark as Read/Unread in the context menu to only show up in the list

	* mail-component.c (create_item): Just call emfu_folder_create here
	when the user requests to create a new folder from the New toolbar item

2005-05-13  Rodney Dawes  <dobey@novell.com>

	* org-gnome-mailing-list-actions.xml: Update for the new menu layout

2005-05-13  Rodney Dawes  <dobey@novell.com>

	* org-gnome-plugin-manager.xml: Update for new menu layout

2005-05-13  Rodney Dawes  <dobey@novell.com>

	* org-gnome-save-attachments.xml: Update for new menu layout

2005-05-13  Rodney Dawes  <dobey@novell.com>

	* e-shell-window.c (setup_widgets): Update for the new menu layout by
	putting the "component" switching items under the "Tools" menu

2005-05-13  Rodney Dawes  <dobey@novell.com>

	* *.xml: Update to the new menu layout

2005-05-13  Rodney Dawes  <dobey@novell.com>

	* e-filter-bar.[ch]: Update for the new menu layout

svn path=/trunk/; revision=29354
2005-05-13 21:29:28 +00:00
Parthasarathi Susarla ae481043a0 remove a call to refresh folder from here call mail_refresh_folder here
2005-04-28  Parthasarathi Susarla <sparthasarathi@novell.com>

	* em-folder-view.c (emfv_set_folder): remove a call to
	  refresh folder from here
	* em-folder-browser.c (emfb_set_folder): call
	  mail_refresh_folder here

svn path=/trunk/; revision=29243
2005-04-28 14:21:27 +00:00
Not Zed e083da7520 reverted Mengjie's patch for 72545.
2005-02-28  Not Zed  <NotZed@Ximian.com>

        * em-folder-browser.c: reverted Mengjie's patch for 72545.

svn path=/trunk/; revision=28910
2005-02-28 04:31:50 +00:00
Mengjie Yu 05c4087326 make the 'select all' work in all conditions.
2005-02-25  Mengjie Yu  <meng-jie.yu@sun.com>

	* em-folder-browser.c: (emfb_edit_select_all):make the 'select all'
	work in all conditions.

	Fixes #72545

svn path=/trunk/; revision=28887
2005-02-25 09:26:56 +00:00
Rodney Dawes 8e8492bdd9 Replace "_Virtual Folder" with "_vFolder" for the search menu to create a
2005-02-01  Rodney Dawes  <dobey@novell.com>

	* em-folder-browser.c: Replace "_Virtual Folder" with "_vFolder" for
	the search menu to create a vfolder from a search

	* em-folder-tree-model.c (sort_cb): s/VFolders/vFolders/ for sorting
	in the folder tree
	(em_folder_tree_model_load_state): s/VFolders/vFolders/ in a comment

	* em-folder-view.c: s/VFolder/vFolder/ for the popup menu

	* em-vfolder-editor.c (em_vfolder_editor_new): Replace the string
	"Virtual _Folders" with "v_Folders" for the label

	* em-vfolder-rule.c (em_vfolder_editor_sourcelist_new): Repalce the
	string "VFolder source" with "vFolder source"

	* mail-errors.xml:
	* mail-errors.xml.h: Replace "virtual folder" with "vFolder" in an
	error string

	* mail-vfolder.c (vfolder_setup_desc): s/vfolder/vFolder/
	(vfolder_setup_do): s/vfolder/vFolder/
	(vfolder_load_storage): s/VFolders/vFolders/
	(vfolder_edit_rule): s/VFolder/vFolder/
	(vfolder_gui_add_rule): s/VFolder/vFolder/

	Fixes #68137

svn path=/trunk/; revision=28664
2005-02-01 19:30:49 +00:00
Not Zed ce004bd794 ** See bug #70768.
2005-01-18  Not Zed  <NotZed@Ximian.com>

        ** See bug #70768.

        * em-folder-browser.c (emfb_mark_all_read): get the uid list from
        the message-list (view) rather than folder (model).

        * message-list.c (message_list_foreach): removed, no longer used.
        (message_list_get_uids): new function replacing ml_foreach, get
        visible uids's of messages.

svn path=/trunk/; revision=28425
2005-01-18 06:09:31 +00:00
Not Zed 8652353f28 Moved various things from e-util to libedataserver.
2004-11-15  Not Zed  <NotZed@Ximian.com>

        * *.c: Moved various things from e-util to libedataserver.

        * GNOME_Evolution_Mail.server.in.in: remove the startup wizard stuff.

        * mail-config-druid.[ch]:
        * mail-account-editor.[ch]:
        * mail-account-gui.[ch]: removed & deleted.

        * mail-session.c (mail_session_init): and here too.
        * em-migrate.c (em_migrate_1_4): init camel-provider library too.
        (e_path_to_physical): copy from e-util/e-path.c.

        * Makefile.am (libevolution_mail_la_LIBADD): link to new libcamel
        provider too.

svn path=/trunk/; revision=28047
2004-12-03 03:38:03 +00:00
Not Zed ac0a49bc0b ** See bug #68958.
2004-11-30  Not Zed  <NotZed@Ximian.com>

        ** See bug #68958.

        * em-folder-browser.c (emfb_list_built): if the pending selected
        uid isn't in the folder (yet), don't clear it, just keep it
        around.  Hook/unhook folder_changed events.
        (emfb_folder_changed, emfb_gui_folder_changed): if a select_uid is
        set, and the message is now available, then select it.

svn path=/trunk/; revision=28022
2004-12-01 03:18:14 +00:00
Not Zed 358fb894df added hook docs, and cleaned up some of the hook point names.
2004-10-28  Not Zed  <NotZed@Ximian.com>

        * mail-folder-cache.c (real_flush_updates):
        * em-message-browser.c (em_message_browser_new):
        * em-mailer-prefs.c (em_mailer_prefs_construct):
        * em-format-html-display.c (efhd_attachment_popup):
        * em-folder-view.c (emfv_popup, emfv_list_done_message_selected)
        (emfv_format_popup_event):
        * em-folder-tree.c (emft_popup):
        * em-folder-properties.c (emfp_dialog_got_folder):
        * em-folder-browser.c (em_folder_browser_new):
        * em-composer-utils.c (em_utils_reply_to_message):
        * em-composer-prefs.c (em_composer_prefs_construct):
        * em-account-editor.c (em_account_editor_construct): added hook
        docs, and cleaned up some of the hook point names.

svn path=/trunk/; revision=27749
2004-10-28 09:25:27 +00:00
JP Rosevear 378a2a917c convert to org.gnome hook names
2004-10-19  JP Rosevear  <jpr@novell.com>

	* em-account-editor.c, em-composer-prefs.c, em-config.c,
	em-event.c, em-folder-browser.c, em-folder-properties.c,
	em-folder-tree.c, em-folder-view.c, em-format-hook.c,
	em-format-html-display.c, em-mailer-prefs.c, em-menu.c,
	em-message-browser.c, em-popup.c, message-list.c: convert to
	org.gnome hook names

svn path=/trunk/; revision=27635
2004-10-20 03:02:25 +00:00
Michael Zucci ef6a3af717 Merged notzed-eplugin-2-branch to head.
svn path=/trunk/; revision=27300
2004-09-20 05:59:55 +00:00
Not Zed 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
Not Zed 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
Not Zed 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
Not Zed 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
Not Zed 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
Not Zed 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
Not Zed 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
Jeffrey Stedfast 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
Not Zed 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
Not Zed 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
Not Zed 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
Jeffrey Stedfast db9d15ceb0 dded a needed #include
svn path=/trunk/; revision=25535
2004-04-19 22:28:49 +00:00
Jeffrey Stedfast 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
Michael Terry 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
Not Zed 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
Not Zed 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