Two quick changes that bothered me: first all the services have icons and they're from the freedesktop icon naming spec. And second "Files" is the default selection in the combobox. [1] http://standards.freedesktop.org/icon-naming-spec/icon-naming-spec-latest.html On 9/12/06, Edward Duffy <eduffy gmail com> wrote:
I played around with this for a little bit. I've added the SexyIconEntry, replaced the Next 20/ Previous 20 with icon'ed buttons, moved the "Search" label, and added a combo box that is dynamically filled with tracker's Services. I'd prefer this route to using the tabs...I not crazy about showing the categories of the results in tabs or a treeview. I actually like how the Ubuntu (I think it's just Ubunut specific) "Add to Panel" dialog is laid out[1], and think that would be a good model to follow. I'm attaching my changes to the glade and C code, and a screen shot for anyone who doesn't feel like running the code. Also, what's with the text view at the bottom? [1] http://www.manucornet.net/ubuntu/#panel_addto_v2 On 9/12/06, Mikkel Kamstrup Erlandsen <mikkel kamstrup gmail com> wrote: > On Tue, 2006-09-12 at 21:14 +0200, Jaime Frutos Morales wrote: > > 2006/9/12, Edward Duffy <eduffy gmail com>: > > > > "Search" word is dancing at the top of the window :-) > > > > An icon like the one in Rhythmbox should be added in the search field, > > > > it also bring an easy way to clear the field. > > > > > > > > > > To add the clear button: > > > (1) Install libsexy [1] > > > (2) Replace the GtkEntry widget, with a custom widget (The 'C' icon > > > under GTK+ Additional) > > > (3) Set the "Create Function" property to "sexy_icon_entry_new" > > > (4) In your C code, call "sexy_icon_entry_add_clear_button (search_entry);" > > > This will automatically add the Clear icon and will clear the > > > text when you click it. > > > > > > [1] http://www.chipx86.com/wiki/Libsexy > > > > > > > > Laurent. > > > > Libsexy is not part of the official gnome libreries, so if we plan to > > include tracker in the next release cycle, including libsexy > > dependencies won't help (unless you get libsexy included too). > > Yeah, deskbar-applet uses an inlined copy of epiphany's entry code to > get the icon-entry functionality (atleast I think it is epi's). If we > are merely talking about inlining icon-entry code there's prolly no > point in making an optional dependency on libsexy. > > Cheers, > Mikkel > >
Attachment:
tracker-gui.tar.gz
Description: GNU Zip compressed data