A bigger updated patch, On Tue, 2007-11-06 at 16:18 +0000, Bastien Nocera wrote: > Heya, > > The current device selection widget doesn't allow to show the search > button after the widget has been created, which is a bit of a pain. > > The attached patch shows the search button by default in the test > application and fixes the above problem. The attached patch adds 2 (optional) drop-downs to show only devices matching a certain filter. - Add properties about whether to show the category filter, and the device filter, and whether to show/hide those selections - Make bluetooth_type_to_string return const (as they are const) and mark those strings for translations - Add a category enum to bluetooth-device-selection.h - Add the ability to pass NULL to bluetooth_client_get_model_with_filter (to get a list of known devices on the default adapter, but without hiding the bonded, and otherwise not discovered yet devices) So, the TODO list looks like: - make the drop-downs look better - convenience functions to change the filters programmatically (eg. gnome-phone-manager would default to showing phones) - add more category filters (would require client.[ch] changes), such as "Recent devices", and "Discovered devices". Cheers