rpms/kdebase-workspace/devel kdebase-workspace-4.0.4-gtkrc.patch, NONE, 1.1 kdebase-workspace.spec, 1.77, 1.78
Rex Dieter (rdieter)
fedora-extras-commits at redhat.com
Thu May 8 15:11:55 UTC 2008
Author: rdieter
Update of /cvs/pkgs/rpms/kdebase-workspace/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11784
Modified Files:
kdebase-workspace.spec
Added Files:
kdebase-workspace-4.0.4-gtkrc.patch
Log Message:
* Thu May 08 2008 Rex Dieter <rdieter at fedoraproject.org> 4.0.72-2
- gtkrc patch (rh#443309, kde#146779)
kdebase-workspace-4.0.4-gtkrc.patch:
--- NEW FILE kdebase-workspace-4.0.4-gtkrc.patch ---
diff -up kdebase-workspace-4.0.4/kcontrol/krdb/krdb.cpp.gtkrc kdebase-workspace-4.0.4/kcontrol/krdb/krdb.cpp
--- kdebase-workspace-4.0.4/kcontrol/krdb/krdb.cpp.gtkrc 2008-05-08 09:09:10.000000000 -0500
+++ kdebase-workspace-4.0.4/kcontrol/krdb/krdb.cpp 2008-05-08 09:12:31.000000000 -0500
@@ -87,11 +87,12 @@ static void applyGtkStyles(bool active,
QString gtkkde = KStandardDirs::locateLocal("config", 2==version?"gtkrc-2.0":"gtkrc");
QByteArray gtkrc = getenv(gtkEnvVar(version));
QStringList list = QFile::decodeName(gtkrc).split( ':');
- if (list.count() == 0)
- {
- list.append(QLatin1String(sysGtkrc(version)));
- list.append(QDir::homePath()+userGtkrc(version));
- }
+ QString userHomeGtkrc = QDir::homePath()+userGtkrc(version);
+ if (!list.contains(userHomeGtkrc))
+ list.prepend(userHomeGtkrc);
+ QLatin1String systemGtkrc = QLatin1String(sysGtkrc(version));
+ if (!list.contains(systemGtkrc))
+ list.prepend(systemGtkrc);
list.removeAll(gtkkde);
list.append(gtkkde);
if (!active)
Index: kdebase-workspace.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kdebase-workspace/devel/kdebase-workspace.spec,v
retrieving revision 1.77
retrieving revision 1.78
diff -u -r1.77 -r1.78
--- kdebase-workspace.spec 7 May 2008 00:02:53 -0000 1.77
+++ kdebase-workspace.spec 8 May 2008 15:11:07 -0000 1.78
@@ -6,7 +6,7 @@
Name: kdebase-workspace
Version: 4.0.72
-Release: 1%{?dist}
+Release: 2%{?dist}
Source0: ftp://ftp.kde.org/pub/kde/unstable/%{version}/src/kdebase-workspace-%{version}.tar.bz2
License: GPLv2
Group: User Interface/Desktops
@@ -23,6 +23,8 @@
Patch7: kdebase-workspace-4.0.3-timedate-kcm.patch
#Â 441062: packagekit tools do not show icons correctly on KDE
Patch8: kdebase-workspace-4.0.3-krdb.patch
+# http://bugzilla.redhat.com/443309 , http://bugs.kde.org/146779
+Patch9: kdebase-workspace-4.0.4-gtkrc.patch
# upstream patches:
@@ -134,6 +136,7 @@
%patch6 -p1 -b .rootprivs
%patch7 -p0 -b .timedate-kcm
%patch8 -p0 -b .krdb
+%patch9 -p1 -b .gtkrc
# upstream patches
@@ -259,6 +262,9 @@
%changelog
+* Thu May 08 2008 Rex Dieter <rdieter at fedoraproject.org> 4.0.72-2
+- gtkrc patch (rh#443309, kde#146779)
+
* Wed May 07 2008 Kevin Kofler <Kevin at tigcc.ticalc.org> 4.0.72-1
- update to 4.0.72
- update file list (Lorenzo Villani)
More information about the fedora-extras-commits
mailing list