From 002e4f8cea2352e4b9a046b98f66be946fbeb5fc Mon Sep 17 00:00:00 2001 From: zautrix Date: Thu, 17 Feb 2005 10:52:04 +0000 Subject: desktop fix --- 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 @@ -264,7 +264,7 @@ { "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 @@ -153,7 +153,14 @@ ComposeMail::ComposeMail( Settings *sett, QWidget *parent, const char *name, boo 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() -- cgit v0.9.0.2