eina_stringshare_del(notify->icon.icon);
if (notify->icon.icon_path)
eina_stringshare_del(notify->icon.icon_path);
- eina_stringshare_del(notify->sumary);
+ eina_stringshare_del(notify->summary);
if (notify->icon.raw.data)
free(notify->icon.raw.data);
free(notify);
n = E_OBJECT_ALLOC(E_Notification_Notify, E_NOTIFICATION_TYPE, _notification_free);
n->urgency = E_NOTIFICATION_NOTIFY_URGENCY_NORMAL;
if (!eldbus_message_arguments_get(msg, "susssasa{sv}i", &n->app_name,
- &n->replaces_id, &n->icon.icon, &n->sumary,
+ &n->replaces_id, &n->icon.icon, &n->summary,
&n->body, &actions_iter, &hints_iter,
&n->timeout))
{
eldbus_message_iter_dict_iterate(hints_iter, "sv", hints_dict_iter, n);
n->app_name = eina_stringshare_add(n->app_name);
n->icon.icon = eina_stringshare_add(n->icon.icon);
- n->sumary = eina_stringshare_add(n->sumary);
+ n->summary = eina_stringshare_add(n->summary);
n->body = eina_stringshare_add(n->body);
e_object_ref(E_OBJECT(n));
notify->app_name ? : "",
notify->replaces_id,
notify->icon.icon ? : "",
- notify->sumary ? : "",
+ notify->summary ? : "",
notify->body ? : "",
&actions))
goto error;
copy->app_name = eina_stringshare_add(notify->app_name);
copy->body = eina_stringshare_add(notify->body);
- copy->sumary = eina_stringshare_add(notify->sumary);
+ copy->summary = eina_stringshare_add(notify->summary);
copy->icon.icon = eina_stringshare_add(notify->icon.icon);
if (notify->icon.icon_path)
copy->icon.icon_path = eina_stringshare_add(notify->icon.icon_path);
n.app_name = _("Battery");
n.replaces_id = 0;
n.icon.icon = "battery-low";
- n.sumary = _("Your battery is low!");
+ n.summary = _("Your battery is low!");
n.body = _("AC power is recommended.");
n.timeout = battery_config->alert_timeout * 1000;
e_notification_client_send(&n, _battery_warning_popup_cb, inst);
edje_object_part_swallow(nwin->o_base, "e.swallow.icon", nwin->o_icon);
}
- edje_object_part_text_set(nwin->o_base, "e.text.title", nwin->notify->sumary);
+ edje_object_part_text_set(nwin->o_base, "e.text.title", nwin->notify->summary);
edje_object_part_text_set(nwin->o_base, "e.text.message", nwin->notify->body);
Evas_Object *o = popup->theme;
Eina_Strbuf *buf = eina_strbuf_new();
edje_object_part_text_set(o, "notification.text.title",
- popup->notif->sumary);
+ popup->notif->summary);
/* FIXME: Filter to only include allowed markup? */
/* We need to replace \n with <br>. FIXME: We need to handle all the
* newline kinds, and paragraph separator. ATM this will suffice. */