problem about node of treeview



Recently,I  am working on a configuration for an graphical application,which contains strings 
,pixbuf(image).When I add double click function for the node ,it's can work.But  the top node in response to 
"double click" too.How can I set the top node insensitive.See the function "void view_onRowActivated 
(GtkTreeView *treeview,GtkTreePath *path,GtkTreeViewColumn *col,gpointer userdata)" in the attachment.

Attachment: chat2.c
Description: Text document



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]