summaryrefslogtreecommitdiff
path: root/noncore
Side-by-side diff
Diffstat (limited to 'noncore') (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/opie-console/mainwindow.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/noncore/apps/opie-console/mainwindow.cpp b/noncore/apps/opie-console/mainwindow.cpp
index a0622d4..291912c 100644
--- a/noncore/apps/opie-console/mainwindow.cpp
+++ b/noncore/apps/opie-console/mainwindow.cpp
@@ -30,4 +30,8 @@ using namespace Opie::Ui;
#include <assert.h>
+#ifdef EAST
+#include <opie2/oconfig.h>
+#endif
+
MainWindow::MainWindow(QWidget *parent, const char *name, WFlags) : QMainWindow(parent, name, WStyle_ContextHelp) {
@@ -206,4 +210,6 @@ void MainWindow::initUI() {
+
+
/*
* action that open/closes the keyboard
@@ -223,5 +229,11 @@ void MainWindow::initUI() {
/* the scripts menu */
+ #ifdef EAST
+ OConfig cfg("opie-console");
+ cfg.setGroup("10east");
+ if( !cfg.readEntry("scripthide",0) ) {
m_bar->insertItem( tr("Scripts"), m_scripts );
+ }
+ #endif
/* and the keyboard */