author | llornkcor <llornkcor> | 2002-12-08 13:39:34 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-12-08 13:39:34 (UTC) |
commit | 76fda4ee71e83d46f31a77b6d433cefdf24b3e73 (patch) (side-by-side diff) | |
tree | 7f42eaa5b101bd1433ba39d926c41e9ff1fd1a97 /core/apps/embeddedkonsole/konsole.cpp | |
parent | a88b210e6895614027c821bb5cedabc9b06117d3 (diff) | |
download | opie-76fda4ee71e83d46f31a77b6d433cefdf24b3e73.zip opie-76fda4ee71e83d46f31a77b6d433cefdf24b3e73.tar.gz opie-76fda4ee71e83d46f31a77b6d433cefdf24b3e73.tar.bz2 |
moved font menu to options due to wrapping of the toolbar when using languages other than english that tend to have many characters in words :)
Diffstat (limited to 'core/apps/embeddedkonsole/konsole.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/apps/embeddedkonsole/konsole.cpp | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/core/apps/embeddedkonsole/konsole.cpp b/core/apps/embeddedkonsole/konsole.cpp index 275a9a8..eda3135 100644 --- a/core/apps/embeddedkonsole/konsole.cpp +++ b/core/apps/embeddedkonsole/konsole.cpp @@ -301,4 +301,5 @@ void Konsole::init(const char* _pgm, QStrList & _args) #endif + configMenu->insertItem( tr("Font"), fontList ); configMenu->insertItem(tr( "Colors") ,colorMenu); @@ -308,5 +309,5 @@ void Konsole::init(const char* _pgm, QStrList & _args) connect( scrollMenu, SIGNAL(activated(int)),this,SLOT(scrollMenuSelected(int))); connect(editCommandListMenu,SIGNAL(activated(int)),this,SLOT(editCommandListMenuSelected(int))); - menuBar->insertItem( tr("Font"), fontList ); + menuBar->insertItem( tr("Options"), configMenu ); @@ -667,7 +668,8 @@ void Konsole::colorMenuIsSelected(int iD) { 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(); +// QString temp; +// qDebug( temp.sprintf("colormenu %d", iD)); + + TEWidget* te = getTe(); Config cfg("Konsole"); cfg.setGroup("Colors"); @@ -800,7 +802,8 @@ void Konsole::colorMenuSelected(int iD) void Konsole::configMenuSelected(int iD) { -// QString temp; -// qDebug( temp.sprintf("configmenu %d",iD)); - TEWidget* te = getTe(); +// QString temp; +// qDebug( temp.sprintf("configmenu %d",iD)); + + TEWidget* te = getTe(); Config cfg("Konsole"); cfg.setGroup("Menubar"); @@ -872,5 +875,6 @@ void Konsole::setColor() void Konsole::scrollMenuSelected(int index) { - qDebug( "scrollbar menu %d",index); +// qDebug( "scrollbar menu %d",index); + TEWidget* te = getTe(); Config cfg("Konsole"); |