summaryrefslogtreecommitdiff
path: root/packages/opie-wellenreiter
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2005-09-16 20:35:48 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-09-16 20:35:48 +0000
commit20f18caf065a7eb53f6791843d3a7940d65abbd0 (patch)
tree8f04bbf658b30addffef46d4bd00d6045a613b23 /packages/opie-wellenreiter
parent671817fd31321135ac75533882d36ee2b3263913 (diff)
opie-wellenreiter: backported fontfix from OPIE CVS
- packetview had font hardcoded to Fixed/8 - nearly unreadable on VGA screen
Diffstat (limited to 'packages/opie-wellenreiter')
-rw-r--r--packages/opie-wellenreiter/files/.mtn2git_empty0
-rw-r--r--packages/opie-wellenreiter/files/0916_wellenreiter-fontfix.patch43
-rw-r--r--packages/opie-wellenreiter/opie-wellenreiter_1.2.1.bb4
3 files changed, 46 insertions, 1 deletions
diff --git a/packages/opie-wellenreiter/files/.mtn2git_empty b/packages/opie-wellenreiter/files/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/opie-wellenreiter/files/.mtn2git_empty
diff --git a/packages/opie-wellenreiter/files/0916_wellenreiter-fontfix.patch b/packages/opie-wellenreiter/files/0916_wellenreiter-fontfix.patch
new file mode 100644
index 0000000000..b85d46cb08
--- /dev/null
+++ b/packages/opie-wellenreiter/files/0916_wellenreiter-fontfix.patch
@@ -0,0 +1,43 @@
+
+This patch is backport from OPIE CVS.
+Submitted upstream by Marcin Juszkiewicz <openembedded@hrw.one.pl>
+Date: 2005-09-16
+
+Index: packetview.cpp
+===================================================================
+RCS file: /cvs/opie/noncore/net/wellenreiter/gui/packetview.cpp,v
+retrieving revision 1.9
+diff -u -r1.9 packetview.cpp
+--- wellenreiter/gui/packetview.cpp 24 Aug 2004 11:53:44 -0000 1.9
++++ wellenreiter/gui/packetview.cpp 16 Sep 2005 17:41:03 -0000
+@@ -20,6 +20,7 @@
+ #include <opie2/odebug.h>
+ #include <opie2/olistview.h>
+ #include <opie2/oapplication.h>
++#include <qpe/config.h>
+
+ /* QT */
+ #include <qfont.h>
+@@ -38,6 +39,9 @@
+ PacketView::PacketView( QWidget * parent, const char * name, WFlags f )
+ :QFrame( parent, name, f )
+ {
++ Config c( "qpe" );
++ c.setGroup( "Appearance" );
++
+ _number = new QSpinBox( this );
+ _number->setPrefix( "Pkt# " );
+ _label = new QLabel( this );
+@@ -47,11 +51,10 @@
+ _list->setColumnAlignment( 0, Qt::AlignCenter );
+ _list->setColumnAlignment( 1, Qt::AlignLeft );
+ _list->setAllColumnsShowFocus( true );
+- _list->setFont( QFont( "Fixed", 8 ) );
+
+ _hex = new QTextView( this );
+ _hex->setMargin( 0 );
+- _hex->setFont( QFont( "Fixed", 8 ) );
++ _hex->setFont( QFont( c.readEntry( "FixedFontFamily", "Fixed" ), c.readNumEntry( "FixedFontSize", 8 ) ) );
+
+ QVBoxLayout* vb = new QVBoxLayout( this, 2, 2 );
+ QHBoxLayout* hb = new QHBoxLayout( vb, 2 );
diff --git a/packages/opie-wellenreiter/opie-wellenreiter_1.2.1.bb b/packages/opie-wellenreiter/opie-wellenreiter_1.2.1.bb
index b2e3975f7a..7dc43ad8d6 100644
--- a/packages/opie-wellenreiter/opie-wellenreiter_1.2.1.bb
+++ b/packages/opie-wellenreiter/opie-wellenreiter_1.2.1.bb
@@ -1,6 +1,8 @@
include ${PN}.inc
+PR = "r1"
SRC_URI = "${HANDHELDS_CVS};tag=${TAG};module=opie/noncore/net/wellenreiter \
${HANDHELDS_CVS};tag=${TAG};module=opie/pics \
- ${HANDHELDS_CVS};tag=${TAG};module=opie/apps"
+ ${HANDHELDS_CVS};tag=${TAG};module=opie/apps \
+ file://0916_wellenreiter-fontfix.patch;patch=1"