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

List:       kde-commits
Subject:    KDE/kdenetwork/kopete/kopete/config/chatwindow
From:       Roman Jarosz <kedgedev () centrum ! cz>
Date:       2008-05-29 22:39:41
Message-ID: 1212100781.852634.20377.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 814314 by rjarosz:

Add hack that emits kcfg signals so Kopete can update user intefrace.
KCModule::save() doesn't emit kcfg signals and I didn't find BIC compatible way to make it to.



 M  +6 -0      chatwindowconfig.cpp  


--- trunk/KDE/kdenetwork/kopete/kopete/config/chatwindow/chatwindowconfig.cpp #814313:814314
@@ -265,6 +265,12 @@
 	if (item)
 		KEmoticons::setTheme( item->text() );
 
+	// Ugly hacks, this will emit the kcfg signals
+	appearanceSettings->setChatTextColor(m_colorsUi.kcfg_chatTextColor->color());
+	appearanceSettings->setUseEmoticons(m_emoticonsUi.kcfg_useEmoticons->isChecked());
+	settings->setHighlightForegroundColor(m_colorsUi.kcfg_highlightForegroundColor->color());
+	settings->setChatBgOverride(m_colorsUi.kcfg_chatBgOverride->isChecked());
+
 	appearanceSettings->writeConfig();
 	settings->writeConfig();
 	m_styleChanged = false;
[prev in list] [next in list] [prev in thread] [next in thread] 

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