diff options
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 7 | ||||
-rw-r--r-- | mail/em-folder-tree.c | 9 |
2 files changed, 16 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index a345aaab39..e75fbf28be 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,5 +1,12 @@ 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. + +2003-11-13 Jeffrey Stedfast <fejj@ximian.com> + * em-folder-selection.c: Rewritten to use EMFolderTRee. * mail-vfolder.c (vfolder_load_storage): Updated for function name diff --git a/mail/em-folder-tree.c b/mail/em-folder-tree.c index 36d3bf3d07..6016aeaa85 100644 --- a/mail/em-folder-tree.c +++ b/mail/em-folder-tree.c @@ -2059,3 +2059,12 @@ em_folder_tree_get_selected_path (EMFolderTree *emft) return emft->priv->selected_path; } + + +EMFolderTreeModel * +em_folder_tree_get_model (EMFolderTree *emft) +{ + g_return_val_if_fail (EM_IS_FOLDER_TREE (emft), NULL); + + return (EMFolderTreeModel *) gtk_tree_view_get_model (emft->priv->treeview); +} |