Re: Writing an extension that remove the bookmarklets list
- From: Xan Lopez <xan gnome org>
- To: jour <jour nuit3 gmail com>
- Cc: epiphany-list gnome org
- Subject: Re: Writing an extension that remove the bookmarklets list
- Date: Mon, 13 Dec 2010 21:57:51 +0100
On Wed, Dec 8, 2010 at 11:08 AM, jour <jour nuit3 gmail com> 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
> epiphany-list gnome org
> http://mail.gnome.org/mailman/listinfo/epiphany-list
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]