Hello community,

here is the log from the commit of package polari for openSUSE:Factory checked 
in at 2020-07-29 17:15:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/polari (Old)
 and      /work/SRC/openSUSE:Factory/.polari.new.3592 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "polari"

Wed Jul 29 17:15:24 2020 rev:43 rq:822577 version:3.36.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/polari/polari.changes    2020-06-08 
23:50:24.126543467 +0200
+++ /work/SRC/openSUSE:Factory/.polari.new.3592/polari.changes  2020-07-29 
17:16:34.752369095 +0200
@@ -1,0 +2,5 @@
+Sat Jul 18 19:15:46 UTC 2020 - Bjørn Lie <[email protected]>
+
+- Add polari-fix-log-spam.patch: Quiet down unneeded warnings.
+
+-------------------------------------------------------------------

New:
----
  polari-fix-log-spam.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ polari.spec ++++++
--- /var/tmp/diff_new_pack.r2U58s/_old  2020-07-29 17:16:39.436372922 +0200
+++ /var/tmp/diff_new_pack.r2U58s/_new  2020-07-29 17:16:39.440372925 +0200
@@ -28,6 +28,8 @@
 Source99:       polari-rpmlintrc
 # PATCH-FIX-UPSTREAM polari-fix-nb-translation.patch glgo#GNOME/polari!145 -- 
Fix Norwegian bokmål translation
 Patch0:         polari-fix-nb-translation.patch
+# PATCH-FIX-UPSTREAM polari-fix-log-spam.patch -- Quiet down unneeded log 
warnings
+Patch1:         polari-fix-log-spam.patch
 
 BuildRequires:  gjs >= 1.57.3
 BuildRequires:  meson >= 0.43.0

++++++ polari-fix-log-spam.patch ++++++
>From eb918032722041abaed5f74a37a091e322e2d319 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Florian=20M=C3=BCllner?= <[email protected]>
Date: Sat, 18 Jul 2020 16:12:25 +0200
Subject: [PATCH] urlPreview: Move margin into CSS

Setting it in code for some reason confuses size negotiations, resulting
in warnings about negative size requests. It looks like CSS margins
don't suffer from the same problem, so just use those instead.

https://gitlab.gnome.org/GNOME/polari/-/issues/142
---
 data/resources/application.css | 3 +++
 src/urlPreview.js              | 2 --
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/data/resources/application.css b/data/resources/application.css
index a0a57a76..e455304f 100644
--- a/data/resources/application.css
+++ b/data/resources/application.css
@@ -118,6 +118,9 @@ treeview.polari-server-room-list {
 }
 
 .url-preview { padding: 8px; }
+.url-preview { margin: 12px; }
+.url-preview:dir(ltr) { margin-left: 0; }
+.url-preview:dir(rtl) { margin-right: 0; }
 .url-preview image { min-width: 120px; min-height: 90px; }
 .url-preview label { font-size: small; }
 
diff --git a/src/urlPreview.js b/src/urlPreview.js
index e388b78b..b818c812 100644
--- a/src/urlPreview.js
+++ b/src/urlPreview.js
@@ -78,8 +78,6 @@ var URLPreview = GObject.registerClass({
 
         this.set({
             orientation: Gtk.Orientation.VERTICAL,
-            margin: 12,
-            margin_start: 0,
             spacing: 6,
         });
 
-- 
GitLab


Reply via email to