summaryrefslogtreecommitdiff
authorharlekin <harlekin>2002-10-17 17:44:01 (UTC)
committer harlekin <harlekin>2002-10-17 17:44:01 (UTC)
commiteb70c5c231b80d1e925b0098ad3c951917900071 (patch) (side-by-side diff)
tree6527f98fb76bbf5c2c484490b8113d078be4fde0
parentec202e5d2956f2cde0f2a6be5c452bd67347e21f (diff)
downloadopie-eb70c5c231b80d1e925b0098ad3c951917900071.zip
opie-eb70c5c231b80d1e925b0098ad3c951917900071.tar.gz
opie-eb70c5c231b80d1e925b0098ad3c951917900071.tar.bz2
configure profile in connection menu - keep menubar as empty as possible to have space for icons and avoid having them in a second row - as much space for terminal as possible
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/opie-console/mainwindow.cpp30
1 files changed, 18 insertions, 12 deletions
diff --git a/noncore/apps/opie-console/mainwindow.cpp b/noncore/apps/opie-console/mainwindow.cpp
index 408d3dd..3066b35 100644
--- a/noncore/apps/opie-console/mainwindow.cpp
+++ b/noncore/apps/opie-console/mainwindow.cpp
@@ -58,11 +58,27 @@ void MainWindow::initUI() {
m_console = new QPopupMenu( this );
m_scripts = new QPopupMenu( this );
m_sessionsPop= new QPopupMenu( this );
- m_settings = new QPopupMenu( this );
+ //m_settings = new QPopupMenu( this );
/* add a toolbar for icons */
m_icons = new QToolBar(this);
+
+
+
+ /*
+ * the settings action
+ */
+ m_setProfiles = new QAction(tr("Configure Profiles"),
+ Resource::loadPixmap( "SettingsIcon" ),
+ QString::null, 0, this, 0);
+ // m_setProfiles->addTo( m_settings );
+ m_setProfiles->addTo( m_icons );
+ m_setProfiles->addTo( m_console );
+ connect( m_setProfiles, SIGNAL(activated() ),
+ this, SLOT(slotConfigure() ) );
+
+
/*
* new Action for new sessions
*/
@@ -126,16 +142,6 @@ void MainWindow::initUI() {
connect( m_closewindow, SIGNAL(activated() ),
this, SLOT(slotClose() ) );
- /*
- * the settings action
- */
- m_setProfiles = new QAction(tr("Configure Profiles"),
- Resource::loadPixmap( "SettingsIcon" ),
- QString::null, 0, this, 0);
- m_setProfiles->addTo( m_settings );
- m_setProfiles->addTo( m_icons );
- connect( m_setProfiles, SIGNAL(activated() ),
- this, SLOT(slotConfigure() ) );
/*
* script actions
@@ -177,7 +183,7 @@ void MainWindow::initUI() {
m_bar->insertItem( tr("Scripts"), m_scripts );
/* the settings menu */
- m_bar->insertItem( tr("Settings"), m_settings );
+ // m_bar->insertItem( tr("Settings"), m_settings );
/* and the keyboard */
m_keyBar = new QToolBar(this);