Hello community,

here is the log from the commit of package vte for openSUSE:Factory checked in 
at 2016-08-06 20:34:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/vte (Old)
 and      /work/SRC/openSUSE:Factory/.vte.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "vte"

Changes:
--------
--- /work/SRC/openSUSE:Factory/vte/vte.changes  2016-06-03 16:33:10.000000000 
+0200
+++ /work/SRC/openSUSE:Factory/.vte.new/vte.changes     2016-08-06 
20:34:36.000000000 +0200
@@ -1,0 +2,8 @@
+Sat May 28 20:16:02 UTC 2016 - [email protected]
+
+- Add vte-widget_get_preferred_height.patch:
+  widget_get_preferred_height: use vertical padding, not
+  horizontal. Corresponding patches in gnome-terminal. Patch from
+  upstream git (bgo#760944).
+
+-------------------------------------------------------------------

New:
----
  vte-widget_get_preferred_height.patch

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

Other differences:
------------------
++++++ vte.spec ++++++
--- /var/tmp/diff_new_pack.BT1XTS/_old  2016-08-06 20:34:37.000000000 +0200
+++ /var/tmp/diff_new_pack.BT1XTS/_new  2016-08-06 20:34:37.000000000 +0200
@@ -30,6 +30,8 @@
 License:        LGPL-2.0 and GPL-2.0+
 Group:          Development/Libraries/GNOME
 Source:         
http://download.gnome.org/sources/vte/0.44/%{_name}-%{version}.tar.xz
+# PATCH-FIX-UPSTREAM vte-widget_get_preferred_height.patch bgo#760944 
[email protected] -- widget_get_preferred_height: use vertical padding, not 
horizontal
+Patch0:         vte-widget_get_preferred_height.patch
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 BuildRequires:  gobject-introspection-devel
@@ -132,6 +134,7 @@
 %lang_package
 %prep
 %setup -q -n %{_name}-%{version}
+%patch0 -p1
 translation-update-upstream
 
 %build

++++++ vte-widget_get_preferred_height.patch ++++++
>From 3f25e734efeef92ff98ae48614af96db63cb0ff3 Mon Sep 17 00:00:00 2001
From: Simon McVittie <[email protected]>
Date: Mon, 23 May 2016 10:42:41 +0100
Subject: [PATCH] widget_get_preferred_height: use vertical padding, not
 horizontal

Bug: https://bugzilla.gnome.org/show_bug.cgi?id=760944
---
 src/vte.cc | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/vte.cc b/src/vte.cc
index efad1f7..02bea92 100644
--- a/src/vte.cc
+++ b/src/vte.cc
@@ -8189,10 +8189,10 @@ VteTerminalPrivate::widget_get_preferred_height(int 
*minimum_height,
        *minimum_height = m_char_height * 1;
         *natural_height = m_char_height * m_row_count;
 
-       *minimum_height += m_padding.left +
-                          m_padding.right;
-       *natural_height += m_padding.left +
-                          m_padding.right;
+       *minimum_height += m_padding.top +
+                          m_padding.bottom;
+       *natural_height += m_padding.top +
+                          m_padding.bottom;
 
        _vte_debug_print(VTE_DEBUG_WIDGET_SIZE,
                        "[Terminal %p] minimum_height=%d, natural_height=%d for 
%ldx%ld cells.\n",
-- 
2.8.1


Reply via email to