summaryrefslogtreecommitdiffabout
path: root/kmicromail/koprefs.cpp
Side-by-side diff
Diffstat (limited to 'kmicromail/koprefs.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--kmicromail/koprefs.cpp12
1 files changed, 3 insertions, 9 deletions
diff --git a/kmicromail/koprefs.cpp b/kmicromail/koprefs.cpp
index c0200ff..8143b6f 100644
--- a/kmicromail/koprefs.cpp
+++ b/kmicromail/koprefs.cpp
@@ -62,17 +62,17 @@ KOPrefs::KOPrefs() :
addItemBool("ViewMailAsHtml",&mViewAsHtml,false);
addItemBool("SendMailLater",&mSendLater,true);
addItemBool("UseKapi",&mUseKapi,false);
KPrefs::setCurrentGroup("Fonts");
addItemFont("Application Font",&mAppFont);
addItemFont("Compose Font",&mComposeFont);
addItemFont("Read Font",&mReadFont);
-
+ fillMailDefaults();
}
KOPrefs::~KOPrefs()
{
if (mInstance == this)
mInstance = insd.setObject(0);
@@ -92,26 +92,20 @@ KOPrefs *KOPrefs::instance()
void KOPrefs::usrSetDefaults()
{
}
void KOPrefs::fillMailDefaults()
{
- if (mName.isEmpty()) mName = i18n("Anonymous");
- if (mEmail.isEmpty()) mEmail = i18n("nobody@nowhere");
+ if (mName.isEmpty()) mName = i18n ("Please set at");
+ if (mEmail.isEmpty()) mEmail = i18n ("Settings@General TAB");
}
-void KOPrefs::setTimeZoneIdDefault()
-{
- mTimeZoneId = i18n("+01:00 Europe/Oslo(CET)");
-}
-
-
void KOPrefs::usrReadConfig()
{
KPimPrefs::usrReadConfig();
}
void KOPrefs::usrWriteConfig()