summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/apps/embeddedkonsole/konsole.cpp12
1 files changed, 9 insertions, 3 deletions
diff --git a/core/apps/embeddedkonsole/konsole.cpp b/core/apps/embeddedkonsole/konsole.cpp
index e2d4886..23c12f8 100644
--- a/core/apps/embeddedkonsole/konsole.cpp
+++ b/core/apps/embeddedkonsole/konsole.cpp
@@ -260,4 +260,5 @@ void Konsole::init(const char* _pgm, QStrList & _args)
260 colorMenu->insertItem("White on Cyan"); 260 colorMenu->insertItem("White on Cyan");
261 colorMenu->insertItem("Blue on Black"); 261 colorMenu->insertItem("Blue on Black");
262 colorMenu->insertItem("Amber on Black");
262 configMenu->insertItem("Colors",colorMenu); 263 configMenu->insertItem("Colors",colorMenu);
263 264
@@ -675,4 +676,10 @@ void Konsole::colorMenuSelected(int iD)
675 colorMenu->setItemChecked(-16,TRUE); 676 colorMenu->setItemChecked(-16,TRUE);
676 } 677 }
678 if(iD==-17) {// Black, Gold
679 background.setRgb(0x00,0x00,0x00);
680 foreground.setRgb(255,215,0);
681 cfg.writeEntry("Schema","17");
682 colorMenu->setItemChecked(-17,TRUE);
683 }
677 684
678 for (i = 0; i < TABLE_COLORS; i++) { 685 for (i = 0; i < TABLE_COLORS; i++) {
@@ -769,5 +776,4 @@ void Konsole::setColor()
769 int scheme = cfg.readNumEntry("Schema",1); 776 int scheme = cfg.readNumEntry("Schema",1);
770 if(scheme != 1) colorMenuSelected( -scheme); 777 if(scheme != 1) colorMenuSelected( -scheme);
771
772} 778}
773 779
@@ -775,6 +781,6 @@ void Konsole::scrollMenuSelected(int index)
775{ 781{
776 TEWidget* te = getTe(); 782 TEWidget* te = getTe();
777Config cfg("Konsole"); 783 Config cfg("Konsole");
778 cfg.setGroup("Scrollbar"); 784 cfg.setGroup("Scrollbar");
779 switch( index){ 785 switch( index){
780 case -21: 786 case -21: