summaryrefslogtreecommitdiff
path: root/gtk/gtksearchentry.c
Commit message (Collapse)AuthorAgeFilesLines
* docs: Fix incorrect cross-reference to GtkSearchBarKai Willadsen2015-04-271-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=748500
* Use the new API in GtkSearchBar if we canMatthias Clasen2015-01-241-3/+3
| | | | | Sadly, GtkSearchBar allows connecting plain entries, so we have to keep the old code around.
* GtkSearchEntry: Add more APIMatthias Clasen2015-01-241-6/+212
| | | | | | Add ::next-match, ::previous-match and ::stop-search keybinding signals that are bound to Ctrl-g, Ctrl-Shift-g and Escape. Also add a gtk_search_entry_handle_event() function to handle key events.
* Use the new support for RTL icons in GtkIconThemeYosef Or Boczko2014-05-211-4/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=730526
* docs: use Returns: consistentlyWilliam Jon McCann2014-02-191-1/+1
| | | | Instead of Return value:
* docs: use proper quotesWilliam Jon McCann2014-02-051-3/+3
|
* all: Add names to timeoutsBastien Nocera2013-10-231-0/+1
| | | | | | | Add names to every timeout we setup, so it's easier to track their usage, and debug possible misbehaviour. https://bugzilla.gnome.org/show_bug.cgi?id=710651
* gtksearchentry: Provide an accessible nameJoanmarie Diggs2013-08-151-0/+7
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=706014
* Change the way GtkSearchEntry does delayed change notificationMatthias Clasen2013-07-281-37/+89
| | | | | | | | We add a GtkSearchEntry::search-changed signal which gets emitted with a 150 millisecond delay. The ::change signal goes back to its expected semantics. https://bugzilla.gnome.org/show_bug.cgi?id=700229
* GtkSearchEntry: improve clear icon implementationMatthias Clasen2013-07-281-10/+11
| | | | | | Instead of connecting to our own signal, which is generally considered somewhat unclean, override the class handler for the icon-release signal.
* GtkSearchEntry: fix search_entry_clear_cb()Sébastien Wilmet2013-07-151-3/+5
| | | | | | | | When the icon-release signal is emitted on a GtkSearchEntry, the contents is now cleared only if it's for the secondary icon. The primary icon can be used for another purpose. https://bugzilla.gnome.org/show_bug.cgi?id=704164
* gtk: Use new macros for defining private dataEmmanuele Bassi2013-07-091-5/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=702996
* GtkSearchEntry: Don't wait for timeout when emptyingBastien Nocera2013-05-231-0/+7
| | | | | | | When the text entry gets cleared, emit the "changed" signal straight away. This avoids a lag when dismissing a search. https://bugzilla.gnome.org/show_bug.cgi?id=700787
* GtkSearchEntry: Delay the changed signal by defaultBastien Nocera2013-05-171-5/+68
| | | | | | | | | | | | Emit the "changed" signal after 150 msecs, so that searching through big lists, or doing online searches feels more responsive. This is something already done in various applications to make search-as-you type more responsive (gnome-shell, gnome-documents, gnome-control-center, etc.). The 150 msecs is the value currently used by gnome-shell, so keep it (invisibly) consistent. https://bugzilla.gnome.org/show_bug.cgi?id=700229
* Place the search icon in the primary slot of the entryWilliam Jon McCann2013-03-031-1/+7
| | | | | | | | | | Instead of using the secondary slot for both clear and search. This Makes it possible to use the search icon for actions regardless of whether text has been entered, makes it possible to use the primary icon to indicate search status, allows us to indicate the purpose of the entry even if text has been already entered. https://bugzilla.gnome.org/show_bug.cgi?id=694990
* GtkSearchEntry: add rtl supportMatthias Clasen2012-09-211-1/+4
| | | | | Flip the clear icon in rtl locales. https://bugzilla.gnome.org/show_bug.cgi?id=684607
* gtk: Add GtkSearchEntryBastien Nocera2012-06-111-0/+118
Add a search entry widget with the recommended behaviour implemented. As used in gnome-control-center, Totem, gnome-documents and many others. https://bugzilla.gnome.org/show_bug.cgi?id=652809