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

List:       kde-bugs-dist
Subject:    [Bug 46884] ksplash shouldn't close when clicked
From:       Ravikiran Rajagopal <ravi () kde ! org>
Date:       2003-07-11 5:14:41
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
     
http://bugs.kde.org/show_bug.cgi?id=46884     




------- Additional Comments From ravi@kde.org  2003-07-11 07:14 -------
Subject: kdebase/ksplashml/themeengine

CVS commit by ravi: 

Make closing splash screen on click configurable. I have not added a KControl GUI \
option for this, since it is mostly intended for distros to customize depending on \
                level of users targeted by that particular installation.
CCMAIL: 46884@bugs.kde.org


  M +7 -3      themeengine.cpp   1.7


--- kdebase/ksplashml/themeengine/themeengine.cpp  #1.6:1.7
@@ -1,6 +1,5 @@
 /***************************************************************************
  *   Copyright Brian Ledbetter 2001-2003 <brian@shadowcom.net>             *
- *   Copyright Ravikiran Rajagopal 2003                                    *
- *   ravi@ee.eng.ohio-state.edu                                            *
+ *   Copyright Ravikiran Rajagopal 2003 <ravi@kde.org>                     *
  *                                                                         *
  *   This program is free software; you can redistribute it and/or modify  *
@@ -11,5 +10,7 @@
  ***************************************************************************/
 
+#include <kapplication.h>
 #include <kcmdlineargs.h>
+#include <kconfig.h>
 #include <kdebug.h>
 #include <kwin.h>
@@ -40,4 +41,7 @@ ThemeEngine::~ThemeEngine()
 void ThemeEngine::mouseReleaseEvent( QMouseEvent * )
 {
-  close( TRUE );
+  // Make closing configurable.
+  KConfig *cnf = kapp->config();
+  cnf->setGroup( "General" );
+  close( cnf->readBoolEntry( "CloseOnClick", TRUE ) );
 }


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

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