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

List:       kde-commits
Subject:    extragear/utils/yakuake
From:       Eike Hein <hein () kde ! org>
Date:       2010-07-23 18:58:00
Message-ID: 20100723185800.8B985AC7AB () svn ! kde ! org
[Download RAW message or body]

SVN commit 1153679 by hein:

Fix keep above not being applied immediately when toggling keep open
outside the config dialog.

CCMAIL:prudy1@o2.pl


 M  +6 -0      ChangeLog  
 M  +5 -0      app/mainwindow.cpp  


--- trunk/extragear/utils/yakuake/ChangeLog #1153678:1153679
@@ -1,3 +1,9 @@
+Changes in 2.9.8:
+* Fixed a bug causing the "Keep above other windows" preference not to be
+  respected immediately when toggling the "Keep window open when it loses
+  focus" preference from the title bar or the main menu.
+
+
 Changes in 2.9.7:
 * Fixed compilation with gcc 4.4 (missing cstdio include).
 * Fixed quit action bypassing the "Confirm quit when more than one session
--- trunk/extragear/utils/yakuake/app/mainwindow.cpp #1153678:1153679
@@ -931,8 +931,13 @@
 
 void MainWindow::setKeepOpen(bool keepOpen)
 {
+    if (Settings::keepOpen() != keepOpen)
+    {
     Settings::setKeepOpen(keepOpen);
 
+        applyWindowProperties();
+    }
+
     actionCollection()->action("keep-open")->setChecked(keepOpen);
     m_titleBar->setFocusButtonState(keepOpen);
 }
[prev in list] [next in list] [prev in thread] [next in thread] 

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