summaryrefslogtreecommitdiff
authorharlekin <harlekin>2002-06-11 15:09:39 (UTC)
committer harlekin <harlekin>2002-06-11 15:09:39 (UTC)
commitee1b955759e12b91a2caf7dfb219a372dadfe65b (patch) (side-by-side diff)
tree877b6b5e585f92052ac7f376703d4b1c3cc4489c
parentb4c905a143583bb3922d948961d6ce277fda6df4 (diff)
downloadopie-ee1b955759e12b91a2caf7dfb219a372dadfe65b.zip
opie-ee1b955759e12b91a2caf7dfb219a372dadfe65b.tar.gz
opie-ee1b955759e12b91a2caf7dfb219a372dadfe65b.tar.bz2
now console remembers scrollbar setting on restart
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/apps/embeddedkonsole/konsole.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/core/apps/embeddedkonsole/konsole.cpp b/core/apps/embeddedkonsole/konsole.cpp
index 3f6e0b4..b0d28fc 100644
--- a/core/apps/embeddedkonsole/konsole.cpp
+++ b/core/apps/embeddedkonsole/konsole.cpp
@@ -251,8 +251,8 @@ void Konsole::init(const char* _pgm, QStrList & _args)
colorMenu = new QPopupMenu( this);
scrollMenu = new QPopupMenu( this);
- editCommandListMenu = new QPopupMenu( this);
-
+ editCommandListMenu = new QPopupMenu( this);
+
configMenu->insertItem("Command List",editCommandListMenu);
-
+
bool listHidden;
cfg.setGroup("Menubar");
@@ -340,5 +340,5 @@ void Konsole::init(const char* _pgm, QStrList & _args)
cfg.setGroup("Commands");
commonCombo->setInsertionPolicy(QComboBox::AtCurrent);
-
+
initCommandList();
// for (int i = 0; commonCmds[i] != NULL; i++) {
@@ -355,5 +355,5 @@ void Konsole::init(const char* _pgm, QStrList & _args)
scrollMenu->insertItem(tr( "Right" ));
configMenu->insertItem(tr( "ScrollBar" ),scrollMenu);
-
+
// create applications /////////////////////////////////////////////////////
setCentralWidget(tab);
@@ -778,5 +778,5 @@ void Konsole::scrollMenuSelected(int index)
TEWidget* te = getTe();
Config cfg("Konsole");
- cfg.setGroup("Scrollbar");
+ cfg.setGroup("ScrollBar");
switch( index){
case -24:
@@ -793,5 +793,5 @@ void Konsole::scrollMenuSelected(int index)
break;
};
-
+
}