[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: 2009-05-19 2:13:31
Message-ID: 1242699211.010336.13285.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 969817 by hein:
Fix interactive rename of sessions not working reliably - either failing
to implement a rename or renaming the wrong session - once tabs have been
moved or sessions closed, due to a mixup of tab indices and session IDs
in the rename code.
CCMAIL:spatz@psybear.com
M +7 -0 ChangeLog
M +2 -2 app/tabbar.cpp
--- trunk/extragear/utils/yakuake/ChangeLog #969816:969817
@@ -1,3 +1,10 @@
+Changes since 2.9.5:
+* Fixed interactive rename of sessions not working reliably - either failing
+ to implement a rename or renaming the wrong session - once tabs had been
+ moved or sessions closed, due to a mixup of tab indices and session IDs in
+ the rename code.
+
+
Changes in 2.9.5:
* Added a new framework, referred to as the visual event overlay, to display
notifications (and potentially other information) on top of the terminals.
--- trunk/extragear/utils/yakuake/app/tabbar.cpp #969816:969817
@@ -619,13 +619,13 @@
if (sessionId == -1) return;
if (!m_tabs.contains(sessionId)) return;
+ m_renamingSessionId = sessionId;
+
int index = m_tabs.indexOf(sessionId);
int x = index ? m_tabWidths.at(index - 1) : m_skin->tabBarPosition().x();
int y = m_skin->tabBarPosition().y();
int width = m_tabWidths.at(index) - x;
- m_renamingSessionId = index;
-
m_lineEdit->setText(m_tabTitles[sessionId]);
m_lineEdit->setGeometry(x-1, y-1, width+3, height()+2);
m_lineEdit->selectAll();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic