From fd1b86e8590b34efb38b82953e5bf897a8de1cdf Mon Sep 17 00:00:00 2001 From: harlekin Date: Sun, 23 Mar 2003 14:45:21 +0000 Subject: spawn default profile on startup --- (limited to 'noncore/apps') diff --git a/noncore/apps/opie-console/main.cpp b/noncore/apps/opie-console/main.cpp index 3b4321a..b17f8e8 100644 --- a/noncore/apps/opie-console/main.cpp +++ b/noncore/apps/opie-console/main.cpp @@ -101,7 +101,7 @@ int main(int argc, char **argv) { #endif MainWindow mw; - mw.setCaption(QObject::tr("Opie console") ); + mw.setCaption(QObject::tr("Opie Console") ); app.showMainWidget( &mw ); int ap = app.exec(); diff --git a/noncore/apps/opie-console/mainwindow.cpp b/noncore/apps/opie-console/mainwindow.cpp index 3acbfad..c48116d 100644 --- a/noncore/apps/opie-console/mainwindow.cpp +++ b/noncore/apps/opie-console/mainwindow.cpp @@ -54,6 +54,7 @@ MainWindow::MainWindow(QWidget *parent, const char *name, WFlags) : QMainWindow( } void MainWindow::initUI() { + setToolBarsMovable( FALSE ); /* tool bar for the menu */ @@ -120,11 +121,14 @@ void MainWindow::initUI() { m_console->insertSeparator(); + m_quickLaunch = new QAction( tr("QuickLaunch"), Resource::loadPixmap("console/konsole_mini"), QString::null, 0, this, 0 ); m_quickLaunch->addTo( m_icons ); connect( m_quickLaunch, SIGNAL( activated() ), this, SLOT( slotQuickLaunch() ) ); + QWhatsThis::add( m_icons, tr( "The shell button launches the \"default\" profile. If there is none default values are taken" ) ); + m_transfer = new QAction( tr("Transfer file..."), Resource::loadPixmap("pass") , QString::null, 0, this, 0 ); m_transfer->addTo( m_console ); @@ -235,7 +239,7 @@ void MainWindow::initUI() { newCon->addTo( m_icons ); - m_setProfiles->addTo( m_icons ); + //m_setProfiles->addTo( m_icons ); paste->addTo( m_icons ); m_openKeys->addTo(m_icons); m_fullscreen->addTo( m_icons ); @@ -262,6 +266,7 @@ void MainWindow::initUI() { this, SLOT(slotSessionChanged(Session*) ) ); setCentralWidget( m_consoleWindow ); + slotQuickLaunch(); } ProfileManager* MainWindow::manager() { -- cgit v0.9.0.2