changeset 22172:0934fa012c8c

Do not show a context menu for an unknown node.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Tue, 22 Jan 2008 07:51:32 +0000
parents 2c9646c55369
children 85c365822504
files finch/gntblist.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/finch/gntblist.c	Tue Jan 22 07:38:01 2008 +0000
+++ b/finch/gntblist.c	Tue Jan 22 07:51:32 2008 +0000
@@ -1470,6 +1470,8 @@
 	tree = GNT_TREE(ggblist->tree);
 
 	node = gnt_tree_get_selection_data(tree);
+	if (node && purple_blist_node_get_type(node) == PURPLE_BLIST_OTHER_NODE)
+		return;
 
 	if (ggblist->tooltip)
 		remove_tooltip(ggblist);