rpms/kile/F-12 kile-2.1b3-kde#220343.patch, NONE, 1.1 kile.spec, 1.52, 1.53

Kevin Kofler kkofler at fedoraproject.org
Tue Feb 2 00:15:17 UTC 2010


Author: kkofler

Update of /cvs/pkgs/rpms/kile/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv17217/F-12

Modified Files:
	kile.spec 
Added Files:
	kile-2.1b3-kde#220343.patch 
Log Message:
* Tue Feb 02 2010 Kevin Kofler <Kevin at tigcc.ticalc.org> - 2.1-0.6.b3
- force termination when the main window is closed (#557436, kde#220343)

kile-2.1b3-kde#220343.patch:
 kile.cpp |    1 +
 1 file changed, 1 insertion(+)

--- NEW FILE kile-2.1b3-kde#220343.patch ---
Index: src/kile.cpp
===================================================================
--- src/kile.cpp	(revision 1068703)
+++ src/kile.cpp	(working copy)
@@ -114,6 +114,7 @@
 	dbus.registerService("net.sourceforge.kile"); // register under a constant names
 
 	m_mainWindow = new KileMainWindow(this);
+	connect(m_mainWindow, SIGNAL(destroyed(QObject*)), kapp, SLOT(quit()));
 
 	QSplashScreen splashScreen(QPixmap(KGlobal::dirs()->findResource("appdata", "pics/kile_splash.png")), Qt::WindowStaysOnTopHint);
 	splashScreen.show();


Index: kile.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kile/F-12/kile.spec,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -p -r1.52 -r1.53
--- kile.spec	20 Dec 2009 13:27:44 -0000	1.52
+++ kile.spec	2 Feb 2010 00:15:16 -0000	1.53
@@ -4,7 +4,7 @@
 Name:	 kile
 Summary: (La)TeX source editor and TeX shell
 Version: 2.1
-Release: 0.5.%{pre}%{?dist}
+Release: 0.6.%{pre}%{?dist}
 
 License: GPLv2+
 Group: 	 Applications/Publishing
@@ -16,6 +16,9 @@ Source1: kile-translations-r1055480.tar.
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 
 
 Patch1: kile-2.1b3-gcc_no_var_tracking_assignments.patch
+# Force termination of Kile when the main window is closed (Michel Ludwig)
+# (#557436) From: https://bugs.kde.org/show_bug.cgi?id=220343#c17
+Patch2: kile-2.1b3-kde#220343.patch
 
 BuildRequires: desktop-file-utils
 BuildRequires: gettext
@@ -61,6 +64,7 @@ rmdir kile-translations-r1055480
 %if 0%{?fedora} > 11
 %patch1 -p1 -b .gcc_no_var_tracking_assignments
 %endif
+%patch2 -p0 -b .kde#220343
 
 
 %build
@@ -122,6 +126,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Tue Feb 02 2010 Kevin Kofler <Kevin at tigcc.ticalc.org> - 2.1-0.6.b3
+- force termination when the main window is closed (#557436, kde#220343)
+
 * Sun Dec 20 2009 Kevin Kofler <Kevin at tigcc.ticalc.org> - 2.1-0.5.b3
 - add translations from l10n-kde4 SVN (revision 1055480 from Nov 28)
 



More information about the scm-commits mailing list