summaryrefslogtreecommitdiff
authorharlekin <harlekin>2002-08-25 14:46:55 (UTC)
committer harlekin <harlekin>2002-08-25 14:46:55 (UTC)
commit7a1c29bbf057967b1616265f384db5d12a94149f (patch) (side-by-side diff)
tree49098b2cfbb63f5123f5df4338fc4e846bab5bca
parenta7e92f1571bb593fbd2ffafbb6ca9d3499448e2e (diff)
downloadopie-7a1c29bbf057967b1616265f384db5d12a94149f.zip
opie-7a1c29bbf057967b1616265f384db5d12a94149f.tar.gz
opie-7a1c29bbf057967b1616265f384db5d12a94149f.tar.bz2
tr change by carsten
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/apps/embeddedkonsole/konsole.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/apps/embeddedkonsole/konsole.cpp b/core/apps/embeddedkonsole/konsole.cpp
index f3792e4..a8ddc99 100644
--- a/core/apps/embeddedkonsole/konsole.cpp
+++ b/core/apps/embeddedkonsole/konsole.cpp
@@ -251,17 +251,17 @@ void Konsole::init(const char* _pgm, QStrList & _args)
}
fontChanged(cfont);
configMenu = new QPopupMenu( this);
colorMenu = new QPopupMenu( this);
scrollMenu = new QPopupMenu( this);
editCommandListMenu = new QPopupMenu( this);
- configMenu->insertItem("Command List",editCommandListMenu);
+ configMenu->insertItem(tr("Command List"), editCommandListMenu);
bool listHidden;
cfg.setGroup("Menubar");
if( cfg.readEntry("Hidden","FALSE") == "TRUE") {
editCommandListMenu->insertItem( tr( "Show command list" ));
listHidden=TRUE;
} else {
editCommandListMenu->insertItem( tr( "Hide command list" ));
@@ -616,17 +616,17 @@ void Konsole::switchSession(QWidget* w) {
if (cf) {
cfont = i;
}
}
}
void Konsole::colorMenuIsSelected(int iD) {
fromMenu = TRUE;
- colorMenuSelected(iD);
+ colorMenuSelected(iD);
}
/// ------------------------------- some new stuff by L.J. Potter
void Konsole::colorMenuSelected(int iD)
{ // this is NOT pretty, elegant or anything else besides functional
// QString temp;
// qDebug( temp.sprintf("colormenu %d", iD));
TEWidget* te = getTe();
@@ -748,17 +748,17 @@ void Konsole::colorMenuSelected(int iD)
}
else
m_table[i].color = defaultCt[i].color;
}
}
lastSelectedMenu = iD;
te->setColorTable(m_table);
update();
-
+
}
void Konsole::configMenuSelected(int iD)
{
// QString temp;
// qDebug( temp.sprintf("configmenu %d",iD));
TEWidget* te = getTe();
Config cfg("Konsole");
@@ -924,17 +924,17 @@ void Konsole::changeForegroundColor(const QColor &color) {
cfg.writeEntry("foreground",color.name());
cfg.write();
qDebug("do other dialog");
ColorPopupMenu* penColorPopupMenu2 = new ColorPopupMenu(Qt::black, this,"background color");
connect(penColorPopupMenu2, SIGNAL(colorSelected(const QColor&)), this,
SLOT(changeBackgroundColor(const QColor&)));
penColorPopupMenu2->exec();
-
+
}
void Konsole::changeBackgroundColor(const QColor &color) {
qDebug("Change background");
Config cfg("Konsole");
cfg.setGroup("Colors");
int r, g, b;