On Sat, 14 Jan 2006 01:37:22 -0500 boneyfrog <[EMAIL PROTECTED]> babbled:

> On 1/13/06, Sthithaprajna Garapaty <[EMAIL PROTECTED]> wrote:
> >
> >
> > Hi,
> >
> > Currently, the non-standard gadgets have their themes in separate .edj
> > files.
> > However, the standard gadgets (ibar, ibox, etc) have their themes inside
> > the main theme file.
> > I'd like to see even the standard gadgets' themes moved out of the main
> > theme and into their own separate theme files.
> > This would make it easier and quicker to edit the themes and make small
> > customizations to these gadgets instead of repackaging the entire
> > "supertheme"
> >
> > Thanks
> >
> >
> actualy it would be nice if it was the other way around that way say i
> wanted to use the carbon-14 screenshot.edj all i would need to do is
> enlightenment_remote -theme-set "theme/modules/screenshot"
> "/path/to/the/other/theme.edj", the quotes are important, and as long as the
> theme was built with an edc that had a group with the name
> "/modules/screenshot/main" it would use that theme portion for screenshot
> instead of having to mv foo.edj /path/to/module/module.edj but that is only
> my opinion

actually - it's not all 3rd part moduels doing things right.

a moduels should
1. look for its image/graphics/theme data in the current theme - just like all
the core modules do. 2. they shoudl check RETURNS from this - and if it fails
to find a theme specified design, then it shoudl fall back to a .edj shipped
with the module.

the core moduels don't do #2 because they dont need to. they will always fall
back to data provided by the default theme, and so they don't need to, BUT all
other moduels should/MUST do this.

this allows a theme to proivde gfx for any/all/whatever moduels it wants. it
allows users to specify using different themes for different moduels as the
theme config interface already allows, it provides for theme gfx fallback
abilities to fall back levels until somethng is found. it also provides a
built-in .edj theme the moduel ships with as a default if no theme provides it.



-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    [EMAIL PROTECTED]
裸好多
Tokyo, Japan (東京 日本)


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to