From ed4e3afe6635eb4f37040c4c1cd00fca8369f1d0 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Tue, 5 Dec 2017 22:17:50 +0000
Subject: linhes-theme: notification-ui.xml: fix progress bars and add image to
 fullscreen

---
 abs/core/linhes-theme/PKGBUILD                  |  4 +-
 abs/core/linhes-theme/notification-ui.xml.patch | 54 ++++++++++++++++++-------
 2 files changed, 41 insertions(+), 17 deletions(-)

diff --git a/abs/core/linhes-theme/PKGBUILD b/abs/core/linhes-theme/PKGBUILD
index 4210690..0420f3e 100755
--- a/abs/core/linhes-theme/PKGBUILD
+++ b/abs/core/linhes-theme/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=linhes-theme
 pkgver=8.5
-pkgrel=3
+pkgrel=4
 pkgdesc="Default LinHES MythTV theme"
 arch=('i686' 'x86_64')
 license=('GPL2')
@@ -110,7 +110,7 @@ md5sums=('2dca856c2a4d1f959473512c94e43b60'
          'cf259052229f42646d7f37023ec55f44'
          '52bb1c1a6c693adc8c04227fb124955a'
          '643e7d548587b8742ed5accb6d736257'
-         '80bb72994eca59ca6dc9034ac185e7cc'
+         'dd1e013e806efc26049ea89637a51f83'
          '9fe3371a8b964a7028126405cfaa330b'
          '537e12f58ae8da81176d8b982ac9c783'
          'a0b6733e4a6734a3c24e8dc3b0c14e74'
diff --git a/abs/core/linhes-theme/notification-ui.xml.patch b/abs/core/linhes-theme/notification-ui.xml.patch
index 98b1287..923f712 100644
--- a/abs/core/linhes-theme/notification-ui.xml.patch
+++ b/abs/core/linhes-theme/notification-ui.xml.patch
@@ -1,5 +1,5 @@
---- notification-ui.xml.orig	2016-10-10 19:55:20.796354375 +0000
-+++ notification-ui.xml	2016-10-10 19:40:05.992756927 +0000
+--- notification-ui.xml.orig	2017-12-05 21:58:48.987074621 +0000
++++ notification-ui.xml	2017-12-05 22:00:42.962305760 +0000
 @@ -3,11 +3,9 @@
  
  <mythuitheme>
@@ -102,23 +102,24 @@
 -
          <textarea name="progress_text" from="basetextarea" depends="progress">
 -            <area>370,113,396,30</area>
-+            <area>14,80,206,30</area>
-             <font>basesomewhatsmaller</font>
+-            <font>basesomewhatsmaller</font>
++            <area>14,72,438,30</area>
++            <font>baseevensmaller</font>
              <align>right</align>
 +            <scroll direction="left" startdelay="1"/>
          </textarea>
  
          <progressbar name="progress" from="baseprogressbar">
 -            <position>14,148</position>
-+            <position>230,90</position>
++            <position>14,96</position>
              <imagetype name="background">
 -                <area>0,0,752,10</area>
-+                <area>0,0,226,10</area>
++                <area>0,0,438,10</area>
                  <filename>images/progressbar/progressbar_background.png</filename>
              </imagetype>
              <imagetype name="progressimage">
 -                <area>0,0,752,10</area>
-+                <area>0,0,220,10</area>
++                <area>0,0,438,10</area>
                 <filename>images/progressbar/progressbar_fill.png</filename>
              </imagetype>
          </progressbar>
@@ -201,7 +202,7 @@
                  </imagetype>
              </state>
              <state name="warning">
-@@ -194,65 +188,60 @@
+@@ -194,79 +188,74 @@
                  <imagetype name="imageerror">
                      <filename>images/warning.png</filename>
                      <mask>images/masks/notification_image_mask.png</mask>
@@ -284,8 +285,28 @@
 -        </textarea>
 -        
          <textarea name="progress_text" from="basetextarea" depends="progress">
-             <area>370,113,398,30</area>
-             <font>basesomewhatsmaller</font>
+-            <area>370,113,398,30</area>
+-            <font>basesomewhatsmaller</font>
++            <area>14,72,324,30</area>
++            <font>baseevensmaller</font>
+             <align>right</align>
+         </textarea>
+-        
++
+         <progressbar name="progress" from="baseprogressbar">
+-            <position>170,148</position>
++            <position>14,96</position>
+             <imagetype name="background">
+-                <area>0,0,598,10</area>
++                <area>0,0,324,10</area>
+                 <filename>images/progressbar/progressbar_background.png</filename>
+             </imagetype>
+             <imagetype name="progressimage">
+-                <area>0,0,598,10</area>
++                <area>0,0,324,10</area>
+                <filename>images/progressbar/progressbar_fill.png</filename>
+             </imagetype>
+         </progressbar>
 @@ -283,12 +272,12 @@
          </shape>
  
@@ -334,7 +355,7 @@
                      <area>0,0,100%,100%</area>
                      <preserveaspect>true</preserveaspect>
                  </imagetype>
-@@ -325,22 +314,16 @@
+@@ -325,7 +314,7 @@
              <state name="busy">
                  <area>0,0,100%,100%</area>
                  <imagetype name="imagebusy">
@@ -343,15 +364,18 @@
                      <area>0,0,100%,100%</area>
                      <preserveaspect>true</preserveaspect>
                  </imagetype>
-             </state>
+@@ -333,14 +322,14 @@
          </statetype>
  
--        <imagetype name="image" depends="!mediastate&amp;!errorstate">
+         <imagetype name="image" depends="!mediastate&amp;!errorstate">
 -            <filename>images/damaged_fullscreen.png</filename>
 -            <area>0,0,100%,100%</area>
 -            <preserveaspect>true</preserveaspect>
--        </imagetype>
--
++            <filename>images/error.png</filename>
++            <mask>images/masks/notification_image_mask.png</mask>
++            <area>423,20,435,435</area>
+         </imagetype>
+ 
          <textarea name="title" from="basetextarea">
              <area>170,475,940,45</area>
 -            <font>baseextralargebold</font>
-- 
cgit v0.12

