seoz pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=773f25b9f109507067ae69c717a93228ee475f5d

commit 773f25b9f109507067ae69c717a93228ee475f5d
Author: Youngbok Shin <[email protected]>
Date:   Tue May 13 15:50:05 2014 +0900

    entry: Fix a test case for editable, non-editable entry.
    
    Summary:
    elm_entry_context_menu_disabled_set API is called to wrong entry.
    It should be called to "en2" that added for testing the API.
    @fix
    
    Test Plan: 1. elementary -to entry7
    
    Reviewers: woohyun, seoz, tasn
    
    Reviewed By: seoz
    
    CC: herdsman
    
    Differential Revision: https://phab.enlightenment.org/D852
---
 src/bin/test_entry.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/test_entry.c b/src/bin/test_entry.c
index 7f7ea00..9f08ed4 100644
--- a/src/bin/test_entry.c
+++ b/src/bin/test_entry.c
@@ -2190,7 +2190,7 @@ test_entry7(void *data EINA_UNUSED, Evas_Object *obj 
EINA_UNUSED, void *event_in
                        "<item size=50x50 vsize=full href=itemprovider></item>"
                       );
    elm_entry_item_provider_append(en2, item_provider, NULL);
-   elm_entry_context_menu_disabled_set(en, EINA_TRUE);
+   elm_entry_context_menu_disabled_set(en2, EINA_TRUE);
    elm_grid_pack(gd, en2, 10, 50, 45, 30);
    evas_object_show(en2);
 

-- 


Reply via email to