-rw-r--r-- | core/apps/embeddedkonsole/konsole.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/apps/embeddedkonsole/konsole.cpp b/core/apps/embeddedkonsole/konsole.cpp index 7812e4c..b8f009d 100644 --- a/core/apps/embeddedkonsole/konsole.cpp +++ b/core/apps/embeddedkonsole/konsole.cpp | |||
@@ -631,48 +631,48 @@ void Konsole::init(const char* _pgm, QStrList & _args) | |||
631 | secondToolBar = new QToolBar( this ); | 631 | secondToolBar = new QToolBar( this ); |
632 | secondToolBar->setHorizontalStretchable( TRUE ); | 632 | secondToolBar->setHorizontalStretchable( TRUE ); |
633 | 633 | ||
634 | commonCombo = new QComboBox( secondToolBar ); | 634 | commonCombo = new QComboBox( secondToolBar ); |
635 | // commonCombo->setMaximumWidth(236); | 635 | // commonCombo->setMaximumWidth(236); |
636 | 636 | ||
637 | ec_quick = editCommandListMenu->insertItem( tr( "Quick Edit" ) ); | 637 | ec_quick = editCommandListMenu->insertItem( tr( "Quick Edit" ) ); |
638 | if( listHidden) | 638 | if( listHidden) |
639 | { | 639 | { |
640 | secondToolBar->hide(); | 640 | secondToolBar->hide(); |
641 | editCommandListMenu->setItemEnabled(ec_quick ,FALSE); | 641 | editCommandListMenu->setItemEnabled(ec_quick ,FALSE); |
642 | } | 642 | } |
643 | ec_edit = editCommandListMenu->insertItem(tr( "Edit" ) ); | 643 | ec_edit = editCommandListMenu->insertItem(tr( "Edit..." ) ); |
644 | 644 | ||
645 | cfg.setGroup("Commands"); | 645 | cfg.setGroup("Commands"); |
646 | commonCombo->setInsertionPolicy(QComboBox::AtCurrent); | 646 | commonCombo->setInsertionPolicy(QComboBox::AtCurrent); |
647 | 647 | ||
648 | initCommandList(); | 648 | initCommandList(); |
649 | // for (int i = 0; commonCmds[i] != NULL; i++) { | 649 | // for (int i = 0; commonCmds[i] != NULL; i++) { |
650 | // commonCombo->insertItem( commonCmds[i], i ); | 650 | // commonCombo->insertItem( commonCmds[i], i ); |
651 | // tmp = cfg.readEntry( QString::number(i),""); | 651 | // tmp = cfg.readEntry( QString::number(i),""); |
652 | // if(tmp != "") | 652 | // if(tmp != "") |
653 | // commonCombo->changeItem( tmp,i ); | 653 | // commonCombo->changeItem( tmp,i ); |
654 | // } | 654 | // } |
655 | 655 | ||
656 | connect( commonCombo, SIGNAL( activated(int) ), this, SLOT( enterCommand(int) )); | 656 | connect( commonCombo, SIGNAL( activated(int) ), this, SLOT( enterCommand(int) )); |
657 | 657 | ||
658 | sm_none = scrollMenu->insertItem(tr( "None" )); | 658 | sm_none = scrollMenu->insertItem(tr( "None" )); |
659 | sm_left = scrollMenu->insertItem(tr( "Left" )); | 659 | sm_left = scrollMenu->insertItem(tr( "Left" )); |
660 | sm_right = scrollMenu->insertItem(tr( "Right" )); | 660 | sm_right = scrollMenu->insertItem(tr( "Right" )); |
661 | // scrollMenu->insertSeparator(4); | 661 | // scrollMenu->insertSeparator(4); |
662 | // scrollMenu->insertItem(tr( "Horizontal" )); | 662 | // scrollMenu->insertItem(tr( "Horizontal" )); |
663 | 663 | ||
664 | configMenu->insertItem(tr( "ScrollBar" ),scrollMenu); | 664 | configMenu->insertItem(tr( "ScrollBar" ),scrollMenu); |
665 | 665 | ||
666 | configMenu->insertItem(tr( "History" ), this, SLOT(historyDialog())); | 666 | configMenu->insertItem(tr( "History..." ), this, SLOT(historyDialog())); |
667 | 667 | ||
668 | cm_wrap = configMenu->insertItem(tr( "Wrap" )); | 668 | cm_wrap = configMenu->insertItem(tr( "Wrap" )); |
669 | cfg.setGroup("ScrollBar"); | 669 | cfg.setGroup("ScrollBar"); |
670 | configMenu->setItemChecked(cm_wrap, cfg.readBoolEntry("HorzScroll",0)); | 670 | configMenu->setItemChecked(cm_wrap, cfg.readBoolEntry("HorzScroll",0)); |
671 | 671 | ||
672 | cm_beep = configMenu->insertItem(tr( "Use Beep" )); | 672 | cm_beep = configMenu->insertItem(tr( "Use Beep" )); |
673 | cfg.setGroup("Menubar"); | 673 | cfg.setGroup("Menubar"); |
674 | configMenu->setItemChecked(cm_beep, cfg.readBoolEntry("useBeep",0)); | 674 | configMenu->setItemChecked(cm_beep, cfg.readBoolEntry("useBeep",0)); |
675 | 675 | ||
676 | fullscreen_msg = new QLabel(this); | 676 | fullscreen_msg = new QLabel(this); |
677 | fullscreen_msg-> setAlignment ( AlignCenter | SingleLine ); | 677 | fullscreen_msg-> setAlignment ( AlignCenter | SingleLine ); |
678 | fullscreen_msg-> hide(); | 678 | fullscreen_msg-> hide(); |