Upstream patch to fix empty window with latest gtk+

This commit is contained in:
Yanko Kaneti 2014-06-12 17:07:34 +03:00
parent 1ff24f61eb
commit 56f11f536f
2 changed files with 34 additions and 1 deletions

View File

@ -0,0 +1,26 @@
From 08eb9cf4fce7c936ab11d3a0b6d2638e5276a8e3 Mon Sep 17 00:00:00 2001
From: Yosef Or Boczko <yoseforb@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

View File

@ -1,12 +1,15 @@
Name: gnome-clocks Name: gnome-clocks
Version: 3.12.0 Version: 3.12.0
Release: 2%{?dist} Release: 3%{?dist}
Summary: Clock application designed for GNOME 3 Summary: Clock application designed for GNOME 3
License: GPLv2+ License: GPLv2+
URL: https://live.gnome.org/GnomeClocks URL: https://live.gnome.org/GnomeClocks
Source0: http://download.gnome.org/sources/gnome-clocks/3.12/%{name}-%{version}.tar.xz 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: gtk3-devel
Buildrequires: gobject-introspection-devel Buildrequires: gobject-introspection-devel
BuildRequires: libcanberra-devel BuildRequires: libcanberra-devel
@ -23,6 +26,7 @@ Clock application designed for GNOME 3
%prep %prep
%setup -q %setup -q
%patch1 -p1
%build %build
%configure %configure
@ -61,6 +65,9 @@ fi
%changelog %changelog
* Thu Jun 12 2014 Yanko Kaneti <yaneti@declera.com> - 3.12.0-3
- Upstream patch to fix empty window with latest gtk+
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.12.0-2 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.12.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild