im.pidgin.pidgin: 0cc698d207320d5a1852fd9a5160feea42cf187f

sadrul at pidgin.im sadrul at pidgin.im
Tue Jan 22 09:11:01 EST 2008


-----------------------------------------------------------------
Revision: 0cc698d207320d5a1852fd9a5160feea42cf187f
Ancestor: 1f1cf67ddcd63e44a2b76b612c8dad1f9e28c6eb
Author: sadrul at pidgin.im
Date: 2008-01-22T07:51:32
Branch: im.pidgin.pidgin

Modified files:
        finch/gntblist.c

ChangeLog: 

Do not show a context menu for an unknown node.

-------------- next part --------------
============================================================
--- finch/gntblist.c	52ea26d5025f98b694882eba68b9535b2f089163
+++ finch/gntblist.c	caee0093d705828d1e08ac759cb8b3e8e4666aae
@@ -1470,6 +1470,8 @@ draw_context_menu(FinchBlist *ggblist)
 	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);


More information about the Commits mailing list