Re: Ctrl+F



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. And why does
Gtk+ pop up the dialog thingine if there is no search column set?

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's a globe-trotting day-dreaming cop with nothing left to lose. She's a 
disco-crazy streetsmart bounty hunter who don't take no shit from nobody. They 
fight crime! 




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