author | harlekin <harlekin> | 2002-10-17 17:44:01 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-10-17 17:44:01 (UTC) |
commit | eb70c5c231b80d1e925b0098ad3c951917900071 (patch) (unidiff) | |
tree | 6527f98fb76bbf5c2c484490b8113d078be4fde0 | |
parent | ec202e5d2956f2cde0f2a6be5c452bd67347e21f (diff) | |
download | opie-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
-rw-r--r-- | noncore/apps/opie-console/mainwindow.cpp | 30 |
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 | |||
@@ -60,3 +60,3 @@ void MainWindow::initUI() { | |||
60 | m_sessionsPop= new QPopupMenu( this ); | 60 | m_sessionsPop= new QPopupMenu( this ); |
61 | m_settings = new QPopupMenu( this ); | 61 | //m_settings = new QPopupMenu( this ); |
62 | 62 | ||
@@ -65,2 +65,18 @@ void MainWindow::initUI() { | |||
65 | 65 | ||
66 | |||
67 | |||
68 | |||
69 | /* | ||
70 | * the settings action | ||
71 | */ | ||
72 | m_setProfiles = new QAction(tr("Configure Profiles"), | ||
73 | Resource::loadPixmap( "SettingsIcon" ), | ||
74 | QString::null, 0, this, 0); | ||
75 | // m_setProfiles->addTo( m_settings ); | ||
76 | m_setProfiles->addTo( m_icons ); | ||
77 | m_setProfiles->addTo( m_console ); | ||
78 | connect( m_setProfiles, SIGNAL(activated() ), | ||
79 | this, SLOT(slotConfigure() ) ); | ||
80 | |||
81 | |||
66 | /* | 82 | /* |
@@ -128,12 +144,2 @@ void MainWindow::initUI() { | |||
128 | 144 | ||
129 | /* | ||
130 | * the settings action | ||
131 | */ | ||
132 | m_setProfiles = new QAction(tr("Configure Profiles"), | ||
133 | Resource::loadPixmap( "SettingsIcon" ), | ||
134 | QString::null, 0, this, 0); | ||
135 | m_setProfiles->addTo( m_settings ); | ||
136 | m_setProfiles->addTo( m_icons ); | ||
137 | connect( m_setProfiles, SIGNAL(activated() ), | ||
138 | this, SLOT(slotConfigure() ) ); | ||
139 | 145 | ||
@@ -179,3 +185,3 @@ void MainWindow::initUI() { | |||
179 | /* the settings menu */ | 185 | /* the settings menu */ |
180 | m_bar->insertItem( tr("Settings"), m_settings ); | 186 | // m_bar->insertItem( tr("Settings"), m_settings ); |
181 | 187 | ||