summaryrefslogtreecommitdiff
path: root/packages/opie-console/opie-console-1.2.1
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2006-01-17 10:11:42 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-01-17 10:11:42 +0000
commitc8508a346bd0d33126fef88406bab42320514abd (patch)
tree0ce99de5488c85ed425dcb330c8df5fc761d47db /packages/opie-console/opie-console-1.2.1
parent47252fc24cbfd80630f5a768bd5ac960b47daace (diff)
opie-console: yet another CVS backport
- fallback in configuration to fixed font from qpe.conf
Diffstat (limited to 'packages/opie-console/opie-console-1.2.1')
-rw-r--r--packages/opie-console/opie-console-1.2.1/0117_opie-console-use-default-fixed.diff25
1 files changed, 25 insertions, 0 deletions
diff --git a/packages/opie-console/opie-console-1.2.1/0117_opie-console-use-default-fixed.diff b/packages/opie-console/opie-console-1.2.1/0117_opie-console-use-default-fixed.diff
new file mode 100644
index 0000000000..e871e8e1e4
--- /dev/null
+++ b/packages/opie-console/opie-console-1.2.1/0117_opie-console-use-default-fixed.diff
@@ -0,0 +1,25 @@
+Index: terminalwidget.cpp
+===================================================================
+RCS file: /cvs/opie/noncore/apps/opie-console/terminalwidget.cpp,v
+retrieving revision 1.12
+diff -u -u -r1.12 terminalwidget.cpp
+--- opie-console/terminalwidget.cpp 16 Oct 2004 21:06:28 -0000 1.12
++++ opie-console/terminalwidget.cpp 17 Jan 2006 10:00:13 -0000
+@@ -1,4 +1,5 @@
+ #include "terminalwidget.h"
++#include <qpe/config.h>
+
+ /* QT */
+ #include <qlabel.h>
+@@ -151,8 +152,10 @@
+ break;
+ };
+
++ Config qpecfg("qpe");
++ qpecfg.setGroup("Appearance");
+
+- m_fontSelector->setSelectedFont( prof.readEntry( "Font"), prof.readEntry( "FontStyle"), prof.readNumEntry( "FontSize" ), prof.readEntry( "FontCharset") );
++ m_fontSelector->setSelectedFont( prof.readEntry( "Font", qpecfg.readEntry("FixedFontFamily")), prof.readEntry( "FontStyle", qpecfg.readEntry("FixedFontStyle")), prof.readNumEntry( "FontSize" , qpecfg.readNumEntry("FixedFontStyle")), prof.readEntry( "FontCharset") );
+
+ // switch( fontsize ) {
+ // case Profile::Micro: