rpms/kpackagekit/F-11 kpackagekit-0.4.0-knotify_persistent.patch, NONE, 1.1 kpackagekit.spec, 1.27, 1.28

Rex Dieter rdieter at fedoraproject.org
Fri Apr 17 01:02:59 UTC 2009


Author: rdieter

Update of /cvs/pkgs/rpms/kpackagekit/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv22856/F-11

Modified Files:
	kpackagekit.spec 
Added Files:
	kpackagekit-0.4.0-knotify_persistent.patch 
Log Message:
* Thu Apr 16 2009 Rex Dieter <rdieter at fedoraproject.org> - 0.4.0-6
- make update notification persistent (#485796)


kpackagekit-0.4.0-knotify_persistent.patch:

--- NEW FILE kpackagekit-0.4.0-knotify_persistent.patch ---
diff -up kpackagekit-0.4.0/SmartIcon/KpkUpdateIcon.cpp.persistent kpackagekit-0.4.0/SmartIcon/KpkUpdateIcon.cpp
--- kpackagekit-0.4.0/SmartIcon/KpkUpdateIcon.cpp.persistent	2009-03-31 11:44:59.000000000 -0500
+++ kpackagekit-0.4.0/SmartIcon/KpkUpdateIcon.cpp	2009-04-16 19:57:25.000000000 -0500
@@ -161,8 +161,8 @@ void KpkUpdateIcon::notifyUpdates()
     }
 
     KIcon icon = KpkIcons::packageIcon(highState);
-    // FIXME persistent does not work in 4.2 anymore, remove the comments when it's fixed
-    m_updateNotify = new KNotification("ShowUpdates"/*, 0, KNotification::Persistent*/);
+
+    m_updateNotify = new KNotification("ShowUpdates", 0, KNotification::Persistent);
     // use of QSize does the right thing
     m_updateNotify->setPixmap(icon.pixmap(QSize(128,128)));
 


Index: kpackagekit.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kpackagekit/F-11/kpackagekit.spec,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- kpackagekit.spec	31 Mar 2009 17:20:33 -0000	1.27
+++ kpackagekit.spec	17 Apr 2009 01:02:28 -0000	1.28
@@ -1,8 +1,7 @@
-%define betaversion b4
 
 Name:	  	kpackagekit
 Version:	0.4.0
-Release:	5%{?dist}
+Release:	6%{?dist}
 Summary:	KDE interface for PackageKit
 
 License:	GPLv2+
@@ -14,6 +13,7 @@
 
 # upstream me, says the patch
 Patch100: kpackagekit-InitialPreference.patch
+Patch101: kpackagekit-0.4.0-knotify_persistent.patch
 
 BuildRequires:	cmake
 BuildRequires:  desktop-file-utils
@@ -29,6 +29,7 @@
 %setup -q -n %{name}-%{version}
 
 %patch100 -p0 -b .InitialPreference
+%patch101 -p1 -b .knotify_persistent
 
 
 
@@ -72,6 +73,9 @@
 
 
 %changelog
+* Thu Apr 16 2009 Rex Dieter <rdieter at fedoraproject.org> - 0.4.0-6
+- make update notification persistent (#485796)
+
 * Tue Mar 31 2009 Lukáš Tinkl <ltinkl at redhat.com> - 0.4.0-5
 - another respun tarball to fix using those translations (#493061)
 




More information about the scm-commits mailing list