Enlightenment CVS committal Author : handyande Project : e17 Module : apps/examine
Dir : e17/apps/examine/src Modified Files: examine.c Log Message: Fixup text editing, #rrggbb editing and theme previewing =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/examine/src/examine.c,v retrieving revision 1.30 retrieving revision 1.31 diff -u -3 -r1.30 -r1.31 --- examine.c 22 Mar 2005 20:35:43 -0000 1.30 +++ examine.c 8 Jun 2005 19:57:52 -0000 1.31 @@ -265,8 +265,8 @@ free(key_tmp); if (prop_item->type == PT_STR) { entries[1] = ewl_entry_new(""); - ewl_callback_append(EWL_ENTRY(entries[1])->text, - EWL_CALLBACK_VALUE_CHANGED, cb_set_str, prop_item); + ewl_callback_append(entries[1], EWL_CALLBACK_DESELECT, cb_set_str, + prop_item); } else if (prop_item->type == PT_INT) { entries[1] = ewl_spinner_new(); @@ -295,8 +295,8 @@ prop_item); } else if (prop_item->type == PT_RGB) { entries[1] = ewl_entry_new(""); - ewl_callback_append(EWL_ENTRY(entries[1])->text, - EWL_CALLBACK_VALUE_CHANGED, cb_set_str, prop_item); + ewl_callback_append(entries[1], EWL_CALLBACK_DESELECT, cb_set_str, + prop_item); } else if (prop_item->type == PT_THM) { struct stat st; @@ -354,7 +354,7 @@ strcat(file, next->d_name); tmp = ewl_image_new(file, (char *) prop_item->data); - ewl_object_preferred_inner_size_set(EWL_OBJECT(tmp), 60, 60); + ewl_object_minimum_size_set(EWL_OBJECT(tmp), 60, 60); ewl_object_fill_policy_set(EWL_OBJECT(tmp), EWL_FLAG_FILL_NONE); ewl_object_alignment_set(EWL_OBJECT(tmp), EWL_FLAG_ALIGN_CENTER); ewl_widget_show(tmp); ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs