author | zautrix <zautrix> | 2005-02-17 10:52:04 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-02-17 10:52:04 (UTC) |
commit | 002e4f8cea2352e4b9a046b98f66be946fbeb5fc (patch) (side-by-side diff) | |
tree | 7dde06f92ed54ec8ee40e68eaa312d2a2d379fb1 | |
parent | ec18172021a9adc0f6fa1fe80aec71e9a905a351 (diff) | |
download | kdepimpi-002e4f8cea2352e4b9a046b98f66be946fbeb5fc.zip kdepimpi-002e4f8cea2352e4b9a046b98f66be946fbeb5fc.tar.gz kdepimpi-002e4f8cea2352e4b9a046b98f66be946fbeb5fc.tar.bz2 |
desktop fix
-rw-r--r-- | bin/kdepim/kopiemail/germantranslation.txt | 2 | ||||
-rw-r--r-- | kmicromail/composemail.cpp | 9 |
2 files changed, 9 insertions, 2 deletions
diff --git a/bin/kdepim/kopiemail/germantranslation.txt b/bin/kdepim/kopiemail/germantranslation.txt index 58f4ea8..0d858a8 100644 --- a/bin/kdepim/kopiemail/germantranslation.txt +++ b/bin/kdepim/kopiemail/germantranslation.txt @@ -255,20 +255,20 @@ { "Reply to this mail","Beantworte diese Mail" }, { "Su:","Be:" }, { "Fr:","Vo:" }, { "To:","An:" }, { "Download Mail","Mail runterladen" }, { "View Source","Zeige Source" }, { "Show "To" field in list view","Zeige "An" Feld in Listenansicht" }, { "Show info fields at startup","Zeige Info Felder beim Start" }, { "Show "Subject" info field","Zeige "Betreff" Info Feld" }, { "Show "From" info field","Zeige "Von" Info Feld" }, { "Show "To" info field","Zeige "An" Info Feld" }, { "Mail saved as draft!","Mail als Entwurf gespeichert!" }, -{ "","" }, +{ "Save signature","Speichere Signatur" }, { "","" }, { "","" }, { "","" }, { "","" }, { "","" }, { "","" }, { "","" }, diff --git a/kmicromail/composemail.cpp b/kmicromail/composemail.cpp index 3231b45..7b609fc 100644 --- a/kmicromail/composemail.cpp +++ b/kmicromail/composemail.cpp @@ -144,25 +144,32 @@ ComposeMail::ComposeMail( Settings *sett, QWidget *parent, const char *name, boo if ( smtpAccounts.count() > 0 ) { fillValues( smtpAccountBox->currentItem() ); } else { QMessageBox::information( 0, i18n( "Problem" ), i18n( "Please create an\nSMTP account first.\nThe SMTP is needed\nfor sending mail.\n" ), i18n( "Ok" ) ); return; } connect( smtpAccountBox, SIGNAL( activated(int) ), SLOT( fillValues(int) ) ); connect( SaveSigButton, SIGNAL( clicked() ), SLOT( saveSig()) ); if ( smtpAccountBox->count()) fillValues(0); - +#ifdef DESKTOP_VERSION + if ( QApplication::desktop()->width() <= 800 ) { + resize( QApplication::desktop()->size() ); + } else + resize( 800, 600 ); + if ( QApplication::desktop()->width() >= 640 ) + senderNameEdit->setFixedWidth( 200 ); +#endif } void ComposeMail::fillSettings() { if ( QApplication::desktop()->width() < 320 ) fromBox->setMaximumWidth( 100 ); QStringList mailList = QStringList::split(";",KOPrefs::instance()->mEmail); QStringList::ConstIterator sit = mailList.begin(); int pref = 0; for (;sit!=mailList.end();++sit) { fromBox->insertItem((*sit)); } |