s/sumary/summary/g
authorMike Blumenkrantz <zmike@osg.samsung.com>
Wed, 30 Jul 2014 23:18:24 +0000 (19:18 -0400)
committerMike Blumenkrantz <zmike@osg.samsung.com>
Wed, 30 Jul 2014 23:18:24 +0000 (19:18 -0400)
src/bin/e_notification.c
src/bin/e_notification.h
src/modules/battery/e_mod_main.c
src/modules/illume-indicator/e_mod_notify.c
src/modules/mixer/e_mod_main.c
src/modules/notification/e_mod_main.c
src/modules/notification/e_mod_popup.c

index bffd867..ededa2f 100644 (file)
@@ -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);
index b92a15d..e97ee00 100644 (file)
@@ -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;
index 1238795..7fe0a25 100644 (file)
@@ -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);
index 048c7fd..a883307 100644 (file)
@@ -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);
 
 
index 59b7196..24d252f 100644 (file)
@@ -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);
index bdea949..925381e 100644 (file)
@@ -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);
 }
index a6f6412..eadb842 100644 (file)
@@ -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. */