summaryrefslogtreecommitdiff
authorharlekin <harlekin>2002-10-24 12:01:14 (UTC)
committer harlekin <harlekin>2002-10-24 12:01:14 (UTC)
commit41c59e994e023f5c236502538f54d0f3fce8435a (patch) (side-by-side diff)
treeb49bda3a92fd74e3da8e2fcf2a1121e2e743fc0a
parent667da4143ff65ac9502d55fb09ca8223b16a8994 (diff)
downloadopie-41c59e994e023f5c236502538f54d0f3fce8435a.zip
opie-41c59e994e023f5c236502538f54d0f3fce8435a.tar.gz
opie-41c59e994e023f5c236502538f54d0f3fce8435a.tar.bz2
set VT102 as default terminal type and set medium font size as default font size
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/terminalwidget.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/apps/opie-console/terminalwidget.cpp b/noncore/apps/opie-console/terminalwidget.cpp
index eae94c3..fc0f3ce 100644
--- a/noncore/apps/opie-console/terminalwidget.cpp
+++ b/noncore/apps/opie-console/terminalwidget.cpp
@@ -122,24 +122,25 @@ void TerminalWidget::load( const Profile& prof ) {
m_terminalBox->setCurrentItem(id_term_vt100 );
break;
case Profile::VT102:
m_terminalBox->setCurrentItem(id_term_vt102 );
break;
case Profile::Linux:
m_terminalBox->setCurrentItem(id_term_linux );
break;
case Profile::XTerm:
m_terminalBox->setCurrentItem(id_term_xterm );
break;
default:
+ m_terminalBox->setCurrentItem(id_term_vt102 );
break;
};
switch( color ) {
case Profile::Black:
m_colorCmb->setCurrentItem(id_term_black );
break;
case Profile::White:
m_colorCmb->setCurrentItem(id_term_white );
break;
case Profile::Green:
m_colorCmb->setCurrentItem(id_term_green );
@@ -152,26 +153,26 @@ void TerminalWidget::load( const Profile& prof ) {
};
switch( fontsize ) {
case Profile::Micro:
m_sizeSmall->setChecked(true );
break;
case Profile::Small:
m_sizeMedium->setChecked(true );
break;
case Profile::Medium:
m_sizeLarge->setChecked( true );
break;
- m_sizeSmall->setChecked(true);
default:
+ m_sizeMedium->setChecked(true );
break;
};
if (opt_echo) m_optionEcho->setChecked( true );
if (opt_wrap) m_optionWrap->setChecked( true );
if (opt_inbound) m_convInbound->setChecked( true );
if (opt_outbound) m_convOutbound->setChecked( true );
}
void TerminalWidget::save( Profile& profile ) {
switch(m_terminalBox->currentItem() ) {
case id_term_vt100: