View previous topic :: View next topic |
Author |
Message |
ErnieS n00b
Joined: 14 Jan 2003 Posts: 49 Location: South FL
|
Posted: Tue Sep 04, 2007 3:12 pm Post subject: editing an E17 module .edc file |
|
|
I want to change the look of e_modules-forecasts so the popup window background is a different color. I edited the e_modules/forecasts/forecasts.edc file but rebuilding the module, doesn't pick up my changes any ideas as to what I can do? _________________ Regards, Ernie
100% Microsoft and Intel free |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Tue Sep 04, 2007 3:17 pm Post subject: |
|
|
Moved from Desktop Environments to Unsupported Software.
unsupported stuff, so moved here. _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
|
confusion Tux's lil' helper
Joined: 24 Mar 2004 Posts: 132
|
Posted: Fri Sep 07, 2007 7:52 pm Post subject: |
|
|
I'm having a real hard time finding forecasts in the e_modules cvs-src folder. Where exactly is this located?
John |
|
Back to top |
|
|
ErnieS n00b
Joined: 14 Jan 2003 Posts: 49 Location: South FL
|
Posted: Fri Sep 07, 2007 9:08 pm Post subject: |
|
|
I'm using the Gentoo overlay (Vapier's Dev Overlay). I followed directions here: http://gentoo-wiki.com/HOWTO_emerge_e17#Installation
e_modules-forecasts will be placed at /usr/portage/local/x11-plugins _________________ Regards, Ernie
100% Microsoft and Intel free |
|
Back to top |
|
|
sirdilznik l33t
Joined: 28 Apr 2005 Posts: 731
|
Posted: Thu Sep 13, 2007 4:30 am Post subject: |
|
|
I haven't messed with e17 modules in a while, but I used to. First you need to decompile the module with Code: | edje_decc <module.edj> |
A folder will be created with the name <module>. There will be some pictures (most likely in png format) a script called build.sh and an .edc file. You can change the images and edit the .edc file to change the module. I still only have a basic grasp of it myself, but just look the code through and do some trial and error. The code is very C-like and not that hard to read eventually once you get the hang of it. Once finished you can recompile the module using the build script (which is ridiculously easy to edit).
I'm probably going to get back into making e17 backgrounds in the next few days and should shake the rust off. If you need more help I'll see what I can do once I'm back into practice. |
|
Back to top |
|
|
gimpel Advocate
Joined: 15 Oct 2004 Posts: 2720 Location: Munich, Bavaria
|
Posted: Thu Sep 13, 2007 6:28 am Post subject: |
|
|
confusion wrote: | I'm having a real hard time finding forecasts in the e_modules cvs-src folder. Where exactly is this located?
John |
Quote: | * Running cvs -q -f -z1 -d ":pserver:anonymous@anoncvs.enlightenment.org:/var/cvs/e" checkout e_modules/forecasts |
So it's in /usr/portage/distfiles/cvs-src/e_modules/forecasts/
Making that damn popup-on-mouseover configurable to show up only on-click or not at all would be cool. _________________ http://proaudio.tuxfamily.org/wiki - pro-audio software overlay
|
|
Back to top |
|
|
confusion Tux's lil' helper
Joined: 24 Mar 2004 Posts: 132
|
Posted: Sat Sep 15, 2007 10:08 am Post subject: |
|
|
I think that you need to be looking in /usr/portage/distfiles/cvs-src/e17/apps/e/data/themes/default_gadman.edc at the group e/gadman/popup.
The forecasts.edc included with the module is out of date, and describes modules/forecasts/popup as an edje group. This group isn't referenced anywhere in the modules code, and so no theme is set for e/gadman/popup. In this case the module relies on the e17 theme itself for e/gadman/popup definitions or it falls back on the default look.
edje_decc your favourite theme, alter (or add) the e/gadman/popup group to your needs using the default theme as a reference, but do remember that this will alter the appearance of ALL module popups. If you want a specific background just for the forecasts module, i think you may need to alter the code slightly. I'm not sure if it's possible to provide a separate edj for the forecasts module at this point.
Hope this helps
John |
|
Back to top |
|
|
|