Re: [Sugar-devel] My custom activity-icon renders fine, except in the launched application toolbar

2014-01-25 Thread laurent bernabe
Oups, it seems that i forgot to link onto my project :
LearnChessWeb

Helps are welcome.

Regards.


2014/1/24 laurent bernabe 

> Hello,
>
> in my project LearningChessWeb, I've just changed the activity icon.
> It renders fine in journal and activities menu, but it can't be seen in
> the application toolbar, once launched.
>
> How could I "patch" it ?
>
> This is where I've been looking :
> http://wiki.laptop.org/go/Making_SVG_Icons_for_Sugar
>
> I've been designing icon with Inkscape, and added entities from Brackets
> IDE  (maybe it isn't the best way to design an activity icon ...)
>
> Regards
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] My custom activity-icon renders fine, except in the launched application toolbar

2014-01-25 Thread Walter Bender
Your icons are all bmp files. We use SVG for icons in Sugar. Please
refer to these pages:

http://wiki.sugarlabs.org/go/Human_Interface_Guidelines/The_Sugar_Interface/Icons

and

http://wiki.sugarlabs.org/go/Sugar_iconify

regards.

-walter

On Sat, Jan 25, 2014 at 5:46 AM, laurent bernabe
 wrote:
> Oups, it seems that i forgot to link onto my project :
> LearnChessWeb
>
> Helps are welcome.
>
> Regards.
>
>
> 2014/1/24 laurent bernabe 
>>
>> Hello,
>>
>> in my project LearningChessWeb, I've just changed the activity icon.
>> It renders fine in journal and activities menu, but it can't be seen in
>> the application toolbar, once launched.
>>
>> How could I "patch" it ?
>>
>> This is where I've been looking :
>> http://wiki.laptop.org/go/Making_SVG_Icons_for_Sugar
>>
>> I've been designing icon with Inkscape, and added entities from Brackets
>> IDE  (maybe it isn't the best way to design an activity icon ...)
>>
>> Regards
>
>
>
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>



-- 
Walter Bender
Sugar Labs
http://www.sugarlabs.org
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] My custom activity-icon renders fine, except in the launched application toolbar

2014-01-25 Thread laurent bernabe
Hello,

thank you for your answer,

in fact the folder icons should have been named "pictures", as I won't use
these resources as icons, but as pictures in my application.

I didn't know about the sugar_iconify program : thanks again, I'll have a
look at it. As I kept a copy of my svg activity icon before adding
entities, it is still time to use it.

Thanks.

Regards


2014-01-25 Walter Bender 

> Your icons are all bmp files. We use SVG for icons in Sugar. Please
> refer to these pages:
>
>
> http://wiki.sugarlabs.org/go/Human_Interface_Guidelines/The_Sugar_Interface/Icons
>
> and
>
> http://wiki.sugarlabs.org/go/Sugar_iconify
>
> regards.
>
> -walter
>
> On Sat, Jan 25, 2014 at 5:46 AM, laurent bernabe
>  wrote:
> > Oups, it seems that i forgot to link onto my project :
> > LearnChessWeb
> >
> > Helps are welcome.
> >
> > Regards.
> >
> >
> > 2014/1/24 laurent bernabe 
> >>
> >> Hello,
> >>
> >> in my project LearningChessWeb, I've just changed the activity icon.
> >> It renders fine in journal and activities menu, but it can't be seen in
> >> the application toolbar, once launched.
> >>
> >> How could I "patch" it ?
> >>
> >> This is where I've been looking :
> >> http://wiki.laptop.org/go/Making_SVG_Icons_for_Sugar
> >>
> >> I've been designing icon with Inkscape, and added entities from Brackets
> >> IDE  (maybe it isn't the best way to design an activity icon ...)
> >>
> >> Regards
> >
> >
> >
> > ___
> > Sugar-devel mailing list
> > Sugar-devel@lists.sugarlabs.org
> > http://lists.sugarlabs.org/listinfo/sugar-devel
> >
>
>
>
> --
> Walter Bender
> Sugar Labs
> http://www.sugarlabs.org
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] My custom activity-icon renders fine, except in the launched application toolbar

2014-01-25 Thread laurent bernabe
Hello again,

I've downloaded sugariconify script in my Ubuntu post, but I get the
following error :

_
$ ./sugariconify.py -s #00 -f #ff -o activity-icon.svg
./sugariconify.py: ligne 27: HELP : commande introuvable  (could not find
command HELP on line 27)
./sugariconify.py: ligne 45: Erreur de syntaxe près du symbole inattendu «
( » (syntax error near unexpected symbol '(' on line 45 )
./sugariconify.py: ligne 45: `class SugarIconify():' (on line 45).
_

Regards


2014-01-25 laurent bernabe 

> Hello,
>
> thank you for your answer,
>
> in fact the folder icons should have been named "pictures", as I won't use
> these resources as icons, but as pictures in my application.
>
> I didn't know about the sugar_iconify program : thanks again, I'll have a
> look at it. As I kept a copy of my svg activity icon before adding
> entities, it is still time to use it.
>
> Thanks.
>
> Regards
>
>
> 2014-01-25 Walter Bender 
>
>> Your icons are all bmp files. We use SVG for icons in Sugar. Please
>> refer to these pages:
>>
>>
>> http://wiki.sugarlabs.org/go/Human_Interface_Guidelines/The_Sugar_Interface/Icons
>>
>> and
>>
>> http://wiki.sugarlabs.org/go/Sugar_iconify
>>
>> regards.
>>
>> -walter
>>
>> On Sat, Jan 25, 2014 at 5:46 AM, laurent bernabe
>>  wrote:
>> > Oups, it seems that i forgot to link onto my project :
>> > LearnChessWeb
>> >
>> > Helps are welcome.
>> >
>> > Regards.
>> >
>> >
>> > 2014/1/24 laurent bernabe 
>> >>
>> >> Hello,
>> >>
>> >> in my project LearningChessWeb, I've just changed the activity icon.
>> >> It renders fine in journal and activities menu, but it can't be seen in
>> >> the application toolbar, once launched.
>> >>
>> >> How could I "patch" it ?
>> >>
>> >> This is where I've been looking :
>> >> http://wiki.laptop.org/go/Making_SVG_Icons_for_Sugar
>> >>
>> >> I've been designing icon with Inkscape, and added entities from
>> Brackets
>> >> IDE  (maybe it isn't the best way to design an activity icon ...)
>> >>
>> >> Regards
>> >
>> >
>> >
>> > ___
>> > Sugar-devel mailing list
>> > Sugar-devel@lists.sugarlabs.org
>> > http://lists.sugarlabs.org/listinfo/sugar-devel
>> >
>>
>>
>>
>> --
>> Walter Bender
>> Sugar Labs
>> http://www.sugarlabs.org
>>
>
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] My custom activity-icon renders fine, except in the launched application toolbar

2014-01-26 Thread laurent bernabe
Hello, thank you for your answer.

Something must be wrong with parameters, as it sends me the options back :


$ python ./sugariconify.py -s #00 -f #ff -o activity-icon.svg

Usage: sugar-iconify.py [options] input.svg

Options:

 -c Apply default color entities (#66, #ff) to output
 -d directory The preferred output directory
 -e Do not insert entities for strokes and fills
 -f hex Hex value to replace with fill entity
 -g Automatically accept guesses for stroke and fill entities
 -h Display this help message
 -i Insert "isolated stroke" entities
 -m Multiple export; export top level groups as separate icons
 -o Overwrite the input file; overridden by -m
 -p pattern Only export icons whose name matches pattern; for use with -m
 -s hex Hex value to replace with stroke entity
 -x Output example SVGs, for previewing their appearance in Sugar;
ignored with -m
 -v verbose

___

Regards


2014-01-25 Walter Bender 

> try:
>
> python ./sugariconify.py -s #00 -f #ff -o activity-icon.svg
>
>
> On Sat, Jan 25, 2014 at 4:45 PM, laurent bernabe
>  wrote:
> > Hello again,
> >
> > I've downloaded sugariconify script in my Ubuntu post, but I get the
> > following error :
> >
> > _
> > $ ./sugariconify.py -s #00 -f #ff -o activity-icon.svg
> > ./sugariconify.py: ligne 27: HELP : commande introuvable  (could not find
> > command HELP on line 27)
> > ./sugariconify.py: ligne 45: Erreur de syntaxe près du symbole inattendu
> « (
> > » (syntax error near unexpected symbol '(' on line 45 )
> > ./sugariconify.py: ligne 45: `class SugarIconify():' (on line 45).
> > _
> >
> > Regards
> >
> >
> > 2014-01-25 laurent bernabe 
> >
> >> Hello,
> >>
> >> thank you for your answer,
> >>
> >> in fact the folder icons should have been named "pictures", as I won't
> use
> >> these resources as icons, but as pictures in my application.
> >>
> >> I didn't know about the sugar_iconify program : thanks again, I'll have
> a
> >> look at it. As I kept a copy of my svg activity icon before adding
> entities,
> >> it is still time to use it.
> >>
> >> Thanks.
> >>
> >> Regards
> >>
> >>
> >> 2014-01-25 Walter Bender 
> >>>
> >>> Your icons are all bmp files. We use SVG for icons in Sugar. Please
> >>> refer to these pages:
> >>>
> >>>
> >>>
> http://wiki.sugarlabs.org/go/Human_Interface_Guidelines/The_Sugar_Interface/Icons
> >>>
> >>> and
> >>>
> >>> http://wiki.sugarlabs.org/go/Sugar_iconify
> >>>
> >>> regards.
> >>>
> >>> -walter
> >>>
> >>> On Sat, Jan 25, 2014 at 5:46 AM, laurent bernabe
> >>>  wrote:
> >>> > Oups, it seems that i forgot to link onto my project :
> >>> > LearnChessWeb
> >>> >
> >>> > Helps are welcome.
> >>> >
> >>> > Regards.
> >>> >
> >>> >
> >>> > 2014/1/24 laurent bernabe 
> >>> >>
> >>> >> Hello,
> >>> >>
> >>> >> in my project LearningChessWeb, I've just changed the activity icon.
> >>> >> It renders fine in journal and activities menu, but it can't be seen
> >>> >> in
> >>> >> the application toolbar, once launched.
> >>> >>
> >>> >> How could I "patch" it ?
> >>> >>
> >>> >> This is where I've been looking :
> >>> >> http://wiki.laptop.org/go/Making_SVG_Icons_for_Sugar
> >>> >>
> >>> >> I've been designing icon with Inkscape, and added entities from
> >>> >> Brackets
> >>> >> IDE  (maybe it isn't the best way to design an activity icon ...)
> >>> >>
> >>> >> Regards
> >>> >
> >>> >
> >>> >
> >>> > ___
> >>> > Sugar-devel mailing list
> >>> > Sugar-devel@lists.sugarlabs.org
> >>> > http://lists.sugarlabs.org/listinfo/sugar-devel
> >>> >
> >>>
> >>>
> >>>
> >>> --
> >>> Walter Bender
> >>> Sugar Labs
> >>> http://www.sugarlabs.org
> >>
> >>
> >
>
>
>
> --
> Walter Bender
> Sugar Labs
> http://www.sugarlabs.org
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] My custom activity-icon renders fine, except in the launched application toolbar

2014-01-26 Thread laurent bernabe
Ok, found the problem :)

I need extra quotes :

___
$ python ./sugariconify.py -s "#00" -f "#ff" -o activity-icon.svg
entities_passed == 2

entity definitions:
 self.stroke_entity = #00
 self.fill_entity = #ff
___

Regards



2014-01-26 laurent bernabe 

> Hello, thank you for your answer.
>
> Something must be wrong with parameters, as it sends me the options back :
>
> 
> $ python ./sugariconify.py -s #00 -f #ff -o activity-icon.svg
>
> Usage: sugar-iconify.py [options] input.svg
>
> Options:
>
>  -c Apply default color entities (#66, #ff) to output
>  -d directory The preferred output directory
>  -e Do not insert entities for strokes and fills
>  -f hex Hex value to replace with fill entity
>  -g Automatically accept guesses for stroke and fill entities
>  -h Display this help message
>  -i Insert "isolated stroke" entities
>  -m Multiple export; export top level groups as separate icons
>  -o Overwrite the input file; overridden by -m
>  -p pattern Only export icons whose name matches pattern; for use with -m
>  -s hex Hex value to replace with stroke entity
>  -x Output example SVGs, for previewing their appearance in Sugar;
> ignored with -m
>  -v verbose
>
> ___
>
> Regards
>
>
> 2014-01-25 Walter Bender 
>
>> try:
>>
>> python ./sugariconify.py -s #00 -f #ff -o activity-icon.svg
>>
>>
>> On Sat, Jan 25, 2014 at 4:45 PM, laurent bernabe
>>  wrote:
>> > Hello again,
>> >
>> > I've downloaded sugariconify script in my Ubuntu post, but I get the
>> > following error :
>> >
>> > _
>> > $ ./sugariconify.py -s #00 -f #ff -o activity-icon.svg
>> > ./sugariconify.py: ligne 27: HELP : commande introuvable  (could not
>> find
>> > command HELP on line 27)
>> > ./sugariconify.py: ligne 45: Erreur de syntaxe près du symbole
>> inattendu « (
>> > » (syntax error near unexpected symbol '(' on line 45 )
>> > ./sugariconify.py: ligne 45: `class SugarIconify():' (on line 45).
>> > _
>> >
>> > Regards
>> >
>> >
>> > 2014-01-25 laurent bernabe 
>> >
>> >> Hello,
>> >>
>> >> thank you for your answer,
>> >>
>> >> in fact the folder icons should have been named "pictures", as I won't
>> use
>> >> these resources as icons, but as pictures in my application.
>> >>
>> >> I didn't know about the sugar_iconify program : thanks again, I'll
>> have a
>> >> look at it. As I kept a copy of my svg activity icon before adding
>> entities,
>> >> it is still time to use it.
>> >>
>> >> Thanks.
>> >>
>> >> Regards
>> >>
>> >>
>> >> 2014-01-25 Walter Bender 
>> >>>
>> >>> Your icons are all bmp files. We use SVG for icons in Sugar. Please
>> >>> refer to these pages:
>> >>>
>> >>>
>> >>>
>> http://wiki.sugarlabs.org/go/Human_Interface_Guidelines/The_Sugar_Interface/Icons
>> >>>
>> >>> and
>> >>>
>> >>> http://wiki.sugarlabs.org/go/Sugar_iconify
>> >>>
>> >>> regards.
>> >>>
>> >>> -walter
>> >>>
>> >>> On Sat, Jan 25, 2014 at 5:46 AM, laurent bernabe
>> >>>  wrote:
>> >>> > Oups, it seems that i forgot to link onto my project :
>> >>> > LearnChessWeb
>> >>> >
>> >>> > Helps are welcome.
>> >>> >
>> >>> > Regards.
>> >>> >
>> >>> >
>> >>> > 2014/1/24 laurent bernabe 
>> >>> >>
>> >>> >> Hello,
>> >>> >>
>> >>> >> in my project LearningChessWeb, I've just changed the activity
>> icon.
>> >>> >> It renders fine in journal and activities menu, but it can't be
>> seen
>> >>> >> in
>> >>> >> the application toolbar, once launched.
>> >>> >>
>> >>> >> How could I "patch" it ?
>> >>> >>
>> >>> >> This is where I've been looking :
>> >>> >> http://wiki.laptop.org/go/Making_SVG_Icons_for_Sugar
>> >>> >>
>> >>> >> I've been designing icon with Inkscape, and added entities from
>> >>> >> Brackets
>> >>> >> IDE  (maybe it isn't the best way to design an activity icon ...)
>> >>> >>
>> >>> >> Regards
>> >>> >
>> >>> >
>> >>> >
>> >>> > ___
>> >>> > Sugar-devel mailing list
>> >>> > Sugar-devel@lists.sugarlabs.org
>> >>> > http://lists.sugarlabs.org/listinfo/sugar-devel
>> >>> >
>> >>>
>> >>>
>> >>>
>> >>> --
>> >>> Walter Bender
>> >>> Sugar Labs
>> >>> http://www.sugarlabs.org
>> >>
>> >>
>> >
>>
>>
>>
>> --
>> Walter Bender
>> Sugar Labs
>> http://www.sugarlabs.org
>>
>
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel