[gnome-logs/f21] Fix alignment of catalog label in details view

David King amigadave at fedoraproject.org
Fri Nov 21 09:16:50 UTC 2014


commit 04bca180fdb1b40b1399ed54a96d15f6085962f5
Author: David King <amigadave at amigadave.com>
Date:   Fri Nov 21 09:11:42 2014 +0000

    Fix alignment of catalog label in details view

 ...e-logs-3.14.2-fix-catalog-label-alignment.patch |   32 ++++++++++++++++++++
 gnome-logs.spec                                    |    9 ++++-
 2 files changed, 39 insertions(+), 2 deletions(-)
---
diff --git a/gnome-logs-3.14.2-fix-catalog-label-alignment.patch b/gnome-logs-3.14.2-fix-catalog-label-alignment.patch
new file mode 100644
index 0000000..154a310
--- /dev/null
+++ b/gnome-logs-3.14.2-fix-catalog-label-alignment.patch
@@ -0,0 +1,32 @@
+From 1eb20457aed65fca54acf2496281dda96c2f4e19 Mon Sep 17 00:00:00 2001
+From: David King <davidk at gnome.org>
+Date: Fri, 21 Nov 2014 09:04:33 +0000
+Subject: [PATCH] Fix alignment of catalog label in details view
+
+---
+ data/gl-eventviewdetail.ui | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/data/gl-eventviewdetail.ui b/data/gl-eventviewdetail.ui
+index 175e989..b4ecc41 100644
+--- a/data/gl-eventviewdetail.ui
++++ b/data/gl-eventviewdetail.ui
+@@ -188,6 +188,7 @@
+                 </child>
+                 <child>
+                     <object class="GtkLabel" id="catalog_label">
++                        <property name="halign">start</property>
+                         <property name="visible">True</property>
+                         <property name="can_focus">False</property>
+                         <style>
+@@ -197,6 +198,7 @@
+                     <packing>
+                         <property name="left_attach">0</property>
+                         <property name="top_attach">5</property>
++                        <property name="width">2</property>
+                     </packing>
+                 </child>
+             </object>
+-- 
+2.1.0
+
diff --git a/gnome-logs.spec b/gnome-logs.spec
index 85f11e1..2b179da 100644
--- a/gnome-logs.spec
+++ b/gnome-logs.spec
@@ -1,6 +1,6 @@
 Name:           gnome-logs
 Version:        3.14.2
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Log viewer for the systemd journal
 
 Group:          Applications/System
@@ -10,6 +10,8 @@ Source0:        https://download.gnome.org/sources/%{name}/3.14/%{name}-%{versio
 # Add HighContrast application icon. Patch from upstream git.
 # https://bugzilla.redhat.com/show_bug.cgi?id=1152796
 Patch0:         gnome-logs-3.14.1-add-highcontrast-application-icon.patch
+# Patch taken from upstream git.
+Patch1:         gnome-logs-3.14.2-fix-catalog-label-alignment.patch
 
 BuildRequires:  desktop-file-utils
 BuildRequires:  docbook-dtds
@@ -29,8 +31,8 @@ A log viewer for the systemd journal.
 %prep
 %setup -q
 # Ugly, but necessary as patch does not support git binary diffs.
-git init
 git apply %{PATCH0}
+%patch1 -p1
 
 
 %build
@@ -78,6 +80,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 
 
 %changelog
+* Fri Nov 21 2014 David King <amigadave at amigadave.com> - 3.14.2-3
+- Fix alignment of catalog label in details view
+
 * Thu Nov 13 2014 Dan HorĂ¡k <dan[at]danny.cz> - 3.14.2-2
 - fix patch application - fixes build on s390(x)
 


More information about the scm-commits mailing list