| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
2003-12-03 JP Rosevear <jpr@ximian.com>
* em-folder-tree.c (em_folder_tree_destroy): save the state
immediately if there is a timeout set
(em_folder_tree_save_state): be true GSourceFunc and just return
FALSE to remove the source
svn path=/trunk/; revision=23594
|
|
|
|
|
|
|
|
|
|
|
| |
2003-12-03 JP Rosevear <jpr@ximian.com>
* em-folder-tree.c (em_folder_tree_destroy): save the state
immediately if there is a timeout set
(em_folder_tree_save_state): be true GSourceFunc and just return
FALSE to remove the source
svn path=/trunk/; revision=23593
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-12-02 Jeffrey Stedfast <fejj@ximian.com>
* em-folder-tree-model.c (drop_uid_list): Moved here.
(drop_folder): Moved here.
(import_message_rfc822): Moved here.
(drop_message_rfc822): Moved here.
(drop_text_uri_list): Moved here.
(model_drag_data_received): Moved the logic from em-folder-tree.c
into here.
(model_row_drop_possible): Same.
(model_row_draggable): Same.
(drag_text_uri_list): Moved here.
(model_drag_data_get): Moved logic here.
(model_drag_data_delete): Moved logic here.
* em-folder-tree.c (drag_data_get_cb): Pass the full_name to
camel_store_get_folder() rather than the path.
(drag_data_received_cb): Same.
(drop_uid_list): Removed.
(drop_folder): Removed.
(import_message_rfc822): Removed.
(drop_message_rfc822): Removed.
(drop_text_uri_list): Removed.
(drag_data_received_cb): Removed.
(row_drop_possible_cb): Removed.
(row_draggable_cb): Removed.
(drag_text_uri_list): Removed.
(drag_data_get_cb): Removed.
(drag_data_delete_cb): Removed.
(em_folder_tree_enable_drag_and_drop): Don't connect to any of the
drag & drop signals, they don't exist anymore.
* mail-component.c (impl_createControls): Enable drag-and-drop.
* em-folder-tree.c (em_folder_tree_new_with_model): Connect to the
loading row signal.
(loading_row_cb): Expand the path if needed.
(em_folder_tree_destroy): Disconnect from the loading-row signal.
(em_folder_tree_enable_drag_and_drop): New function to enable
drag-and-drop.
(em_folder_tree_new): Remove drag-and-drop setup code.
* em-folder-tree-model.c (em_folder_tree_model_class_init): Define
the loading-row signal.
(em_folder_tree_model_set_folder_info): emit the loading-row signal.
svn path=/trunk/; revision=23590
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-12-02 Jeffrey Stedfast <fejj@ximian.com>
* em-folder-tree.c (em_folder_tree_new_with_model): Connect to the
loading row signal.
(loading_row_cb): Expand the path if needed.
(em_folder_tree_destroy): Disconnect from the loading-row signal.
* em-folder-tree-model.c (em_folder_tree_model_class_init): Define
the loading-row signal.
(em_folder_tree_model_set_folder_info): emit the loading-row signal.
svn path=/trunk/; revision=23589
|
|
|
|
| |
svn path=/trunk/; revision=23587
|
|
|
|
| |
svn path=/trunk/; revision=23586
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-12-02 Jeffrey Stedfast <fejj@ximian.com>
* em-folder-tree.c (em_folder_tree_new): Fixed to pass the
evolution dir into em_folder_tree_model_new().
(model_save_state): Removed.
(em_folder_tree_save_state): Moved all the saving logic into
em_folder_tree_model_save_expanded().
* em-folder-tree-model.c (em_folder_tree_model_new): Load the
expanded state off disk.
(em_folder_tree_model_save_expanded): New function to save
expanded state.
(em_folder_tree_model_get_expanded): new function to get if a node
should be expanded.
(em_folder_tree_model_set_expanded): new function to set the
expanded state of a node.
* mail-component.c (mail_component_init): Pass the evo dir to
em_folder_tree_model_new() which now requires it.
svn path=/trunk/; revision=23585
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-12-01 Jeffrey Stedfast <fejj@ximian.com>
* em-folder-tree.c (em_folder_tree_get_folder_info__got): Updated
to call em_folder_tree_model_set_folder_info().
(folder_subscribed_cb): Removed.
(folder_unsubscribed_cb): Removed.
(folder_created_cb): Removed.
(folder_deleted_cb): Removed.
(folder_renamed_cb): Removed.
* em-folder-tree-model.c (em_folder_tree_store_set_folder_info):
New function to replace tree_store_set_folder_info() which had
been in em-folder-tree.c
(em_folder_tree_model_remove_uri): Made private.
(em_folder_tree_model_remove_store_info): Made private.
(em_folder_tree_model_remove_folders): New function to replace
remove_folders() from em-folder-tree.c
(em_folder_tree_model_new): No longer takes any args.
* em-folder-tree.c (em_folder_tree_new): Updated.
* mail-component.c (add_store): Add the store to the model rather
than the treeview.
(impl_createControls): create a new treeview based on the
already-instantiated model.
(mail_component_init): Create a new tree model.
(mail_component_remove_store): Remove the store from the model
directly.
(mail_component_get_tree_model): Updated.
* em-folder-tree.c (folder_unsubscribed_cb): Call
em_folder_tree_model_remove_folders() rather than the deprecated
internal remove_folders() function.
(folder_renamed_cb): Same.
(em_folder_tree_remove_store): Removed.
(em_folder_tree_add_store): Removed.
(remove_folders): Removed.
svn path=/trunk/; revision=23545
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-12-01 Jeffrey Stedfast <fejj@ximian.com>
* em-folder-tree.c (em_folder_tree_get_folder_info__got): Make
sure our parent folder hasn't been unsubscribed or else we get a
segfault here if it has.
03-11-28 Dave Camp <dave@ximian.com>
* em-folder-tree.c (render_pixbuf): Set the pixbuf renderer
invisible for stores.
2003-11-25 Jeffrey Stedfast <fejj@ximian.com>
* mail-config.c (mail_config_get_account_by_uid): New function.
* em-folder-tree.c (tree_store_set_folder_info): Expand the tree
node if the saved state tells us it was expanded the previous
session.
(em_folder_tree_load_state): Load the saved state.
(em_folder_tree_add_store): Conditionally expand the store node.
(em_folder_tree_new_with_model): Expand all the nodes that should
be expanded.
svn path=/trunk/; revision=23530
|
|
|
|
| |
svn path=/trunk/; revision=23519
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-12-01 Radek Doulik <rodo@ximian.com>
* em-folder-tree.c (render_pixbuf): use CAMEL_VTRASH_NAME,
CAMEL_VJUNK_NAME
2003-11-28 Radek Doulik <rodo@ximian.com>
* em-folder-tree.c (render_pixbuf): added junk icon to folder
icons
svn path=/trunk/; revision=23516
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-20 Jeffrey Stedfast <fejj@ximian.com>
Fixes bug #51012.
* em-folder-tree.c (emft_popup_rename_folder): Fixed a FIXME to
not use the OS-specific g_path_*() stuff.
(em_folder_tree_set_selected): For the case where the tree has
already loaded enough subfodlers to include the path we need to
select, exopand the nodes to that path as well. For the case that
the tree hasn't loaded enough of the folder nodes, load them and
then have the node selected/expanded to.
svn path=/trunk/; revision=23462
|
|
|
|
|
|
|
|
|
| |
2003-11-20 Jeffrey Stedfast <fejj@ximian.com>
* em-folder-tree.c (emft_popup_rename_folder): Fixed a FIXME to
not use the OS-specific g_path_*() stuff.
svn path=/trunk/; revision=23458
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-11-19 Jeffrey Stedfast <fejj@ximian.com>
* em-utils.c (em_utils_selection_set_urilist): Same.
* em-format-html-display.c (efhd_drag_data_get): Same as below.
* em-folder-tree.c (drag_text_uri_list): Terminate each url of a
text/uri-list with a \r\n.
svn path=/trunk/; revision=23451
|
|
|
|
|
|
|
|
|
|
| |
2003-11-18 Jeffrey Stedfast <fejj@ximian.com>
* em-folder-tree.c (em_copy_folders): Execute asynchronously by
queueing the copy in another thread.
(em_copy_folders__copy): Moved the original logic here.
svn path=/trunk/; revision=23427
|
|
|
|
|
|
|
|
|
|
|
| |
2003-11-18 Jeffrey Stedfast <fejj@ximian.com>
* em-folder-tree.c (tree_row_expanded): Queue the
camel_store_get_folder_info() call in another thread.
(em_folder_tree_get_folder_info__got): Moved all the logic of
tree_row_expanded here.
svn path=/trunk/; revision=23426
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-11-17 Jeffrey Stedfast <fejj@ximian.com>
* em-folder-tree.c (tree_row_expanded): Fixed to check fi->child
as well (since mbox does it right).
(emft_popup_new_folder_response): Fixed to subscribe to the
correct folder.
(emft_popup_delete_folders): Fixed to use the full_name rather
than the path.
svn path=/trunk/; revision=23407
|
|
|
|
| |
svn path=/trunk/; revision=23405
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-11-17 Jeffrey Stedfast <fejj@ximian.com>
* em-folder-selection-button.c (set_contents): Fixed to not
include leading '/' in the folder name in the label.
* em-folder-tree.c (emft_popup_new_folder_response): Implemented
error reporting via gtk dialogs.
(emft_popup_copy_folder_selected): Same.
svn path=/trunk/; revision=23401
|
|
|
|
|
|
|
|
|
|
| |
2003-11-17 Jeffrey Stedfast <fejj@ximian.com>
* em-folder-tree.c (emft_popup_new_folder_response): Use a
folder_name rather than a path as the name argument to
camel_store_create_folder(), fixes creation of IMAP folders.
svn path=/trunk/; revision=23395
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-11-14 Jeffrey Stedfast <fejj@ximian.com>
* em-folder-tree.c (emft_popup_new_folder_response): We can't use
a uri to do a lookup of a store-info on the store_hash, we have to
get a CamelStore first.
(row_draggable_cb): validate the iter before using it.
(row_drop_possible_cb): Same.
(drag_data_received_cb): Here too.
(drag_data_get_cb): Same.
(drag_data_delete_cb): Again here.
(tree_store_set_folder_info): Recursively add nodes if fi->child
is non-NULL rather than adding a dummy node.
(folder_renamed_cb): Implemented.
svn path=/trunk/; revision=23367
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-11-14 Jeffrey Stedfast <fejj@ximian.com>
* em-folder-tree.c (emft_popup_new_folder_response): We can't use
a uri to do a lookup of a store-info on the store_hash, we have to
get a CamelStore first.
(row_draggable_cb): validate the iter before using it.
(row_drop_possible_cb): Same.
(drag_data_received_cb): Here too.
(drag_data_get_cb): Same.
(drag_data_delete_cb): Again here.
svn path=/trunk/; revision=23363
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 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-13 Jeffrey Stedfast <fejj@ximian.com>
* mail-component.c (mail_component_get_tree_model): Use
em_folder_tree_get_model() since an emft is not a GtkTreeView.
* em-folder-tree.c (em_folder_tree_get_model): New function to get
the tree model.
svn path=/trunk/; revision=23346
|
|
|
|
| |
svn path=/trunk/; revision=23332
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn path=/trunk/; revision=23302
|
|
svn path=/trunk/; revision=23223
|