summaryrefslogtreecommitdiffabout
authorzautrix <zautrix>2004-10-25 23:41:23 (UTC)
committer zautrix <zautrix>2004-10-25 23:41:23 (UTC)
commit8cc5f6491c0f0f1ad6568b8c6221ca8cdeac3207 (patch) (side-by-side diff)
tree5909f33560e1ee90cc488cb4533c04bc2d259968
parent7bf9517920766c9cd5e032af9cdd1e07d6604b6b (diff)
downloadkdepimpi-8cc5f6491c0f0f1ad6568b8c6221ca8cdeac3207.zip
kdepimpi-8cc5f6491c0f0f1ad6568b8c6221ca8cdeac3207.tar.gz
kdepimpi-8cc5f6491c0f0f1ad6568b8c6221ca8cdeac3207.tar.bz2
kopiemail fixes
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--kmicromail/composemail.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/kmicromail/composemail.cpp b/kmicromail/composemail.cpp
index c504fdd..8eb6d27 100644
--- a/kmicromail/composemail.cpp
+++ b/kmicromail/composemail.cpp
@@ -105,26 +105,28 @@ ComposeMail::ComposeMail( Settings *s, QWidget *parent, const char *name, bool m
connect( toButton, SIGNAL( clicked() ), SLOT( pickAddressTo() ) );
connect( ccButton, SIGNAL( clicked() ), SLOT( pickAddressCC() ) );
connect( bccButton, SIGNAL( clicked() ), SLOT( pickAddressBCC() ) );
connect( replyButton, SIGNAL( clicked() ), SLOT( pickAddressReply() ) );
connect( addButton, SIGNAL( clicked() ), SLOT( addAttachment() ) );
connect( deleteButton, SIGNAL( clicked() ), SLOT( removeAttachment() ) );
connect( SaveButton, SIGNAL( clicked() ), SLOT( saveAsDraft()) );
mMail = 0;
warnAttach = true;
QIconSet icon;
//icon = SmallIcon("fileexport");
icon = SmallIcon("filesave");
-
- SaveButton->setText ("") ;
+ if ( QApplication::desktop()->width() < 320 )
+ SaveButton->setText ("") ;
+ else
+ SaveButton->setText (i18n("Save")) ;
SaveButton->setIconSet (icon ) ;
SaveButton->setMaximumSize ( SaveButton->sizeHint().height(),SaveButton->sizeHint().height()) ;
#ifndef DESKTOP_VERSION
QPEApplication::setStylusOperation( message, QPEApplication::RightOnHold );
QPEApplication::setStylusOperation( senderNameEdit, QPEApplication::RightOnHold );
QPEApplication::setStylusOperation( subjectLine, QPEApplication::RightOnHold );
#endif
message->setFont ( KOPrefs::instance()->mComposeFont );
message->setWordWrap (QMultiLineEdit::WidgetWidth);
if ( smtpAccounts.count() > 0 ) {
fillValues( smtpAccountBox->currentItem() );
} else {