Commit Graph

12 Commits

Author SHA1 Message Date
41d52c7063 ** See bug #72209
2005-02-07  Not Zed  <NotZed@Ximian.com>

        ** See bug #72209

        * em-folder-tree.c (emft_popup_copy_folder_exclude): implement one
        for copying/moving folders.

        * em-folder-selection.c (em_select_folder): add an excluded func
        argument, fix callers.

        * em-folder-tree.c
        (em_folder_tree_set_exclude_func): allow custom callback for
        exclusion.
        (emft_select_func): handle the custom excluded callback.

svn path=/trunk/; revision=28745
2005-02-08 05:07:42 +00:00
463b3e37ec don't emit new mail if its any vfolder, not just vtrash folder. #56350.
2004-05-18  Not Zed  <NotZed@Ximian.com>

        * mail-folder-cache.c (folder_changed): don't emit new mail if its
        any vfolder, not just vtrash folder.  #56350.

        * em-folder-view.c (emfv_list_done_message_selected): run
        enable_menu's to make sure we're up to date.  #58352.

        ** crappy hacks for #58385.

        * em-folder-selection-button.c
        (em_folder_selection_button_clicked): leave Ok button for this
        selection.

        * em-folder-selection.c (em_select_folder): added oklabel here too.

        * em-folder-selector.c (em_folder_selector_new)
        (em_folder_selector_construct, em_folder_selector_create_new):
        Added oklabel- text for ok label.
        (em_folder_selector_create_new): Set the ok label to Create.

        * em-message-browser.c (emmb_set_message): don't mark message seen
        if user has disabled auto-mark seen feature.  #58629.

        * em-format.c (em_format_part): if we have no content-type header,
        then we get no mime-type set, so assume text/plain.  #58470.

svn path=/trunk/; revision=25951
2004-05-18 07:28:10 +00:00
c629a60b95 Set the excluded bits on the folder-tree. Don't allow the user to xfer
2004-04-09  Jeffrey Stedfast  <fejj@ximian.com>

	* em-folder-selection.c (em_select_folder): Set the excluded bits
	on the folder-tree. Don't allow the user to xfer messages into
	folders which are: NoSelect, Virtual, nor vTrash. Fixes bug
	#56229.

svn path=/trunk/; revision=25384
2004-04-09 17:07:31 +00:00
2949a50585 Fixes bug #53851
2004-04-02  Jeffrey Stedfast  <fejj@ximian.com>

	Fixes bug #53851

	* em-folder-view.c (emfv_popup_move_cb): Save the uri as the
	default for copy/move.
	(emfv_popup_move): Use the default copy/move uri.
	(emfv_popup_copy): Same.

	* em-folder-selection.c (em_select_folder): Select the uri *after*
	the dialog gets shown.

svn path=/trunk/; revision=25306
2004-04-02 21:04:09 +00:00
e3262cdc7e Update the unread count in the model if the folder got new mail.
2003-12-10  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-folder-cache.c (real_flush_updates): Update the unread
	count in the model if the folder got new mail.

	* em-folder-selection.c (em_select_folder): Updated.

	* em-folder-selection-button.c (em_folder_selection_button_clicked): Updated.

	* em-folder-tree-model.c (em_folder_tree_model_set_unread_count):
	New function to update the unread count for a folder.

	* mail-component.c (mail_component_peek_tree_model): Don't ref the
	model. Also renamed s/get/peek/

svn path=/trunk/; revision=23910
2003-12-10 18:36:13 +00:00
8a2183ab51 rewritten to get rid of hte old crap that should've been gotten rid of
2003-12-10  Not Zed  <NotZed@Ximian.com>

        * em-folder-selection.c (em_select_folder): rewritten to get rid
        of hte old crap that should've been gotten rid of before.  Bug
        #51602.
        (em_folder_selection_run_dialog_uri): removed.
        (em_folder_selection_run_dialog): removed.  this file is gutted
        and should probably be removed.

svn path=/trunk/; revision=23906
2003-12-10 06:02:05 +00:00
30ff908fcd New function to save tree expanded state.
2003-11-24  Jeffrey Stedfast  <fejj@ximian.com>

	* em-folder-tree.c (em_folder_tree_save_state): New function to
	save tree expanded state.
	(em_folder_tree_queue_save_state): New function to queue saving of
	the expanded state.
	(em_folder_tree_construct): Connect to the row-collapsed signal.
	(tree_row_collapsed): Queue a save-state.
	(tree_row_expanded): Queue a save state.
	(em_folder_tree_get_folder_info__got): Queue a save-state.

svn path=/trunk/; revision=23485
2003-11-25 03:54:13 +00:00
d9a3bd550f Only set OK to sensitive if the selected node is not a store node.
2003-11-14  Jeffrey Stedfast  <fejj@ximian.com>

	* em-folder-selection.c (folder_selected_cb): Only set OK to
	sensitive if the selected node is not a store node.

	* em-folder-tree-model.c: Moved the store_hash and uri_hash from
	EMFolderTreePrivate into here instead.

	* em-folder-tree.c: Updated for above changes.

svn path=/trunk/; revision=23355
2003-11-14 17:29:06 +00:00
0217b6c0dd Updated. (emfv_popup_copy): Updated.
2003-11-14  Jeffrey Stedfast  <fejj@ximian.com>

	* em-folder-view.c (emfv_popup_move): Updated.
	(emfv_popup_copy): Updated.

	* em-folder-tree.c (emft_popup_copy): Updated.
	(emft_popup_move): Updated.

	* em-folder-selection.c (create_dialog): New convenience function
	to construct the dialog contents for all three public functions.
	(em_folder_selection_run_dialog): Now longer takes a caption arg.
	(em_folder_selection_run_dialog_uri): Same.
	(em_select_folder): Here too.

svn path=/trunk/; revision=23353
2003-11-14 16:20:17 +00:00
2ab12b5d87 Rewritten to use EMFolderTRee.
2003-11-13  Jeffrey Stedfast  <fejj@ximian.com>

	* em-folder-selection.c: Rewritten to use EMFolderTRee.

svn path=/trunk/; revision=23345
2003-11-13 23:32:37 +00:00
fd244132ad New folder-tree widget that replaces the shell's folder-tree widget.
2003-11-13  Jeffrey Stedfast  <fejj@ximian.com>

	* em-folder-tree.[c,h]: New folder-tree widget that replaces the
	shell's folder-tree widget.

	* em-folder-tree-model.[c,h]: New source files subclassing
	GtkTreeStore for handling the mess that is drag&drop.

	* em-folder-selection-button.c: Ported to use EMFolderTree.

	* em-folder-selection.c: Ported to use EMFolderTree.

	* em-folder-selector.c: Ported to use EMFolderTree.

	* mail-component.c: Ported to use EMFolderTree.

	* mail-offline-handler.c (storage_go_online): Updated to not pass
	a storage argument.

	* mail-folder-cache.c: Removed storage stuff.

	* mail-send-recv.c (receive_update_got_store): Don't do EStorage*
	stuff anymore.

svn path=/trunk/; revision=23331
2003-11-13 19:02:07 +00:00
0fb08f3ff8 Merge new-ui-branch to the trunk.
svn path=/trunk/; revision=22964
2003-10-21 18:28:34 +00:00