rev 6427 - kde-extras/rsibreak/trunk/debian/patches

Tom Albers tomalbers-guest at alioth.debian.org
Sun Jun 3 22:18:43 UTC 2007


Author: tomalbers-guest
Date: 2007-06-03 22:18:43 +0000 (Sun, 03 Jun 2007)
New Revision: 6427

Modified:
   kde-extras/rsibreak/trunk/debian/patches/15_fix_accel_2.diff
Log:
correct patch this time.


Modified: kde-extras/rsibreak/trunk/debian/patches/15_fix_accel_2.diff
===================================================================
--- kde-extras/rsibreak/trunk/debian/patches/15_fix_accel_2.diff	2007-06-03 22:14:20 UTC (rev 6426)
+++ kde-extras/rsibreak/trunk/debian/patches/15_fix_accel_2.diff	2007-06-03 22:18:43 UTC (rev 6427)
@@ -1,13 +1,14 @@
 Index: src/rsiwidget.cpp
 ===================================================================
---- rsibreak/src/rsiwidget.cpp	(revision 670531)
-+++ rsibreak/src/rsiwidget.cpp	(revision 670532)
-@@ -600,7 +600,7 @@
+--- rsibreak/src/rsiwidget.cpp	(revision 670902)
++++ rsibreak/src/rsiwidget.cpp	(revision 670903)
+@@ -713,8 +713,7 @@
+     startTimer(!timertype);
  
- void RSIWidget::keyPressEvent( QKeyEvent * e)
- {
--    if (e->key() == m_accel->shortcut("minimize"))
-+    if (e->key() == m_accel->shortcut("minimize") && m_accel->isEnabled() )
-         m_timer->skipBreak();
- }
+     // Hook in the shortcut after the timer initialisation.
+-    m_accel->setEnabled("minimize",
+-                        !config->readBoolEntry("DisableAccel", false));
++    m_accel->setEnabled(!config->readBoolEntry("DisableAccel", false));
+     QString shortcut = config->readEntry("MinimizeKey", "Escape");
+     m_accel->setShortcut("minimize",KShortcut(shortcut));
  




More information about the pkg-kde-commits mailing list