[hafqa] [hafqa] [Bug 1113] New: GtkTreeSelection selection changed signal called after clearing the list

From: bugzilla-daemon at maemo.org bugzilla-daemon at maemo.org
Date: Fri Mar 2 16:31:37 EET 2007
https://maemo.org/bugzilla/show_bug.cgi?id=1113

           Summary: GtkTreeSelection selection changed signal called after
                    clearing the list
           Product: haf
           Version: unspecified
          Platform: All
               URL: http://mdictionary.garage.maemo.org
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gtk
        AssignedTo: tommi.komulainen at nokia.com
        ReportedBy: krzysztof.sasiak at comarch.com
         QAContact: hafqa at maemo.org


There is a problem with GtkTreeSelection. The thing is that every time we clear
the list and add new elements to it, the first element on the list is selected
and a callback for the selection changed signal is called. We tried using
gtk_tree_selection_unselect_all function in order to unselect all elements on
the list, but it does not help. Is there any workaround for this problem? This
issue causes a lot of nuisances in developing our application. 
Currently, while the list is reloaded, we block the selection changed signal.
However this resolution is also uncomfortable and causes other problems to
appear. Isn't there any way to fully control this component? Setting selection
mode to GTK_SELECTION_BROWSE with gtk_tree_selection_set_mode doesn't help either.

-- 
Configure bugmail: https://maemo.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

More information about the hafqa mailing list