aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--NEWS2
-rw-r--r--src/modules/conf_applications/e_int_config_apps_personal.c6
3 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index b86c9f3f3..8299d4e35 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
diff --git a/NEWS b/NEWS
index 8d77916d5..fe7871fd1 100644
--- a/NEWS
+++ b/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
diff --git a/src/modules/conf_applications/e_int_config_apps_personal.c b/src/modules/conf_applications/e_int_config_apps_personal.c
index 356802a97..8086627b8 100644
--- a/src/modules/conf_applications/e_int_config_apps_personal.c
+++ b/src/modules/conf_applications/e_int_config_apps_personal.c
@@ -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);
}
}