On Wed, Dec 8, 2010 at 11:08 AM, jour <[email protected]> wrote: > Hi, > > First, I would like to thanks everyone working on Epiphany ! I use it > with a lot of bookmarklets and bookmark shortcuts (with its extension). > The bookmarklets suggestion shown under the search bar when typing in it > hide the current web page, preventing the view of some information that > may be relevant in my search (i.e. the exact name of someone I want to > search about). > > So I would like to write an extension removing that feature (or better, > removing only selected bookmarks from the list). But I can't find any > clue on where is the relevant epiphany method or object that for. > Reading epiphany documentation or source code didn't provide me answer > (I'm not much experienced). So any help on that is welcome !
There's really no ready-made way of doing this, but your best bet is probably access the EphyWindow from an extension and then get the location entry from there (either accessing the toolbar or perhaps through GtkUIManager). Then you'll have to mess with it to fit it to your needs, you'll probably want to read up on GtkEntry and GtkEntryCompletion and check lib/widgets/ephy-location-entry.c to see how it works. Cheers, Xan > > Thank you. > > _______________________________________________ > epiphany-list mailing list > [email protected] > http://mail.gnome.org/mailman/listinfo/epiphany-list > _______________________________________________ epiphany-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/epiphany-list
