<?xml version="1.0"?>
<rss version="2.0">
<channel>
	<title>Fer's blog</title>
	<link>http://www.gnome.org/~fherrera/blog/2005/Sep/04/</link>
	<description>fer, ferulo, that crazy man</description>
	<language>en</language>
	<managingEditor>fherrea@onrica.com</managingEditor>
	<webMaster>fherrera@onirica.com</webMaster>
	<image>
		<url>http://www.gnome.org/~fherrera/img/fer_reallysmall.png</url>
		<title>Fer's blog</title>
		<link>http://www.gnome.org/~fherrera/blog/2005/Sep/04/</link>
		<width>70</width>
		<height>75</height>
	</image>
	<item>
		<title>Searching GNOME with Beagle</title>
		<guid isPermaLink="true">http://www.gnome.org/~fherrera/blog/2005/Sep/04//searching</guid>
		<description><p>After two months of too much work(TM) (things like writing more than 4K LOC in a weekend), I got some spare time to hack on GNOME again. Today I updated my cvs copy of most of my gnome.org stuff. When updating <a href="http://beaglewiki.org/Main_Page">Beagle</a> I noticed the addition of <a href="http://cvs.gnome.org/viewcvs/beagle/libbeagle/">libbeagle</a>. So I thought that it was good stuff(TM) and tried to port my old and ugly <a href="http://www.gnome.org/~fherrera/blog/searching_inside_the_GtkFileChooser.html">patch for searching files with locate inside GtkFileChooser</a> to use <a href="http://beaglewiki.org/Main_Page">Beagle</a> instead of locate. So now it rocks, because I can search for the word <i>Onirica</i> and I can get all files related to it (OOo files containing that text, pictures with that title...):<br /><center><img src="http://www.gnome.org/~fherrera/img/gtkfilechooser-beaglesearch.png" border="0" /></center><br /> Of course, this is not a good way to do the thing, just a local and custom patch. The real way will be using <a href="http://primates.ximian.com/~federico/docs/file-chooser-extension-spec/">Federico's GtkFileChooser Extension Interface</a> when it get implemented. If you want to try the <a href="http://www.gnome.org/~fherrera/patches/gtkfilechooser-beaglesearch.patch">GtkFileChooser Beagle search hook patch</a> you'd need gtk+ from gnome-28 branch and beagle from HEAD.<br />PS: Don't try it with gedit, because the patch is ugly and just copies and old version of gedit_output_window.c code into gtk+, so you will get conflicts between different versions of the same functions.<br />PS2: Oh, I forget to metion that the only thing I hate of GtkFileChooser is that if you have a ssh:// uri bookmarked or in recent-files, every chooser dialog will try to connect to the remote host just for getting info about its parent (opening an ssh conection, asking for access to the gnome-keyring, etc...</p>
</description>
		<pubDate>Sun, 04 Sep 2005 00:15 -0400</pubDate>
	</item>
</channel>
</rss>
