libopie: Poodle: Fix Calendar and Address hotkeys for kernel 2.6
authorMatthias Hentges <oe@hentges.net>
Tue, 16 May 2006 12:09:34 +0000 (12:09 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Tue, 16 May 2006 12:09:34 +0000 (12:09 +0000)
packages/libopie/libopie2/poodle-2.6-hotkeys.patch [new file with mode: 0644]
packages/libopie/libopie2_1.2.1.bb
packages/libopie/libopie2_cvs.bb

diff --git a/packages/libopie/libopie2/poodle-2.6-hotkeys.patch b/packages/libopie/libopie2/poodle-2.6-hotkeys.patch
new file mode 100644 (file)
index 0000000..748f316
--- /dev/null
@@ -0,0 +1,16 @@
+--- libopie2/opiecore/device/odevice_zaurus.cpp.orig   2006-05-16 13:53:40.190417936 +0200
++++ libopie2/opiecore/device/odevice_zaurus.cpp        2006-05-16 13:53:56.606922248 +0200
+@@ -61,11 +61,11 @@
+ using namespace Opie::Core::Internal;
+ struct z_button z_buttons [] = {
+-    { Qt::Key_F9, QT_TRANSLATE_NOOP("Button", "Calendar Button"),
++    { Qt::Key_Control, QT_TRANSLATE_NOOP("Button", "Calendar Button"),
+     "devicebuttons/z_calendar",
+     "datebook", "nextView()",
+     "today", "raise()" },
+-    { Qt::Key_F10, QT_TRANSLATE_NOOP("Button", "Contacts Button"),
++    { Qt::Key_Alt, QT_TRANSLATE_NOOP("Button", "Contacts Button"),
+     "devicebuttons/z_contact",
+     "addressbook", "raise()",
+     "addressbook", "beamBusinessCard()" },
index dbda153..7037f48 100644 (file)
@@ -1,7 +1,9 @@
 include ${PN}.inc
 
-PR = "r1"
+PR = "r2"
 
 SRC_URI = "${HANDHELDS_CVS};tag=${TAG};module=opie/libopie2 \
           file://openzaurus-branding.patch;patch=1 \
            file://include.pro"
+          
+SRC_URI_append_poodle = " file://poodle-2.6-hotkeys.patch;patch=1"
index 8d5ff74..a7c7e10 100644 (file)
@@ -4,3 +4,5 @@ PV = "${OPIE_CVS_PV}"
 
 SRC_URI = "${HANDHELDS_CVS};module=opie/libopie2 \
            file://include.pro"
+
+SRC_URI_append_poodle = " file://poodle-2.6-hotkeys.patch;patch=1"