[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-pim
Subject:    [Kde-pim] bug 65437
From:       Guenter Schwann <schwann () icg ! tu-graz ! ac ! at>
Date:       2003-11-16 1:01:33
[Download RAW message or body]

[Attachment #2 (multipart/signed)]

[Attachment #4 (multipart/mixed)]


Hi!

Here's a patch for bug 65437.  Maybe some more "appdata" should be changed 
to pure "data"...

ciao
-- 
Guenter Schwann
Graz University of Technology - Computer Graphics and Vision
GPG-key: http://www.sbox.tugraz.at/home/v/vogel/gpg-schwann-public-key.txt

["bug65437.patch" (text/x-diff)]

Index: kocore.cpp
===================================================================
RCS file: /home/kde/kdepim/korganizer/kocore.cpp,v
retrieving revision 1.27
diff -u -3 -p -r1.27 kocore.cpp
--- kocore.cpp	10 Nov 2003 14:05:36 -0000	1.27
+++ kocore.cpp	16 Nov 2003 00:57:44 -0000
@@ -321,7 +321,7 @@ KCal::CalendarResources *KOCore::calenda
 
       QString resourceName;
       if ( fileName.isEmpty() ) {
-        fileName = locateLocal( "appdata", "std.ics" );
+        fileName = locateLocal( "data", "korganizer/std.ics" );
         resourceName = i18n("Default KOrganizer resource");
       } else {
         resourceName = i18n("Active Calendar");
Index: koeditorgeneral.cpp
===================================================================
RCS file: /home/kde/kdepim/korganizer/koeditorgeneral.cpp,v
retrieving revision 1.39
diff -u -3 -p -r1.39 koeditorgeneral.cpp
--- koeditorgeneral.cpp	15 Nov 2003 17:55:07 -0000	1.39
+++ koeditorgeneral.cpp	16 Nov 2003 00:57:44 -0000
@@ -188,7 +188,7 @@ void KOEditorGeneral::initAlarm(QWidget 
 
 void KOEditorGeneral::pickAlarmSound()
 {
-  QString prefix = KGlobal::dirs()->findResourceDir("appdata", "sounds/alert.wav");
+  QString prefix = KGlobal::dirs()->findResourceDir("data", "korganizer/sounds/alert.wav");
   if (!mAlarmSoundButton->isOn()) {
     mAlarmSound = "";
     QToolTip::remove(mAlarmSoundButton);

[Attachment #8 (application/pgp-signature)]

_______________________________________________
kde-pim mailing list
kde-pim@mail.kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
kde-pim home page at http://pim.kde.org/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic