Re: Implementing settings for extensions



On Mon, Apr 9, 2012 at 11:04 AM, Thiago Bellini Ribeiro
<hackedbellini gmail com> wrote:
> Hi all,
>
> I'm sorry if this isn't the right place to ask for this.
> I'm the author of this extension [1]. Now, there is a configuration
> button next to the "on/off" toggle of my installed extensions.
> Do anyone know how to implement that functionality? I would like to
> create a configuration window for my extension, for choosing the color
> and some other misc stuff, but I don't want to pollute the user's
> menu, and that new approach seems exactly what I need.

Hm, the configure button shouldn't appear if the extension isn't configurable.

Anyway, you implement configurability by adding a prefs.js. See this
post for more details:

     http://blog.mecheye.net/2012/02/more-extension-api-breaks/

> Thanks in advanced,
>
> [1] - https://extensions.gnome.org/extension/258
>
> --
> Thiago Bellini | http://hackedbellini.org
>
> “Real knowledge is to know the extent of one's ignorance.” - Confucius
> _______________________________________________
> gnome-shell-list mailing list
> gnome-shell-list gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-shell-list



-- 
  Jasper


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]