[gnome-clocks] Upstream patch to fix empty window with latest gtk+

Yanko Kaneti yaneti at fedoraproject.org
Thu Jun 12 14:09:11 UTC 2014


commit 56f11f536f74d508f1cb76c4ab1cf262c8463bfc
Author: Yanko Kaneti <yaneti at declera.com>
Date:   Thu Jun 12 17:07:34 2014 +0300

    Upstream patch to fix empty window with latest gtk+

 0001-window.ui-Use-the-correct-parent-widget.patch |   26 ++++++++++++++++++++
 gnome-clocks.spec                                  |    9 ++++++-
 2 files changed, 34 insertions(+), 1 deletions(-)
---
diff --git a/0001-window.ui-Use-the-correct-parent-widget.patch b/0001-window.ui-Use-the-correct-parent-widget.patch
new file mode 100644
index 0000000..da4b1a6
--- /dev/null
+++ b/0001-window.ui-Use-the-correct-parent-widget.patch
@@ -0,0 +1,26 @@
+From 08eb9cf4fce7c936ab11d3a0b6d2638e5276a8e3 Mon Sep 17 00:00:00 2001
+From: Yosef Or Boczko <yoseforb at src.gnome.org>
+Date: Sun, 4 May 2014 01:27:52 +0300
+Subject: [PATCH] window.ui: Use the correct parent widget
+
+https://bugzilla.gnome.org/show_bug.cgi?id=729484
+---
+ data/ui/window.ui | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/data/ui/window.ui b/data/ui/window.ui
+index 681b38a..c7a931f 100644
+--- a/data/ui/window.ui
++++ b/data/ui/window.ui
+@@ -1,7 +1,7 @@
+ <?xml version="1.0" encoding="UTF-8"?>
+ <interface>
+   <!-- interface-requires gtk+ 3.8 -->
+-  <template class="ClocksWindow" parent="Gtk.ApplicationWindow">
++  <template class="ClocksWindow" parent="GtkApplicationWindow">
+     <property name="title" translatable="yes">Clocks</property>
+     <child type="titlebar">
+       <object class="ClocksHeaderBar" id="header_bar">
+-- 
+2.0.0
+
diff --git a/gnome-clocks.spec b/gnome-clocks.spec
index ebb1ee3..fee7f89 100644
--- a/gnome-clocks.spec
+++ b/gnome-clocks.spec
@@ -1,12 +1,15 @@
 Name:           gnome-clocks
 Version:        3.12.0
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Clock application designed for GNOME 3
 
 License:        GPLv2+
 URL:            https://live.gnome.org/GnomeClocks
 Source0:        http://download.gnome.org/sources/gnome-clocks/3.12/%{name}-%{version}.tar.xz
 
+# https://bugzilla.gnome.org/show_bug.cgi?id=729484
+Patch1: 0001-window.ui-Use-the-correct-parent-widget.patch
+
 BuildRequires:  gtk3-devel
 Buildrequires:  gobject-introspection-devel
 BuildRequires:  libcanberra-devel
@@ -23,6 +26,7 @@ Clock application designed for GNOME 3
 
 %prep
 %setup -q
+%patch1 -p1
 
 %build
 %configure
@@ -61,6 +65,9 @@ fi
 
 
 %changelog
+* Thu Jun 12 2014 Yanko Kaneti <yaneti at declera.com> - 3.12.0-3
+- Upstream patch to fix empty window with latest gtk+
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.12.0-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 


More information about the scm-commits mailing list