summaryrefslogtreecommitdiff
path: root/packages/opie-console/opie-console-1.2.1
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2005-10-18 14:04:01 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-10-18 14:04:01 +0000
commitfd8300f5611cd8c925204c4392ac9ef8c3562166 (patch)
tree52263c6c5aaf479afd52a04c062a6a7c6fee0584 /packages/opie-console/opie-console-1.2.1
parent32e7cd7bb8fc3b2d14abdc8b19beb84df45a015b (diff)
opie-console 1.2.1: CVS backported patch for OPIE bug #1647
- Opie-console doesn't respect scroll-bar on left side.
Diffstat (limited to 'packages/opie-console/opie-console-1.2.1')
-rw-r--r--packages/opie-console/opie-console-1.2.1/1647-bugfix.patch40
1 files changed, 40 insertions, 0 deletions
diff --git a/packages/opie-console/opie-console-1.2.1/1647-bugfix.patch b/packages/opie-console/opie-console-1.2.1/1647-bugfix.patch
new file mode 100644
index 0000000000..c4603333cf
--- /dev/null
+++ b/packages/opie-console/opie-console-1.2.1/1647-bugfix.patch
@@ -0,0 +1,40 @@
+Index: opie-console/TEWidget.cpp
+===================================================================
+RCS file: /cvs/opie/noncore/apps/opie-console/TEWidget.cpp,v
+retrieving revision 1.13
+retrieving revision 1.14
+diff -u -u -r1.13 -r1.14
+--- opie-console/TEWidget.cpp 21 Jan 2005 19:56:17 -0000 1.13
++++ opie-console/TEWidget.cpp 18 Oct 2005 13:56:12 -0000 1.14
+@@ -320,16 +320,21 @@
+
+ Config cfg("Konsole");
+ cfg.setGroup("ScrollBar");
+- switch( cfg.readNumEntry("Position",2)){
+- case 0:
+- scrollLoc = SCRNONE;
+- break;
+- case 1:
+- scrollLoc = SCRLEFT;
+- break;
+- case 2:
+- scrollLoc = SCRRIGHT;
+- break;
++
++ scrollLoc = cfg.readNumEntry("Position", -1);
++
++ // bugfix for #1647
++ // if user set 'show scrollbar on left' then let it be on left
++ // but only if it is not set in opie-console itself
++ if(scrollLoc == -1)
++ {
++ Config qpecfg ("qpe");
++ qpecfg.setGroup("Appearance");
++ scrollLoc = qpecfg.readNumEntry("LeftHand", SCRRIGHT);
++ if(scrollLoc == 0) // user set LeftHand in past and switched it off later
++ {
++ scrollLoc = SCRRIGHT;
++ }
+ };
+
+ blinkT = new QTimer(this);