author | zautrix <zautrix> | 2005-08-23 09:58:25 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-08-23 09:58:25 (UTC) |
commit | e34e096c0e1b799904643c753591833f3ff2ab95 (patch) (unidiff) | |
tree | 7599dafddcc8b7b918ee52c5dfa1fe162d3022d3 | |
parent | cfda06568cbd0e67ba0188f00622b348b57b27c0 (diff) | |
download | kdepimpi-e34e096c0e1b799904643c753591833f3ff2ab95.zip kdepimpi-e34e096c0e1b799904643c753591833f3ff2ab95.tar.gz kdepimpi-e34e096c0e1b799904643c753591833f3ff2ab95.tar.bz2 |
ompi fix
-rw-r--r-- | bin/kdepim/kopiemail/germantranslation.txt | 11 | ||||
-rw-r--r-- | kmicromail/accountitem.cpp | 4 | ||||
-rw-r--r-- | kmicromail/accountview.cpp | 15 | ||||
-rw-r--r-- | kmicromail/mainwindow.cpp | 24 | ||||
-rw-r--r-- | kmicromail/mainwindow.h | 1 | ||||
-rw-r--r-- | kmicromail/opiemail.cpp | 4 |
6 files changed, 49 insertions, 10 deletions
diff --git a/bin/kdepim/kopiemail/germantranslation.txt b/bin/kdepim/kopiemail/germantranslation.txt index 14e5c0b..f8fd0a8 100644 --- a/bin/kdepim/kopiemail/germantranslation.txt +++ b/bin/kdepim/kopiemail/germantranslation.txt | |||
@@ -279,4 +279,13 @@ | |||
279 | { "Global Settings...","Globale Einstellungen..." }, | 279 | { "Global Settings...","Globale Einstellungen..." }, |
280 | { " Local Mailfolders"," Lokale Mailordner" }, | ||
281 | { "Refreshing %1 ... please wait","Lese %1 neu ein ... bitte warten" }, | ||
282 | { "Refresh\n%1\n?","%1\nneu einlesen?" }, | ||
283 | { "Refresh","Neu einlesen" }, | ||
284 | { "Select all","Selektiere alle" }, | ||
285 | { "","" }, | ||
286 | { "","" }, | ||
287 | { "","" }, | ||
288 | { "","" }, | ||
289 | { "","" }, | ||
280 | { "","" }, | 290 | { "","" }, |
281 | { "","" }, | 291 | { "","" }, |
282 | { "","" }, \ No newline at end of file | ||
diff --git a/kmicromail/accountitem.cpp b/kmicromail/accountitem.cpp index fcb2052..985a762 100644 --- a/kmicromail/accountitem.cpp +++ b/kmicromail/accountitem.cpp | |||
@@ -785,5 +785,5 @@ MHviewItem::MHviewItem( const QString&aPath, AccountView *parent ) | |||
785 | /* be carefull - the space within settext is wanted - thats why the string twice */ | 785 | /* be carefull - the space within settext is wanted - thats why the string twice */ |
786 | wrapper = AbstractMail::getWrapper( m_Path,"Local Folders"); | 786 | wrapper = AbstractMail::getWrapper( m_Path,"Local Mailfolders"); |
787 | setPixmap( 0, PIXMAP_LOCALFOLDER ); | 787 | setPixmap( 0, PIXMAP_LOCALFOLDER ); |
788 | setText( 0, " Local Folders" ); | 788 | setText( 0, i18n(" Local Mailfolders") ); |
789 | setOpen( true ); | 789 | setOpen( true ); |
diff --git a/kmicromail/accountview.cpp b/kmicromail/accountview.cpp index cef55ab..4879d57 100644 --- a/kmicromail/accountview.cpp +++ b/kmicromail/accountview.cpp | |||
@@ -99,3 +99,13 @@ void AccountView::refresh(QListViewItem *item) | |||
99 | { | 99 | { |
100 | int result = KMessageBox::warningContinueCancel(this, | 100 | bool ask = true; |
101 | qDebug("text -%s- ",item->text( 0 ).latin1() ); | ||
102 | if ( item->text( 0 ) == i18n (" Local Mailfolders") ) | ||
103 | ask = false; | ||
104 | else { | ||
105 | if ( item->parent() ) | ||
106 | if ( item->parent()->text( 0 ) == i18n (" Local Mailfolders") ) | ||
107 | ask = false; | ||
108 | } | ||
109 | if ( ask ) { | ||
110 | int result = KMessageBox::warningContinueCancel(this, | ||
101 | i18n("Refresh\n%1\n?").arg( item->text(0) ), | 111 | i18n("Refresh\n%1\n?").arg( item->text(0) ), |
@@ -103,3 +113,4 @@ void AccountView::refresh(QListViewItem *item) | |||
103 | true); | 113 | true); |
104 | if (result != KMessageBox::Continue) return; | 114 | if (result != KMessageBox::Continue) return; |
115 | } | ||
105 | m_currentItem = item; | 116 | m_currentItem = item; |
diff --git a/kmicromail/mainwindow.cpp b/kmicromail/mainwindow.cpp index 82a915e..3dde3cd 100644 --- a/kmicromail/mainwindow.cpp +++ b/kmicromail/mainwindow.cpp | |||
@@ -367,6 +367,5 @@ void MainWindow::slotAdjustColumns() | |||
367 | { | 367 | { |
368 | bool hidden = folderView->isHidden(); | 368 | |
369 | if ( hidden ) folderView->show(); | 369 | if ( !folderView->isHidden() ) |
370 | folderView->setColumnWidth( 0, folderView->visibleWidth() ); | 370 | folderView->setColumnWidth( 0, folderView->visibleWidth() ); |
371 | if ( hidden ) folderView->hide(); | ||
372 | 371 | ||
@@ -376,3 +375,18 @@ void MainWindow::slotAdjustColumns() | |||
376 | mailView->setColumnWidth( 3, 70 ); | 375 | mailView->setColumnWidth( 3, 70 ); |
377 | mailView->setColumnWidth( 4, 170 ); | 376 | mailView->setColumnWidth( 4, 180 ); |
377 | if ( KOPrefs::instance()->mShowToField ) | ||
378 | mailView->setColumnWidth( 5, 100 ); | ||
379 | mailView->setColumnAlignment( 3, AlignRight); | ||
380 | mailView->setColumnAlignment( 4, AlignRight); | ||
381 | } | ||
382 | void MainWindow::slotAdjustColumnsWide() | ||
383 | { | ||
384 | if ( !folderView->isHidden() ) | ||
385 | folderView->setColumnWidth( 0, folderView->visibleWidth() ); | ||
386 | |||
387 | mailView->setColumnWidth( 0, 10 ); | ||
388 | mailView->setColumnWidth( 1, 200 ); | ||
389 | mailView->setColumnWidth( 2, 200 ); | ||
390 | mailView->setColumnWidth( 3, 70 ); | ||
391 | mailView->setColumnWidth( 4, 180 ); | ||
378 | if ( KOPrefs::instance()->mShowToField ) | 392 | if ( KOPrefs::instance()->mShowToField ) |
diff --git a/kmicromail/mainwindow.h b/kmicromail/mainwindow.h index 178d2bb..f65f3b4 100644 --- a/kmicromail/mainwindow.h +++ b/kmicromail/mainwindow.h | |||
@@ -36,2 +36,3 @@ public slots: | |||
36 | virtual void slotAdjustColumns(); | 36 | virtual void slotAdjustColumns(); |
37 | virtual void slotAdjustColumnsWide(); | ||
37 | virtual void appMessage(const QCString &msg, const QByteArray &data); | 38 | virtual void appMessage(const QCString &msg, const QByteArray &data); |
diff --git a/kmicromail/opiemail.cpp b/kmicromail/opiemail.cpp index e296d9c..75a75b9 100644 --- a/kmicromail/opiemail.cpp +++ b/kmicromail/opiemail.cpp | |||
@@ -543,3 +543,5 @@ void OpieMail::slotShowFolders( bool show ) | |||
543 | { | 543 | { |
544 | slotAdjustColumns(); | ||
544 | folderView->show(); | 545 | folderView->show(); |
546 | //slotAdjustColumns(); | ||
545 | } | 547 | } |
@@ -547,3 +549,5 @@ void OpieMail::slotShowFolders( bool show ) | |||
547 | { | 549 | { |
550 | slotAdjustColumnsWide(); | ||
548 | folderView->hide(); | 551 | folderView->hide(); |
552 | //slotAdjustColumnsWide(); | ||
549 | } | 553 | } |