forked from enlightenment/enlightenment
fix button toggling in personal apps dialog
SVN revision: 83594
This commit is contained in:
parent
f4841a5750
commit
afd92c9394
|
@ -4,6 +4,7 @@
|
||||||
* add support for edje files in filepreview widget
|
* add support for edje files in filepreview widget
|
||||||
* fix possible crash in xkb rule parsing
|
* fix possible crash in xkb rule parsing
|
||||||
* fix list update on deletion of personal app launchers
|
* fix list update on deletion of personal app launchers
|
||||||
|
* fix button toggling in personal app launchers dialog
|
||||||
|
|
||||||
2013-02-01 Mike Blumenkrantz
|
2013-02-01 Mike Blumenkrantz
|
||||||
|
|
||||||
|
|
1
NEWS
1
NEWS
|
@ -141,3 +141,4 @@ Fixes:
|
||||||
* fixed behavior of Up/Down keys in filemanager when typebuf was visible
|
* fixed behavior of Up/Down keys in filemanager when typebuf was visible
|
||||||
* fix possible crash in xkb rule parsing
|
* fix possible crash in xkb rule parsing
|
||||||
* fix list update on deletion of personal app launchers
|
* fix list update on deletion of personal app launchers
|
||||||
|
* fix button toggling in personal app launchers dialog
|
||||||
|
|
|
@ -218,16 +218,7 @@ static void
|
||||||
_widget_list_selection_changed(void *data, Evas_Object *obj __UNUSED__)
|
_widget_list_selection_changed(void *data, Evas_Object *obj __UNUSED__)
|
||||||
{
|
{
|
||||||
E_Config_Dialog_Data *cfdata = data;
|
E_Config_Dialog_Data *cfdata = data;
|
||||||
const Eina_List *l;
|
|
||||||
const E_Ilist_Item *it;
|
|
||||||
int selnum = 0;
|
|
||||||
|
|
||||||
EINA_LIST_FOREACH(e_widget_ilist_items_get(cfdata->obj.list), l, it)
|
e_widget_disabled_set(cfdata->obj.del, !e_widget_ilist_selected_count_get(cfdata->obj.list));
|
||||||
{
|
|
||||||
if (!it->selected) continue;
|
|
||||||
selnum++;
|
|
||||||
}
|
|
||||||
if (selnum == 0) e_widget_disabled_set(cfdata->obj.del, 1);
|
|
||||||
else e_widget_disabled_set(cfdata->obj.del, 0);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue