[Pkg-privacy-commits] [tails-installer] 110/210: Fix up the items width

Intrigeri intrigeri at moszumanska.debian.org
Wed May 24 15:26:34 UTC 2017


This is an automated email from the git hooks/post-receive script.

intrigeri pushed a commit to tag 3.90.0
in repository tails-installer.

commit 43500f9d087c5d6f1e04e25bff1147c21422dc4d
Author: Martin Briza <mbriza at redhat.com>
Date:   Thu Jun 18 14:53:19 2015 +0200

    Fix up the items width
---
 liveusb/components/ImageList.qml | 2 +-
 liveusb/releases.py              | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/liveusb/components/ImageList.qml b/liveusb/components/ImageList.qml
index ef62ccf..492eb54 100644
--- a/liveusb/components/ImageList.qml
+++ b/liveusb/components/ImageList.qml
@@ -161,7 +161,7 @@ Item {
             anchors {
                 fill: parent
                 leftMargin: 64
-                rightMargin: anchors.leftMargin
+                rightMargin: anchors.leftMargin - (fullList.width - fullList.viewport.width)
                 topMargin: 54
                 bottomMargin: -anchors.topMargin
             }
diff --git a/liveusb/releases.py b/liveusb/releases.py
index 86d6bac..b0058d7 100644
--- a/liveusb/releases.py
+++ b/liveusb/releases.py
@@ -95,6 +95,7 @@ def getProductDetails(url, name):
             product['description'] += '</blockquote>'
         elif i.html() and len(i.html()) > 0: # can't remove empty tags with :empty for some reason
             product['description'] += str(i)
+            product['description'].replace('h2', 'h4')
             product['description'].replace('h3', 'h4')
 
     if name == "Workstation":

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/tails-installer.git



More information about the Pkg-privacy-commits mailing list