aboutsummaryrefslogtreecommitdiff
path: root/hildon/hildon-live-search.c
AgeCommit message (Collapse)Author
2009-11-17Only set the visible func in the filter if necessaryClaudio Saavedra
This avoids overriding a visible function set by the user directly in the model filter.
2009-11-16Make on_key_press_event() return TRUE so keypresses are not handled twiceAlberto Garcia
2009-11-16Handle also the 'destroy' signal of HildonLiveSearch's tree viewAlberto Garcia
Handle also GtkObject:destroy on HildonLiveSearch's GtkTreeView, and call hildon_live_search_widget_unhook() when either the tree view or the event widget is destroyed. Make also hildon_live_search_widget_unhook() a bit simpler
2009-11-16HildonLiveSearch: store a reference to the tree view and the hook widgetAlberto Garcia
2009-11-16HildonLiveSearch: Set the initial value of text_column to -1Alberto Garcia
2009-11-16Change HildonLiveSearch indentation to match that of the rest of HildonAlberto Garcia
2009-11-16Compare old and new filters in hildon_live_search_set_filter()Alberto Garcia
Just return if the old filter is the same as the new one. Also, as a general rule, it's best to ref the new filter before unref'ing the old one.
2009-11-16Better check for parameters in the HildonLiveSearch public APIAlberto Garcia
2009-11-16Fix leak in hildon_live_search_restore_state()Alberto Garcia
2009-11-16Remove unnecessary check from HildonLiveSearchAlberto Garcia
2009-11-16Add missing 'Since:' keywords to HildonLiveSearchAlberto Garcia
2009-11-16Add pointer to HildonLiveSearchPrivate to the HildonLiveSearch structAlberto Garcia
2009-11-16Properly clear HildonLiveSearch entry when the widget is closedClaudio Saavedra
Not emitting the "changed" signal on the entry means that the view is not filtered. Also, there's no need to clean up the prefix text, since it will be done in the "changed" signal handler.
2009-11-16Minor documentation fixClaudio Saavedra
2009-11-16Add the documentation for HildonLiveSearchClaudio Saavedra
2009-11-16Make the treeview grab the focus when the livesearch entry is hiddenClaudio Saavedra
This makes sure that on the next keypress, the livesearch entry is popped up.
2009-11-16Forward the first key press in the treeview to the livesearch entryClaudio Saavedra
2009-11-16Major clean-up of the HildonLiveSearch event handlingClaudio Saavedra
Based on work by Xavier Claessens <xavier.claessens@collabora.co.uk>
2009-11-16Use a handler for GtkObject::destroy instead of a weak referenceClaudio Saavedra
This way, it doesn't matter the order the widgets are destroyed.
2009-11-16hildon_live_search_set_text_column() doc updatesClaudio Saavedra
2009-11-16Remove trailing whitespaces coming from osso timesClaudio Saavedra
2009-11-16Add use a weak reference to the hook widget to discard its event handlersClaudio Saavedra
When the hook widget is finalized before the HildonLiveSearch widget, the disconnection of its event handlers happens too late. Using a weak reference to discard the event handlers ids avoids getting critical warnings because of this.
2009-11-16Add hildon_live_search_set_filter_func() for custom filteringClaudio Saavedra
Add a hildon_live_search_set_filter_func() and HildonLiveSearchFilterFunc definition to allow a customized filtering of the visible methods during live search.
2009-11-16Add a HildonLiveSearch:text-column propertyClaudio Saavedra
This property enables the HildonLiveSearch widget to filter on a user suplied column instead of using the first one only.
2009-11-16Use GtkTreePath methods in the selection mapping for better performanceClaudio Saavedra
Using GtkTreeIter methods for this is really expensive, since internally these obtain the corresponding GtkTreePath for each iter and then operate with the GtkTreePath equivalents. Doing this improves performance during the mapping considerably.
2009-11-16Fixed license oddityClaudio Saavedra
2009-11-16Relicense to HildonLiveSearch to LGPLClaudio Saavedra
2009-11-16Rename OssoABookLiveSearch to HildonLiveSearchClaudio Saavedra
2009-11-16Revert "New HildonLiveSearch widget and search support for touch selectors"Claudio Saavedra
This reverts commit 6f8d33bee251c0d75f65599757efabf02682e6ff. We don't want squashed commits. Changes from the live-search will be rebased on top of master instead.
2009-11-11New HildonLiveSearch widget and search support for touch selectorsAlberto Garcia
Fixes: NB#142952 (Search support for lists)