Patchwork [meta-oe,meta-efl,4/7] e-tasks: add patch to fix changed callback name

login
register
mail settings
Submitter Martin Jansa
Date Dec. 20, 2011, 2:01 p.m.
Message ID <b412e289402f902e39e0895d71d04acb16b2dfe7.1324389403.git.Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/17313/
State Accepted
Commit b412e289402f902e39e0895d71d04acb16b2dfe7
Headers show

Comments

Martin Jansa - Dec. 20, 2011, 2:01 p.m.
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 .../e-tasks/0001-fix-changed-callback-name.patch   |   40 ++++++++++++++++++++
 meta-efl/recipes-efl/e17/e-tasks_svn.bb            |    5 +-
 2 files changed, 43 insertions(+), 2 deletions(-)
 create mode 100644 meta-efl/recipes-efl/e17/e-tasks/0001-fix-changed-callback-name.patch

Patch

diff --git a/meta-efl/recipes-efl/e17/e-tasks/0001-fix-changed-callback-name.patch b/meta-efl/recipes-efl/e17/e-tasks/0001-fix-changed-callback-name.patch
new file mode 100644
index 0000000..cf51deb
--- /dev/null
+++ b/meta-efl/recipes-efl/e17/e-tasks/0001-fix-changed-callback-name.patch
@@ -0,0 +1,40 @@ 
+From d6d24a1776594e71ee66db78cc234f38f97f6825 Mon Sep 17 00:00:00 2001
+From: Martin Jansa <Martin.Jansa@gmail.com>
+Date: Sat, 17 Dec 2011 03:12:29 +0100
+Subject: [PATCH] fix changed callback name
+
+Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
+---
+ src/gui.c  |    2 +-
+ src/main.c |    2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/gui.c b/src/gui.c
+index 5c8003c..b032ee5 100644
+--- a/src/gui.c
++++ b/src/gui.c
+@@ -1230,7 +1230,7 @@ void edit_cat(void)
+ 
+ 	cat_win = elm_win_add(NULL, "cat", ELM_WIN_BASIC);
+ 	elm_win_title_set(cat_win, "Edit Categories");
+-	evas_object_smart_callback_add(cat_win, "delete-request", cat_win_del, cat_win);
++	evas_object_smart_callback_add(cat_win, "delete,request", cat_win_del, cat_win);
+ 	
+ 	//add background
+ 	bg = elm_bg_add(cat_win);
+diff --git a/src/main.c b/src/main.c
+index 12072f5..116b84c 100644
+--- a/src/main.c
++++ b/src/main.c
+@@ -64,7 +64,7 @@ elm_main(int argc, char **argv)
+ 	//set up win
+ 	win = elm_win_add(NULL, "tasks", ELM_WIN_BASIC);
+ 	elm_win_title_set(win, "Tasks");
+-	evas_object_smart_callback_add(win, "delete-request", my_win_del, NULL);
++	evas_object_smart_callback_add(win, "delete,request", my_win_del, NULL);
+ 
+ 	//open database 
+ 	open_database();
+-- 
+1.7.8
+
diff --git a/meta-efl/recipes-efl/e17/e-tasks_svn.bb b/meta-efl/recipes-efl/e17/e-tasks_svn.bb
index b07959b..f4a25f8 100644
--- a/meta-efl/recipes-efl/e17/e-tasks_svn.bb
+++ b/meta-efl/recipes-efl/e17/e-tasks_svn.bb
@@ -10,12 +10,13 @@  inherit autotools
 
 SRCREV = "25"
 PV = "0.0.1+svnr${SRCPV}"
-PR = "r10"
+PR = "r11"
 
 SRC_URI = "svn://e-tasks.googlecode.com/svn;module=trunk;proto=http \
            file://genlist_item_insert_before.api.patch \
            file://0001-adapt-to-newer-elm-API.patch \
-           file://depends.eina.patch"
+           file://depends.eina.patch \
+           file://0001-fix-changed-callback-name.patch"
 S = "${WORKDIR}/trunk"
 
 do_install_append() {