Page 1 of 1

theme xml file growing large due to context copies

Posted: Tue Dec 09, 2008 5:19 pm
by Richard Naninck
I probably shouldn't even be writing this because the xml file should be left alone, but here goes anyways:

I was editing the theme xml file because I want my panels to be put in the right place when editing the theme using the theme editer. I move the <skin> stuff to a place where I want it to be since dragging theme panels left and right is not an option in the editer (feature reqeust;))

I was moving the last few panels around and found loads and loads of context data. The context data belonged to different panels from which I copied some buttons. While copying the a contexted button and placing it on another panel which doesn't use context (or only the default one), still all context is copied along. Obviously this makes perfect sense but I just don't want this context to be there when it is not needed. So instead of default context, a NONE context or Reset context would be nice too. My theme xml file has grown to 8600 lines from which I could delete 400 + lines of overhead context. I guess it's just me and text (xml) lines don't bother anybody.. but hey

Re: theme xml file growing large due to context copies

Posted: Sat Dec 13, 2008 9:39 am
by dlmorgan999
8600 lines!? WOW - that's amazing! Mine biggest theme is "only" about 3100 lines and I thought that was big (it has 53 panels). What are you doing that makes your files so large?

Re: theme xml file growing large due to context copies

Posted: Sat Dec 13, 2008 10:07 am
by Richard Naninck
Just a lot of panels crowded with status, images, buttons.. well just about all there is to put on panels :D