aboutsummaryrefslogtreecommitdiffstats
path: root/mail/message-list.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2003-04-15 06:52:32 +0800
committerMichael Zucci <zucchi@src.gnome.org>2003-04-15 06:52:32 +0800
commitfb04925566a101e3d0995cf715ea2128e801548c (patch)
tree9af5c6707c31b2ebc8e0cdd5b8c61a03d7421238 /mail/message-list.c
parent3d5b5537a4951ef45b81112cdd9b3c0792ab47d9 (diff)
downloadgsoc2013-evolution-fb04925566a101e3d0995cf715ea2128e801548c.tar
gsoc2013-evolution-fb04925566a101e3d0995cf715ea2128e801548c.tar.gz
gsoc2013-evolution-fb04925566a101e3d0995cf715ea2128e801548c.tar.bz2
gsoc2013-evolution-fb04925566a101e3d0995cf715ea2128e801548c.tar.lz
gsoc2013-evolution-fb04925566a101e3d0995cf715ea2128e801548c.tar.xz
gsoc2013-evolution-fb04925566a101e3d0995cf715ea2128e801548c.tar.zst
gsoc2013-evolution-fb04925566a101e3d0995cf715ea2128e801548c.zip
create a stock cancel button with a cancel all text. (build_dialogue):
2003-04-14 Not Zed <NotZed@Ximian.com> * mail-send-recv.c (build_dialogue): create a stock cancel button with a cancel all text. (build_dialogue): Create stock-like cancel buttons with no accelerators. A workaround for #41043. * message-list.c (ml_tree_value_at): if the node is the root node, do nothing. etable shouldn' really be searching the root node if it isn't visible ...? For #41190. svn path=/trunk/; revision=20842
Diffstat (limited to 'mail/message-list.c')
-rw-r--r--mail/message-list.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mail/message-list.c b/mail/message-list.c
index 7e0135749b..631b5b5519 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -886,6 +886,9 @@ ml_tree_value_at (ETreeModel *etm, ETreePath path, int col, void *model_data)
MessageList *message_list = model_data;
CamelMessageInfo *msg_info;
const char *str;
+
+ if (e_tree_model_node_is_root (etm, path))
+ return NULL;
/* retrieve the message information array */
msg_info = e_tree_memory_node_get_data (E_TREE_MEMORY(etm), path);