Qua, 2004-10-27 às 09:31 +0200, Alexander Larsson escreveu: > On Tue, 2004-10-26 at 18:28 +0200, Danny Milosavljevic wrote: > > Hi, > > > > Am Dienstag, den 26.10.2004, 12:46 +0200 schrieb Alexander Larsson: > > > On Mon, 2004-10-25 at 19:44 +0200, Jürg Billeter wrote: > > > > On Mon, 2004-10-25 at 17:39 +0200, Reinout van Schouwen wrote: > > > > > I discovered that my Nautilus 2.8.1 pops up a textfield when I press > > > > > Ctrl+F. I'm inclined to think this is some kind of search function; but > > > > > if it is it sure doesn't work (at least it doesn't do anything as far > > > > > as I can tell). > > > > > > > > I assume you're talking about the list view, aren't you? The search > > > > field which gets displayed upon pressing Ctrl+F is part of gtk's > > > > treeview widget but apparently it doesn't seem to work in nautilus; > > > > hadn't time to look, why it doesn't work. > > > > > > We do typeahead without it. Maybe that conflicts somehow. > > > > Need to use gtk_tree_view_set_search_column for the (model) column Ctrl > > +F is supposed to search in. > > > > In file "fm-list-view.c", > > function: > > static void fm_list_view_instance_init (FMListView *list_view) > > add: > > gtk_tree_view_set_search_column (GTK_TREE_VIEW (list_view), > > list_view->details->file_name_column_num); > > > > at the end of the function. > > Do we want this though? We already support real typeahead. Well, nautilus' "real" typeahead is not very smart. It only searches for substring from the beginning. GtkTreeView's typeahead (actually "search") searches for the substring in any position, not just the beginning. Plus, you can press Up/Down arrows to go to next/previous match. Plus, you actually see what you're typing, and there is no magic timeout that doesn't give you any hint when it expires. I really miss Ctrl-S to activate GtkTreeView's search popup; it is much more friendly and effective than nautilus' typeahead. Sometimes I even have to use Ctrl-S in current nautilus to Select Pattern, then scroll down to see which rows are selected. Currently that's the only way to find a file when you only know a word in the middle. Best regards. -- Gustavo J. A. M. Carneiro <gjc inescporto pt> <gustavo users sourceforge net> The universe is always one step beyond logic.
Attachment:
smime.p7s
Description: S/MIME cryptographic signature