diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2003-11-14 07:42:38 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2003-11-14 07:42:38 +0800 |
commit | f67ed4d34c9f81638af00651fa05cb96019a917a (patch) | |
tree | b52dc9b02770bc3baf59e98abe95324708103bbb | |
parent | 2ab12b5d873a02e7957b68be710963c3bfd8dc59 (diff) | |
download | gsoc2013-evolution-f67ed4d34c9f81638af00651fa05cb96019a917a.tar.gz gsoc2013-evolution-f67ed4d34c9f81638af00651fa05cb96019a917a.tar.zst gsoc2013-evolution-f67ed4d34c9f81638af00651fa05cb96019a917a.zip |
Use em_folder_tree_get_model() since an emft is not a GtkTreeView.
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
-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); +} |