GNOME Bugzilla – Bug 96063
GtkTreeSelection 's change signal send twice when chick at the first time
Last modified: 2004-12-22 21:47:04 UTC
i created a treeview,when the first time click a item,the GtkTreeSelection will receive two changed signal,the first is the root item's selected signal,next is the item which i clicked 's signal.when click the later times,only the clicked item's selection signal will happen,root item's click signal will not get again. i think,when click at the first time,root item's selected signal should not happen as it really not click at that item.it should be a bug.
*** This bug has been marked as a duplicate of 94837 ***
i added a variable omit_first_signal,when the windows is show,it init to true,and in the changed's func,use it to omit the first signal.but,this also can't solve the program well,when the first time just click at the root item,it is omited too.is there any way to to fix this program? it have a big relation in my software. thanks.