Enlightenment CVS committal

Author  : sndev
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_int_config_keybindings.c 


Log Message:

* bug fix. Prevents E to crash, when entering the key, while the key binding
  is not selected from the list.

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_int_config_keybindings.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- e_int_config_keybindings.c  22 Feb 2006 14:35:04 -0000      1.3
+++ e_int_config_keybindings.c  25 Feb 2006 11:24:20 -0000      1.4
@@ -691,7 +691,7 @@
        ob = e_widget_entry_add(evas, &(cfdata->key_bind));
        e_widget_entry_on_change_callback_set(ob, 
_entry_keybind_cb_text_change, cfdata);
        cfdata->gui.key_bind = ob;
-       //e_widget_disabled_set(ob, 1);
+       e_widget_disabled_set(ob, 1);
        e_widget_min_size_set(ob, 200, 25);
        e_widget_frametable_object_append(oft1, ob, 1, 0, 4, 1, 1, 0, 1, 0);
 
@@ -974,6 +974,8 @@
   if ((bk = evas_list_nth(cfdata->cur_eckb->bk_list, cfdata->cur_eckb_kb_sel)) 
== NULL )
     return;
 
+  e_widget_disabled_set(cfdata->gui.key_bind, 0);
+
   if (cfdata->key_bind != NULL)
     E_FREE(cfdata->key_bind);
   cfdata->key_bind = bk->key == NULL ? NULL : strdup(bk->key);




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to