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

List:       kde-multimedia
Subject:    Re: Disabling aRts in knotify
From:       Aaron Seigo <aseigo () kde ! org>
Date:       2004-02-17 21:09:07
Message-ID: 200402171409.07439.aseigo () kde ! org
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On February 17, 2004 13:28, Arnold Krille wrote:
> So the variable useArts should be false if one of the two setting is false.

ah, i think i see what you mean... patch attached. untested, but is this what 
you had in mind?

- -- 
Aaron J. Seigo
User levels don't work. Panel space is valuable. Most users aren't coders.
Chances the above answered your question: too high.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

iD8DBQFAMoLz1rcusafx20MRAhfLAJ0f7BxMwNtGwsHvNTWmYoboiW59agCgn92/
DO2tM7sNGqJryZ6hqK5+R8o=
=3VRJ
-----END PGP SIGNATURE-----

["knotify_sans_arts.diff" (text/x-diff)]

Index: knotify/knotify.cpp
===================================================================
RCS file: /home/kde/kdelibs/arts/knotify/knotify.cpp,v
retrieving revision 1.89
diff -u -3 -d -p -r1.89 knotify.cpp
--- knotify/knotify.cpp	17 Feb 2004 19:29:13 -0000	1.89
+++ knotify/knotify.cpp	17 Feb 2004 21:09:04 -0000
@@ -125,7 +125,9 @@ int kdemain(int argc, char **argv)
     KConfigGroup config( KGlobal::config(), "StartProgress" );
     KConfig artsKCMConfig( "kcmartsrc" );
     artsKCMConfig.setGroup( "Arts" );
-    bool useArts = config.readBoolEntry( "Use Arts", artsKCMConfig.readBoolEntry("StartServer",true) );
+    bool useArts = artsKCMConfig.readBoolEntry( "StartServer", true );
+    if (useArts)
+        useArts = config.readBoolEntry( "Use Arts", useArts );
     bool ok = config.readBoolEntry( "Arts Init", true );
 
     if ( useArts && !ok )


_______________________________________________
kde-multimedia mailing list
kde-multimedia@kde.org
https://mail.kde.org/mailman/listinfo/kde-multimedia


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

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