<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" 
   xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" 
   xmlns:html="http://www.w3.org/1999/html" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/">
<channel>
   <title>Fer's blog</title>
   <link>http://www.gnome.org/~fherrera/blog</link>
   <description>fer, ferulo, that crazy man</description>
   <language>en</language>
   <copyright>Copyright 2006 Fernando Herrera</copyright>
   <ttl>60</ttl>
   <pubDate>Sun, 04 Sep 2005 00:15 GMT</pubDate>
   <managingEditor>fherrera@onirica.com</managingEditor>
   <generator>PyBlosxom http://pyblosxom.sourceforge.net/ 1.3.2 2/13/2006</generator>
<item>
   <title>Searching GNOME with Beagle</title>
   <guid isPermaLink="false">searching</guid>
   <link>http://www.gnome.org/~fherrera/blog/searching.html</link>
   <description><![CDATA[
<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>
   <category domain="http://www.gnome.org/~fherrera/blog">main</category>
   <pubDate>Sun, 04 Sep 2005 00:15 GMT</pubDate>
</item>
</channel>
</rss>
