forked from enlightenment/enlightenment
fix list update on deletion of personal app launcher
SVN revision: 83592
This commit is contained in:
parent
a1425546f3
commit
f4841a5750
|
@ -2,6 +2,8 @@
|
|||
|
||||
* optimize use of edje_file_collection_list
|
||||
* add support for edje files in filepreview widget
|
||||
* fix possible crash in xkb rule parsing
|
||||
* fix list update on deletion of personal app launchers
|
||||
|
||||
2013-02-01 Mike Blumenkrantz
|
||||
|
||||
|
|
2
NEWS
2
NEWS
|
@ -139,3 +139,5 @@ Fixes:
|
|||
* fixed bugs where keyboard layouts could not be applied or selected
|
||||
* fixed leak in profile list dbus method
|
||||
* fixed behavior of Up/Down keys in filemanager when typebuf was visible
|
||||
* fix possible crash in xkb rule parsing
|
||||
* fix list update on deletion of personal app launchers
|
||||
|
|
|
@ -199,14 +199,18 @@ _btn_cb_del(void *data, void *data2 __UNUSED__)
|
|||
E_Config_Dialog_Data *cfdata = data;
|
||||
const Eina_List *l;
|
||||
const E_Ilist_Item *it;
|
||||
int x = -1;
|
||||
|
||||
EINA_LIST_FOREACH(e_widget_ilist_items_get(cfdata->obj.list), l, it)
|
||||
{
|
||||
const char *file;
|
||||
|
||||
x++;
|
||||
if (!it->selected) continue;
|
||||
file = e_widget_ilist_item_data_get(it);
|
||||
if (file) ecore_file_unlink(file);
|
||||
if (!file) break;
|
||||
ecore_file_unlink(file);
|
||||
e_widget_ilist_remove_num(cfdata->obj.list, x);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue