Re: Importing custom modules in Gjs



Here it is,  
http://pastebin.com/Qb1E3sZZ

On Sun, Aug 5, 2012 at 6:10 PM, alex diavatis <alexis diavatis gmail com> wrote:
Hello Jasper, 

I tried also this and it doesn't work, 
I tried many things I am stacked on it for an hour, give me please a sec to paste-bin all the code 

Thank you for the help



On Sun, Aug 5, 2012 at 6:08 PM, Jasper St. Pierre <jstpierre mecheye net> wrote:
On Sun, Aug 5, 2012 at 11:01 AM, alex diavatis
<alexis diavatis gmail com> wrote:
> Hello Jasper,
>
> On Sun, Aug 5, 2012 at 5:57 PM, Jasper St. Pierre <jstpierre mecheye net>
> wrote:
>
>> You need to import Clutter as well:
>>
>> const Clutter = imports.gi.Clutter;
>
>
> Of course I have Clutter imported.
> I just can't find a way to call black_c from conf.js to main.js. When I call
> it it I get:
> ReferenceError: black_c is not defined

Oh, so you added black_c in Conf?

Then, you want Conf.black_c.

>>
>> > - alex
>> >
>> > _______________________________________________
>> > gnome-shell-list mailing list
>> > gnome-shell-list gnome org
>> > https://mail.gnome.org/mailman/listinfo/gnome-shell-list
>> >
>>
>>
>>
>> --
>>   Jasper
>
>



--
  Jasper




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