[Kst] extragear/graphics/kst/src/extensions/js

Barth Netterfield netterfield at astro.utoronto.ca
Sat Mar 31 00:37:28 CEST 2007


SVN commit 648294 by netterfield:

BUG: 143233

Make consistent w/ konqueror/kmail and with tools menue.



 M  +0 -3      js.cpp  


--- trunk/extragear/graphics/kst/src/extensions/js/js.cpp #648293:648294
@@ -232,7 +232,6 @@
 
 void KstJS::showConsole() {
 #ifdef KST_HAVE_READLINE
-  _showAction->setText(i18n("Hide &JavaScript Console"));
   if (!_konsolePart) {
     strcpy(shellStr, "SHELL=kstcmd");
     putenv(shellStr);
@@ -266,7 +265,6 @@
 void KstJS::shellExited() {
 #ifdef KST_HAVE_READLINE
   _showAction->setChecked(false);
-  _showAction->setText(i18n("Show &JavaScript Console"));
   _konsolePart = 0L;
   QTimer::singleShot(0, this, SLOT(restoreUI())); // konsole crashes otherwise
 #endif
@@ -285,7 +283,6 @@
 
 void KstJS::hideConsole() {
 #ifdef KST_HAVE_READLINE
-  _showAction->setText(i18n("Show &JavaScript Console"));
   if (_konsolePart) {
     _konsolePart->widget()->hide();
   }


More information about the Kst mailing list