Skip to content

Commit

Permalink
Update default notification theme to support no artwork condition
Browse files Browse the repository at this point in the history
  • Loading branch information
jyavenard committed Jul 15, 2013
1 parent 4d0fbb7 commit 11ab3b5
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
Binary file added mythtv/themes/default/noartwork.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 14 additions & 1 deletion mythtv/themes/default/notification-ui.xml
Expand Up @@ -80,6 +80,19 @@
<area>0,0,100%,100%</area>
</shape>

<statetype name="mediastate">
<area>0,0,100%,100%</area>
<state name="ok"/>
<state name="noartwork">
<area>0,0,100%,100%</area>
<imagetype name="imageartwork">
<!-- Artist: Vargas21 http://www.iconarchive.com/show/aquave-metal-icons-by-vargas21/Music-icon.html -->
<filename>noartwork.png</filename>
<area>18,18,144,144</area>
</imagetype>
</state>
</statetype>

<statetype name="errorstate">
<area>0,0,100%,100%</area>
<state name="ok"/>
Expand All @@ -93,7 +106,7 @@
</state>
</statetype>

<imagetype name="image" depends="!errorstate">
<imagetype name="image" depends="!mediastate&amp;!errorstate">
<filename>damaged.png</filename>
<area>18,18,144,144</area>
</imagetype>
Expand Down

0 comments on commit 11ab3b5

Please sign in to comment.