Opened 18 years ago
Closed 18 years ago
#2249 closed defect (wontfix)
base.xml imagetype searchpath
Reported by: | Owned by: | Isaac Richards | |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | mythtv | Version: | head |
Severity: | low | Keywords: | |
Cc: | Ticket locked: | no |
Description
If an imagetype is defined in base.xml, MythTV looks in your home dir first for the image instead of the theme dir.
For example, with the following base.xml. If the file /home/mythtv/button_background.jpg exists it will be used instead of the button_background.jpg supplied by the theme.
<mythuitheme>
<window name="backgroundwindow">
<imagetype name="backimg">
<filename>background.jpg</filename>
</imagetype>
<imagetype name="logo">
<filename>button_background.jpg</filename> <position>0,0</position>
<alphapulse min="180" max="180" change="0"/>
</imagetype>
</window>
</mythuitheme>
This is actually desired behavior. It's not specifically looking in the homedir, but for files in the current working directory. This is to allow local changes to override theme changes, especially during development.