aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules
diff options
context:
space:
mode:
authorGravatar Fabio Bas2008-07-20 13:12:16 +0000
committerGravatar Fabio Bas2008-07-20 13:12:16 +0000
commita3f130f106835ab0b0c3fa7902ccbf72fe3ecc28 (patch)
tree8636090cba7bdb8c549dbfedfe7930efcfd177a8 /src/modules
parentFixed configuration not from SVN working copy. (diff)
downloadKVIrc-a3f130f106835ab0b0c3fa7902ccbf72fe3ecc28.tar.gz
KVIrc-a3f130f106835ab0b0c3fa7902ccbf72fe3ecc28.tar.bz2
KVIrc-a3f130f106835ab0b0c3fa7902ccbf72fe3ecc28.zip
fixed #172 on trunk too
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@2098 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/window/libkviwindow.cpp1
-rw-r--r--src/modules/window/userwindow.cpp3
2 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/window/libkviwindow.cpp b/src/modules/window/libkviwindow.cpp
index 8e79aec11..66acf411e 100644
--- a/src/modules/window/libkviwindow.cpp
+++ b/src/modules/window/libkviwindow.cpp
@@ -1176,6 +1176,7 @@ static bool window_kvs_fnc_open(KviKvsModuleFunctionCall * c)
you're allowed to use the <nobr>,<font>,<b> and <i> html tags.
It is better to avoid using colored fonts since you can't know which color scheme the
user will have set.[br]
+ If the windows get undocked, it will just use <plain_text_caption>, not the styled html captions.
If the specified window does not exist a warning is printed unless the -q switch is used.
@seealso:
*/
diff --git a/src/modules/window/userwindow.cpp b/src/modules/window/userwindow.cpp
index 7f38dd0f6..5860e4665 100644
--- a/src/modules/window/userwindow.cpp
+++ b/src/modules/window/userwindow.cpp
@@ -41,8 +41,7 @@ KviUserWindow::KviUserWindow(KviFrame * pFrm,const char * name,int iIcon,KviCons
m_iIcon = iIcon;
m_szPlainTextCaption = name;
- m_szHtmlActiveCaption = name;
- m_szHtmlInactiveCaption = name;
+ fillSingleColorCaptionBuffers(m_szPlainTextCaption);
// Register ourselves
//connection()->registerChannel(this);