LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File kdebase-fedora-decrease-bounce-timeout.patch of Package kdebase3 (Project openSUSE:Factory)

From a94fa00789189a94b1d16b29bc35b72c5a4d1737 Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Ozan=20=C3=87a=C4=9Flayan?= <ozan@pardus.org.tr>
Date: Mon, 27 Jun 2011 06:15:09 +0000
Subject: [PATCH] kdesktop: [Fedora] Decrease bounce timeout to 5 sec

---
 kcontrol/launch/kcmlaunch.cpp |    4 ++--
 kdesktop/klaunch.kcfg         |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/kcontrol/launch/kcmlaunch.cpp b/kcontrol/launch/kcmlaunch.cpp
index 24623a7..bfe9252 100644
--- a/kcontrol/launch/kcmlaunch.cpp
+++ b/kcontrol/launch/kcmlaunch.cpp
@@ -170,7 +170,7 @@ LaunchConfig::load(bool useDefaults)
   cb_taskbarButton->setChecked(taskbarButton);
 
   c.setGroup( "BusyCursorSettings" );
-  sb_cursorTimeout->setValue( c.readUnsignedNumEntry( "Timeout", 30 ));
+  sb_cursorTimeout->setValue( c.readUnsignedNumEntry( "Timeout", 5 ));
   bool busyBlinking =c.readBoolEntry("Blinking", false);
   bool busyBouncing =c.readBoolEntry("Bouncing", true);
   if ( !busyCursor )
@@ -239,7 +239,7 @@ LaunchConfig::checkChanged()
     c.readBoolEntry("TaskbarButton", Default & TaskbarButton);
 
   c.setGroup( "BusyCursorSettings" );
-  unsigned int savedCursorTimeout = c.readUnsignedNumEntry( "Timeout", 30 );
+  unsigned int savedCursorTimeout = c.readUnsignedNumEntry( "Timeout", 5 );
   bool savedBusyBlinking =c.readBoolEntry("Blinking", false);
   bool savedBusyBouncing =c.readBoolEntry("Bouncing", true);
 
diff --git a/kdesktop/klaunch.kcfg b/kdesktop/klaunch.kcfg
index 29418f8..d888960 100644
--- a/kdesktop/klaunch.kcfg
+++ b/kdesktop/klaunch.kcfg
@@ -8,7 +8,7 @@
   
   <group name="BusyCursorSettings">
     <entry key="Timeout" type="Int">
-      <default>30</default>
+      <default>5</default>
       <label></label>
       <whatsthis></whatsthis>
       <!-- startupid.cpp:58 -->
-- 
1.6.1