Re: Ctrl+F



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.

Can't (read: shouldn't) provide a patch for this file because I'm
messing like hell with the selected_icon_locations stuff in there; hope
this still helps.

cheers,
  Danny

-- 
www.keyserver.net key id A334AEA6

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]