*/
void allow_noti_status_set(Eina_Bool value);
+/**
+ * @brief Sets allow-noti status top
+ *
+ * @param[in] bool status
+ */
+void allow_noti_status_set_top(Eina_Bool value);
+
/**
* @brief Sets check
*
{
popup_noti_status_set(value);
app_badge_status_set(value);
+ set_allow_to_nofity(g_app_info->appid, value);
if (value == EINA_FALSE && g_check) {
elm_check_state_set(g_check, EINA_FALSE);
+ }else if(value == EINA_TRUE && g_check){
+ elm_check_state_set(g_check, check_all_status_get(get_app_ui_data()));
}
+}
+
+void allow_noti_status_set_top(Eina_Bool value)
+{
+ popup_noti_status_set(value);
+ app_badge_status_set(value);
set_allow_to_nofity(g_app_info->appid, value);
}
while (gen_item) {
item_info_s *item = (item_info_s *)elm_object_item_data_get(gen_item);
set_app_info(item);
- allow_noti_status_set(true);
+ allow_noti_status_set_top(true);
Evas_Object *check = item->my_check;
elm_check_state_set(check, true);
gen_item = elm_genlist_item_next_get(gen_item);
}
+ }else{
+ Elm_Object_Item *gen_item = elm_genlist_first_item_get(ugd->list_main);
+ while (gen_item) {
+ item_info_s *item = (item_info_s *)elm_object_item_data_get(gen_item);
+ set_app_info(item);
+ allow_noti_status_set_top(false);
+ Evas_Object *check = item->my_check;
+ elm_check_state_set(check, false);
+ gen_item = elm_genlist_item_next_get(gen_item);
+ }
}
}
elm_check_state_set(check, check_all_status_get(ugd));
evas_object_smart_callback_add(check, "changed", allow_all_noti_changed_cb, ugd);
- set_check(check);
+ set_check(check);
}
static Evas_Object *_create_fullview(Evas_Object *parent, ug_data *ugd, app_type type)