Fix parent class in template definition

This commit is contained in:
Kalev Lember 2014-05-28 13:22:34 +02:00
parent 981aeaac89
commit c9edc3695c
2 changed files with 33 additions and 1 deletions

View File

@ -0,0 +1,26 @@
From ec122c77bb2b3fcdeb7a7692cf1e50d6b93ededa Mon Sep 17 00:00:00 2001
From: Debarshi Ray <debarshir@gnome.org>
Date: Tue, 6 May 2014 11:30:28 +0200
Subject: [PATCH] window: Fix parent class in template definition
https://bugzilla.gnome.org/show_bug.cgi?id=729597
---
src/terminal-window.ui | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/terminal-window.ui b/src/terminal-window.ui
index 041f9a7..b0f63fd 100644
--- a/src/terminal-window.ui
+++ b/src/terminal-window.ui
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<!-- interface-requires gtk+ 3.10 -->
- <template class="TerminalWindow" parent="GtkWindow">
+ <template class="TerminalWindow" parent="GtkApplicationWindow">
<property name="can_focus">False</property>
<child>
<object class="GtkBox" id="main_vbox">
--
1.9.3

View File

@ -8,7 +8,7 @@
Summary: Terminal emulator for GNOME
Name: gnome-terminal
Version: 3.13.0
Release: 1%{?dist}
Release: 2%{?dist}
License: GPLv3+ and GFDL
Group: User Interface/Desktops
URL: http://www.gnome.org/
@ -16,6 +16,8 @@ URL: http://www.gnome.org/
Source0: http://download.gnome.org/sources/gnome-terminal/3.13/gnome-terminal-%{version}.tar.xz
Source1: org.gnome.Terminal.gschema.override
Patch0: 0001-window-Fix-parent-class-in-template-definition.patch
BuildRequires: glib2-devel >= %{glib2_version}
BuildRequires: GConf2-devel
BuildRequires: gtk3-devel >= %{gtk3_version}
@ -52,6 +54,7 @@ option to the right-click context menu in Nautilus.
%prep
%setup -q
%patch0 -p1
%build
%configure --disable-static --with-gtk=3.0 --with-nautilus-extension
@ -95,6 +98,9 @@ fi
%{_libdir}/nautilus/extensions-3.0/libterminal-nautilus.so
%changelog
* Wed May 28 2014 Kalev Lember <kalevlember@gmail.com> - 3.13.0-2
- Fix parent class in template definition
* Sun Apr 27 2014 Kalev Lember <kalevlember@gmail.com> - 3.13.0-1
- Update to 3.13.0