-rw-r--r-- | noncore/apps/opie-console/mainwindow.cpp | 1 | ||||
-rw-r--r-- | noncore/apps/opie-console/profile.h | 2 | ||||
-rw-r--r-- | noncore/apps/opie-console/profileeditordialog.cpp | 1 | ||||
-rw-r--r-- | noncore/apps/opie-console/terminalwidget.cpp | 21 |
4 files changed, 15 insertions, 10 deletions
diff --git a/noncore/apps/opie-console/mainwindow.cpp b/noncore/apps/opie-console/mainwindow.cpp index 27bcc09..415259e 100644 --- a/noncore/apps/opie-console/mainwindow.cpp +++ b/noncore/apps/opie-console/mainwindow.cpp @@ -276,2 +276,3 @@ void MainWindow::slotConfigure() { manager()->setProfiles( conf.list() ); + manager()->save(); populateProfiles(); diff --git a/noncore/apps/opie-console/profile.h b/noncore/apps/opie-console/profile.h index 78fe6ab..1b71cda 100644 --- a/noncore/apps/opie-console/profile.h +++ b/noncore/apps/opie-console/profile.h @@ -20,3 +20,3 @@ public: Gray }; - enum Terminal {VT102 = 0 }; + enum Terminal {VT102 = 0, VT100 }; enum Font { Micro = 0, Small, Medium }; diff --git a/noncore/apps/opie-console/profileeditordialog.cpp b/noncore/apps/opie-console/profileeditordialog.cpp index 914fd25..094c871 100644 --- a/noncore/apps/opie-console/profileeditordialog.cpp +++ b/noncore/apps/opie-console/profileeditordialog.cpp @@ -60,2 +60,3 @@ void ProfileEditorDialog::initUI() OTabWidget *tabWidget = new OTabWidget( this ); + tabWidget->setTabStyle(OTabWidget::TextTab); mainLayout->add(tabWidget); diff --git a/noncore/apps/opie-console/terminalwidget.cpp b/noncore/apps/opie-console/terminalwidget.cpp index 80627c4..2d37be2 100644 --- a/noncore/apps/opie-console/terminalwidget.cpp +++ b/noncore/apps/opie-console/terminalwidget.cpp @@ -15,3 +15,3 @@ namespace { id_term_vt100, - id_term_vt220, + id_term_vt102, id_term_ansi @@ -75,4 +75,4 @@ TerminalWidget::TerminalWidget( const QString& name, QWidget* parent, m_terminalBox->insertItem( tr("VT 100"), id_term_vt100 ); - m_terminalBox->insertItem( tr("VT 220"), id_term_vt220 ); - m_terminalBox->insertItem( tr("ANSI"), id_term_ansi ); + m_terminalBox->insertItem( tr("VT 102"), id_term_vt102 ); + //m_terminalBox->insertItem( tr("ANSI"), id_term_ansi ); @@ -112,5 +112,8 @@ void TerminalWidget::load( const Profile& prof ) { switch( term ) { - case Profile::VT102: + case Profile::VT100: m_terminalBox->setCurrentItem(id_term_vt100 ); break; + case Profile::VT102: + m_terminalBox->setCurrentItem(id_term_vt102 ); + break; default: @@ -154,10 +157,10 @@ void TerminalWidget::save( Profile& profile ) { case id_term_vt100: - profile.writeEntry("Terminal", Profile::VT102 ); - break; - case id_term_vt220: - profile.writeEntry("Terminal", Profile::VT102 ); + profile.writeEntry("Terminal", Profile::VT100 ); break; - case id_term_ansi: + case id_term_vt102: profile.writeEntry("Terminal", Profile::VT102 ); break; + //case id_term_ansi: + // profile.writeEntry("Terminal", Profile::VT102 ); + // break; default: |