discomfitor pushed a commit to branch master. http://git.enlightenment.org/core/enlightenment.git/commit/?id=290e2369d38883846b6ac9f555ae078bc7b66868
commit 290e2369d38883846b6ac9f555ae078bc7b66868 Author: Mike Blumenkrantz <zm...@osg.samsung.com> Date: Wed Jul 30 19:18:24 2014 -0400 s/sumary/summary/g --- src/bin/e_notification.c | 10 +++++----- src/bin/e_notification.h | 2 +- src/modules/battery/e_mod_main.c | 2 +- src/modules/illume-indicator/e_mod_notify.c | 2 +- src/modules/mixer/e_mod_main.c | 2 +- src/modules/notification/e_mod_main.c | 2 +- src/modules/notification/e_mod_popup.c | 2 +- 7 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/bin/e_notification.c b/src/bin/e_notification.c index bffd867..ededa2f 100644 --- a/src/bin/e_notification.c +++ b/src/bin/e_notification.c @@ -21,7 +21,7 @@ _notification_free(E_Notification_Notify *notify) 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); @@ -82,7 +82,7 @@ notify_cb(const Eldbus_Service_Interface *iface EINA_UNUSED, const Eldbus_Messag 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)) { @@ -99,7 +99,7 @@ notify_cb(const Eldbus_Service_Interface *iface EINA_UNUSED, const Eldbus_Messag 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)); @@ -321,7 +321,7 @@ notification_client_dbus_send(E_Notification_Notify *notify, E_Notification_Clie notify->app_name ? : "", notify->replaces_id, notify->icon.icon ? : "", - notify->sumary ? : "", + notify->summary ? : "", notify->body ? : "", &actions)) goto error; @@ -411,7 +411,7 @@ e_notification_client_send(E_Notification_Notify *notify, E_Notification_Client_ 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); diff --git a/src/bin/e_notification.h b/src/bin/e_notification.h index b92a15d..e97ee00 100644 --- a/src/bin/e_notification.h +++ b/src/bin/e_notification.h @@ -26,7 +26,7 @@ typedef struct _E_Notification_Notify unsigned int id; const char *app_name; unsigned replaces_id; - const char *sumary; + const char *summary; const char *body; int timeout; E_Notification_Notify_Urgency urgency; diff --git a/src/modules/battery/e_mod_main.c b/src/modules/battery/e_mod_main.c index 1238795..7fe0a25 100644 --- a/src/modules/battery/e_mod_main.c +++ b/src/modules/battery/e_mod_main.c @@ -453,7 +453,7 @@ _battery_warning_popup(Instance *inst, int t, double percent) 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); diff --git a/src/modules/illume-indicator/e_mod_notify.c b/src/modules/illume-indicator/e_mod_notify.c index 048c7fd..a883307 100644 --- a/src/modules/illume-indicator/e_mod_notify.c +++ b/src/modules/illume-indicator/e_mod_notify.c @@ -152,7 +152,7 @@ _e_mod_notify_refresh(Ind_Notify_Win *nwin) 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); diff --git a/src/modules/mixer/e_mod_main.c b/src/modules/mixer/e_mod_main.c index 59b7196..24d252f 100644 --- a/src/modules/mixer/e_mod_main.c +++ b/src/modules/mixer/e_mod_main.c @@ -55,7 +55,7 @@ _mixer_notify(const float val, E_Mixer_Instance *inst) n.app_name = _("Mixer"); n.replaces_id = inst->notification_id; n.icon.icon = icon; - n.sumary = _("Volume changed"); + n.summary = _("Volume changed"); n.body = buf; n.timeout = 2000; e_notification_client_send(&n, _mixer_notify_cb, inst); diff --git a/src/modules/notification/e_mod_main.c b/src/modules/notification/e_mod_main.c index bdea949..925381e 100644 --- a/src/modules/notification/e_mod_main.c +++ b/src/modules/notification/e_mod_main.c @@ -34,7 +34,7 @@ _notification_show_common(const char *summary, n.app_name = "enlightenment"; n.replaces_id = replaces_id; n.icon.icon = "enlightenment"; - n.sumary = summary; + n.summary = summary; n.body = body; e_notification_client_send(&n, NULL, NULL); } diff --git a/src/modules/notification/e_mod_popup.c b/src/modules/notification/e_mod_popup.c index a6f6412..eadb842 100644 --- a/src/modules/notification/e_mod_popup.c +++ b/src/modules/notification/e_mod_popup.c @@ -530,7 +530,7 @@ _notification_format_message(Popup_Data *popup) 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. */ --