Defaults should now match between compiled in and displayed

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1177761 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 14 years ago
parent 22f29ff5ee
commit 3fde69093c

@ -477,6 +477,9 @@ void KIconConfig::save()
g.writeEntry("IconUseRoundedRect", mpRoundedCheck->isChecked(), true, true); g.writeEntry("IconUseRoundedRect", mpRoundedCheck->isChecked(), true, true);
g.writeEntry("ShowKonqIconActivationEffect", mpActiveEffectCheck->isChecked(), true, true); g.writeEntry("ShowKonqIconActivationEffect", mpActiveEffectCheck->isChecked(), true, true);
kapp->dcopClient()->send( "konqueror*", "KonquerorIface", "reparseConfiguration()", "" );
kapp->dcopClient()->send( "kdesktop", "KDesktopIface", "configure()", "" );
mpConfig->sync(); mpConfig->sync();
mpSystrayConfig->sync(); mpSystrayConfig->sync();
mpKickerConfig->sync(); mpKickerConfig->sync();

@ -30,7 +30,7 @@
KDesktopShadowSettings::KDesktopShadowSettings(KConfig *cfg) : KDesktopShadowSettings::KDesktopShadowSettings(KConfig *cfg) :
KShadowSettings(), KShadowSettings(),
m_textColor(TQColor(255,255,255)), m_textColor(TQColor("#FFFFFF")),
_UID(0L) _UID(0L)
{ {
setConfig(cfg); setConfig(cfg);
@ -71,7 +71,7 @@ void KDesktopShadowSettings::setConfig(KConfig *val)
setUID(); setUID();
config->setGroup("FMSettings"); config->setGroup("FMSettings");
m_textColor = config->readColorEntry("NormalTextColor", &Qt::white); m_textColor = config->readColorEntry("NormalTextColor", TQColor("#FFFFFF"));
m_bgColor = config->readColorEntry("ItemTextBackground"); m_bgColor = config->readColorEntry("ItemTextBackground");
m_isEnabled = config->readBoolEntry("ShadowEnabled", true); m_isEnabled = config->readBoolEntry("ShadowEnabled", true);

@ -145,7 +145,7 @@ void KOSPage::writeKDE(){
cglobal->writeEntry("SingleClick", true, true, true); cglobal->writeEntry("SingleClick", true, true, true);
claunch->setGroup("FeedbackStyle"); claunch->setGroup("FeedbackStyle");
claunch->writeEntry("BusyCursor", true); claunch->writeEntry("BusyCursor", false);
cwin->setGroup("Windows"); cwin->setGroup("Windows");
cwin->writeEntry("TitlebarDoubleClickCommand", "Shade"); cwin->writeEntry("TitlebarDoubleClickCommand", "Shade");
@ -227,7 +227,7 @@ void KOSPage::writeWindows(){
cglobal->writeEntry("SingleClick", false, true, true); cglobal->writeEntry("SingleClick", false, true, true);
claunch->setGroup("FeedbackStyle"); claunch->setGroup("FeedbackStyle");
claunch->writeEntry("BusyCursor", true); claunch->writeEntry("BusyCursor", false);
cwin->setGroup("Windows"); cwin->setGroup("Windows");
cwin->writeEntry("TitlebarDoubleClickCommand", "Maximize"); cwin->writeEntry("TitlebarDoubleClickCommand", "Maximize");
@ -403,7 +403,7 @@ void KOSPage::getUserDefaults(){
b_SingleClick = cglobal->readBoolEntry("SingleClick", true); b_SingleClick = cglobal->readBoolEntry("SingleClick", true);
claunch->setGroup("FeedbackStyle"); claunch->setGroup("FeedbackStyle");
b_BusyCursor = claunch->readBoolEntry("BusyCursor", true); b_BusyCursor = claunch->readBoolEntry("BusyCursor", false);
cwin->setGroup("Windows"); cwin->setGroup("Windows");
s_TitlebarDCC = cwin->readEntry("TitlebarDoubleClickCommand", "Shade"); s_TitlebarDCC = cwin->readEntry("TitlebarDoubleClickCommand", "Shade");

Loading…
Cancel
Save