comparison finch/gntblist.c @ 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 18ad08694be4
comparison
equal deleted inserted replaced
22171:2c9646c55369 22172:0934fa012c8c
1468 return; 1468 return;
1469 1469
1470 tree = GNT_TREE(ggblist->tree); 1470 tree = GNT_TREE(ggblist->tree);
1471 1471
1472 node = gnt_tree_get_selection_data(tree); 1472 node = gnt_tree_get_selection_data(tree);
1473 if (node && purple_blist_node_get_type(node) == PURPLE_BLIST_OTHER_NODE)
1474 return;
1473 1475
1474 if (ggblist->tooltip) 1476 if (ggblist->tooltip)
1475 remove_tooltip(ggblist); 1477 remove_tooltip(ggblist);
1476 1478
1477 ggblist->cnode = node; 1479 ggblist->cnode = node;