aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-tree-model.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2007-12-16 11:55:23 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2007-12-16 11:55:23 +0800
commit62f68fae21f6c477bb2e497308da6b97d8ff235d (patch)
treee1d2a8f15c115fec8243a53e8347660b7d43da2e /mail/em-folder-tree-model.c
parent2d4bf28c89c8332b89f33f1435ed5704d8a6efa5 (diff)
downloadgsoc2013-evolution-62f68fae21f6c477bb2e497308da6b97d8ff235d.tar.gz
gsoc2013-evolution-62f68fae21f6c477bb2e497308da6b97d8ff235d.tar.zst
gsoc2013-evolution-62f68fae21f6c477bb2e497308da6b97d8ff235d.zip
Just remove the mail-remote plugin altogether so we stop going back and
2007-12-15 Matthew Barnes <mbarnes@redhat.com> * configure.in: * plugins/mail-remote: Just remove the mail-remote plugin altogether so we stop going back and forth over whether the translatable files should be added to POTFILES.in. We can always add it back once we get it working again. * po/POTFILES.in: Remove the mail-remote files for good this time. * mail/em-folder-tree-model.c (emft_model_unread_count_changed), (emfolder_tree_model_set_unread_count): Fix recently introduced compiler warnings. * plugins/mail-remote: Remove this plugin until it can be fixed. * ui/evolution.xml: Fix capitalization of "Download Messages..." (HIG 8.3.2). svn path=/trunk/; revision=34706
Diffstat (limited to 'mail/em-folder-tree-model.c')
-rw-r--r--mail/em-folder-tree-model.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/mail/em-folder-tree-model.c b/mail/em-folder-tree-model.c
index 69b9c55f3b..7f05c6ea21 100644
--- a/mail/em-folder-tree-model.c
+++ b/mail/em-folder-tree-model.c
@@ -256,7 +256,8 @@ emft_model_unread_count_changed (GtkTreeModel *model, GtkTreeIter *iter)
GtkTreeIter parent_iter;
GtkTreeIter child_iter = *iter;
- g_signal_handler_block (model, emft_model_unread_count_changed);
+ g_signal_handlers_block_by_func (
+ model, emft_model_unread_count_changed, NULL);
/* Folders are displayed with a bold weight to indicate that
they contain unread messages. We signal that parent rows
@@ -271,7 +272,8 @@ emft_model_unread_count_changed (GtkTreeModel *model, GtkTreeIter *iter)
child_iter = parent_iter;
}
- g_signal_handler_unblock (model, emft_model_unread_count_changed);
+ g_signal_handlers_unblock_by_func (
+ model, emft_model_unread_count_changed, NULL);
}
static void
@@ -1281,8 +1283,8 @@ em_folder_tree_model_set_unread_count (EMFolderTreeModel *model, CamelStore *sto
gtk_tree_store_set ((GtkTreeStore *) model, &iter, COL_UINT_UNREAD, unread, -1);
- /* May be this is from where we should probagate unread count to parents etc. */
- emft_model_unread_count_changed (model, &iter);
+ /* May be this is from where we should propagate unread count to parents etc. */
+ emft_model_unread_count_changed (GTK_TREE_MODEL (model), &iter);
}