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

List:       kde-commits
Subject:    [ktp-text-ui/kde-telepathy-0.6] lib: Restore default mode for opening new conversations
From:       Dominik Cermak <d.cermak () arcor ! de>
Date:       2013-04-01 13:44:47
Message-ID: 20130401134447.EAA1AA604F () git ! kde ! org
[Download RAW message or body]

Git commit 8a2a35921595429c9c3a17a29835c7c20e4f750c by Dominik Cermak.
Committed on 01/04/2013 at 15:42.
Pushed by cermak into branch 'kde-telepathy-0.6'.

Restore default mode for opening new conversations

It used to be in tabs but somehow changed to new windos.
This restores the default to tabs.

BUG: 317671
FIXED-IN: 0.6.0

M  +1    -1    lib/text-chat-config.cpp

http://commits.kde.org/telepathy-text-ui/8a2a35921595429c9c3a17a29835c7c20e4f750c

diff --git a/lib/text-chat-config.cpp b/lib/text-chat-config.cpp
index b97b3bf..bbcedcf 100644
--- a/lib/text-chat-config.cpp
+++ b/lib/text-chat-config.cpp
@@ -129,7 +129,7 @@ TextChatConfig::TextChatConfig() :
     KSharedConfigPtr config = KSharedConfig::openConfig(QLatin1String("ktelepathyrc"));
     KConfigGroup behaviorConfig = config->group("Behavior");
 
-    QString mode = behaviorConfig.readEntry("tabOpenMode", "NewWindow");
+    QString mode = behaviorConfig.readEntry("tabOpenMode", "FirstWindow");
     if(mode == QLatin1String("NewWindow")) {
         d->m_openMode = TextChatConfig::NewWindow;
     } else {
[prev in list] [next in list] [prev in thread] [next in thread] 

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