theme xml file growing large due to context copies
Posted: Tue Dec 09, 2008 5:19 pm
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
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