diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-06-20 12:15:43 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-06-20 13:02:42 +0800 |
commit | 7d98f48c246dd3024f4f093ca4249c993286ee36 (patch) | |
tree | bc7cc11a1bd434852de2739bf8d17364efa3c145 /mail/em-composer-utils.c | |
parent | cd29d53b07609ac39be3efa646baa59f9d1731ed (diff) | |
download | gsoc2013-evolution-7d98f48c246dd3024f4f093ca4249c993286ee36.tar.gz gsoc2013-evolution-7d98f48c246dd3024f4f093ca4249c993286ee36.tar.zst gsoc2013-evolution-7d98f48c246dd3024f4f093ca4249c993286ee36.zip |
EMFolderTree cleanups.
Diffstat (limited to 'mail/em-composer-utils.c')
-rw-r--r-- | mail/em-composer-utils.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mail/em-composer-utils.c b/mail/em-composer-utils.c index 4b1d9aedce..ebef6cf78b 100644 --- a/mail/em-composer-utils.c +++ b/mail/em-composer-utils.c @@ -2401,6 +2401,7 @@ post_header_clicked_cb (EComposerPostHeader *header, EMailShellBackend *mail_shell_backend) { EMFolderTreeModel *model; + GtkTreeSelection *selection; GtkWidget *folder_tree; GtkWidget *dialog; GList *list; @@ -2408,7 +2409,8 @@ post_header_clicked_cb (EComposerPostHeader *header, model = e_mail_shell_backend_get_folder_tree_model (mail_shell_backend); folder_tree = em_folder_tree_new_with_model (model); - em_folder_tree_set_multiselect (EM_FOLDER_TREE (folder_tree), TRUE); + selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (folder_tree)); + gtk_tree_selection_set_mode (selection, GTK_SELECTION_MULTIPLE); em_folder_tree_set_excluded ( EM_FOLDER_TREE (folder_tree), |