summaryrefslogtreecommitdiff
path: root/noncore/net/mail
authorharlekin <harlekin>2003-12-14 02:24:35 (UTC)
committer harlekin <harlekin>2003-12-14 02:24:35 (UTC)
commit12ba6ab9606538628afc7f7015e115a0251d0389 (patch) (side-by-side diff)
treea7c9da2ecd69320cf90a0db19399815e4aff5d12 /noncore/net/mail
parent568f23df5f4d5b1835c3b89ad54eeb6fc53157e6 (diff)
downloadopie-12ba6ab9606538628afc7f7015e115a0251d0389.zip
opie-12ba6ab9606538628afc7f7015e115a0251d0389.tar.gz
opie-12ba6ab9606538628afc7f7015e115a0251d0389.tar.bz2
show account list by default
Diffstat (limited to 'noncore/net/mail') (more/less context) (show whitespace changes)
-rw-r--r--noncore/net/mail/mainwindow.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/noncore/net/mail/mainwindow.cpp b/noncore/net/mail/mainwindow.cpp
index e466d9b..cab1a66 100644
--- a/noncore/net/mail/mainwindow.cpp
+++ b/noncore/net/mail/mainwindow.cpp
@@ -50,12 +50,13 @@ MainWindow::MainWindow( QWidget *parent, const char *name, WFlags flags )
syncFolders->addTo( mailMenu );
showFolders = new QAction( tr( "Show/Hide folders" ), ICON_SHOWFOLDERS,
0, 0, this, 0, true );
showFolders->addTo( toolBar );
showFolders->addTo( mailMenu );
+ showFolders->setOn( true );
connect(showFolders, SIGNAL( toggled( bool ) ),
SLOT( slotShowFolders( bool ) ) );
searchMails = new QAction( tr( "Search mails" ), ICON_SEARCHMAILS,
0, 0, this );
searchMails->addTo( toolBar );
@@ -81,13 +82,13 @@ MainWindow::MainWindow( QWidget *parent, const char *name, WFlags flags )
layout = new QBoxLayout ( view, QBoxLayout::LeftToRight );
folderView = new AccountView( view );
folderView->header()->hide();
folderView->setRootIsDecorated( false );
folderView->addColumn( tr( "Mailbox" ) );
- folderView->hide();
+ //folderView->hide();
layout->addWidget( folderView );
mailView = new QListView( view );
mailView->addColumn( tr( "" ) );
mailView->addColumn( tr( "Subject" ),QListView::Manual );
@@ -105,12 +106,13 @@ MainWindow::MainWindow( QWidget *parent, const char *name, WFlags flags )
connect( mailView, SIGNAL( clicked( QListViewItem * ) ),this,
SLOT( displayMail( QListViewItem * ) ) );
connect(folderView, SIGNAL(refreshMailview(QList<RecMail>*)),this,SLOT(refreshMailView(QList<RecMail>*)));
QTimer::singleShot( 1000, this, SLOT( slotAdjustColumns() ) );
+
}
void MainWindow::slotAdjustLayout() {
QWidget *d = QApplication::desktop();