From: <enl...@li...> - 2006-03-04 15:10:40
|
Enlightenment CVS committal Author : onefang Project : e17 Module : apps/e Dir : e17/apps/e/src/bin Modified Files: e_tlist.c e_widget_tlist.c Log Message: If it's good enough for ilist, it's good enough for tlist. =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_tlist.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -3 -r1.3 -r1.4 --- e_tlist.c 1 Mar 2006 05:41:57 -0000 1.3 +++ e_tlist.c 4 Mar 2006 15:10:31 -0000 1.4 @@ -241,6 +241,8 @@ if (si) { sd->items = evas_list_remove(sd->items, si); + if (e_tlist_selected_get(obj) == n) + sd->selected = -1; evas_object_del(si->base_obj); free(si); } =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_widget_tlist.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- e_widget_tlist.c 1 Mar 2006 05:41:57 -0000 1.2 +++ e_widget_tlist.c 4 Mar 2006 15:10:31 -0000 1.3 @@ -190,6 +190,8 @@ e_widget_min_size_get(obj, &wmw, &wmh); e_widget_min_size_set(obj, mw + (w - vw), wmh); } + else if (mw < vw) + evas_object_resize(wd->o_tlist, vw, mh); } static void |