summaryrefslogtreecommitdiff
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
parent568f23df5f4d5b1835c3b89ad54eeb6fc53157e6 (diff)
downloadopie-12ba6ab9606538628afc7f7015e115a0251d0389.zip
opie-12ba6ab9606538628afc7f7015e115a0251d0389.tar.gz
opie-12ba6ab9606538628afc7f7015e115a0251d0389.tar.bz2
show account list by default
Diffstat (more/less context) (ignore 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
@@ -48,16 +48,17 @@ MainWindow::MainWindow( QWidget *parent, const char *name, WFlags flags )
0, 0, this );
syncFolders->addTo( toolBar );
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 );
searchMails->addTo( mailMenu );
@@ -79,17 +80,17 @@ MainWindow::MainWindow( QWidget *parent, const char *name, WFlags flags )
setCentralWidget( view );
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 );
mailView->addColumn( tr( "Sender" ),QListView::Manual );
mailView->addColumn( tr( "Date" ));
@@ -103,16 +104,17 @@ MainWindow::MainWindow( QWidget *parent, const char *name, WFlags flags )
slotAdjustLayout();
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();
if ( d->width() < d->height() ) {