Enlightenment CVS committal

Author  : moom
Project : e17
Module  : proto

Dir     : e17/proto/exhibit/src/bin


Modified Files:
        exhibit_main.c 


Log Message:
* This prevent the focus from being passed to the next widget when the 
"Tab" key is pressed when doing autocompletion in the entry.
But since etk_signal_stop() is buggy, this doesn't work yet (need to 
fix Etk)


===================================================================
RCS file: /cvs/e/e17/proto/exhibit/src/bin/exhibit_main.c,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -3 -r1.47 -r1.48
--- exhibit_main.c      9 Jul 2006 04:48:07 -0000       1.47
+++ exhibit_main.c      25 Jul 2006 02:02:53 -0000      1.48
@@ -488,6 +488,9 @@
        char *dir;
        const char *file;
        Evas_List *l;
+        
+        /* Stop the propagation of the signal so the focus won't be passed to 
the next widget */
+        etk_signal_stop();
        
        path = etk_entry_text_get(ETK_ENTRY(e->entry[0]));
        dir = (const char*)ecore_file_get_dir((char*)path);
@@ -909,7 +912,6 @@
                    0, 0, ETK_FILL_POLICY_NONE);
 
    e->entry[0] = etk_entry_new();
-   etk_object_properties_set(ETK_OBJECT(e->entry[0]), "can_pass_focus", 
ETK_FALSE, NULL);
    etk_table_attach(ETK_TABLE(e->table), e->entry[0], 0, 2, 2, 2, 0, 0, 
ETK_FILL_POLICY_HEXPAND | ETK_FILL_POLICY_HFILL);
    etk_signal_connect("key_down", ETK_OBJECT(e->entry[0]), 
ETK_CALLBACK(_ex_main_entry_dir_key_down_cb), e);
 



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to