This patch fixes mismatching parameters for e_action_predef_name_set()
and  e_action_predef_name_del(). These mismatches are mostly regressions
introduced by developers changing parameter for one of these functions and
forgetting to do the same for another one like in r79720.


-- Igor
>From ecce86d8b3202026c6f06ecc68cd3a7b3cfd1dd8 Mon Sep 17 00:00:00 2001
From: Igor Murzov <e-m...@date.by>
Date: Sun, 16 Dec 2012 14:50:08 +0400
Subject: [PATCH] Fix mismatching parameters for
 e_action_predef_name_{set,del}().

---
 src/modules/clock/e_mod_main.c       | 2 +-
 src/modules/everything/e_mod_main.c  | 2 +-
 src/modules/everything/evry_plugin.c | 2 +-
 src/modules/syscon/e_mod_main.c      | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/modules/clock/e_mod_main.c b/src/modules/clock/e_mod_main.c
index 2140838..11b752e 100644
--- a/src/modules/clock/e_mod_main.c
+++ b/src/modules/clock/e_mod_main.c
@@ -900,7 +900,7 @@ e_modapi_shutdown(E_Module *m __UNUSED__)
 {
    if (act)
      {
-        e_action_predef_name_del(_("Clock"), _("Show calendar"));
+        e_action_predef_name_del(_("Clock"), _("Toggle calendar"));
         e_action_del("clock");
         act = NULL;
      }
diff --git a/src/modules/everything/e_mod_main.c b/src/modules/everything/e_mod_main.c
index 76e2dcc..f594678 100644
--- a/src/modules/everything/e_mod_main.c
+++ b/src/modules/everything/e_mod_main.c
@@ -196,7 +196,7 @@ e_modapi_shutdown(E_Module *m __UNUSED__)
    if (act)
      {
         e_action_predef_name_del(_("Everything Launcher"),
-                                 _("Show Everything Dialog"));
+                                 _("Show Everything Launcher"));
         e_action_del("everything");
      }
 
diff --git a/src/modules/everything/evry_plugin.c b/src/modules/everything/evry_plugin.c
index 8e9cbed..c8d8deb 100644
--- a/src/modules/everything/evry_plugin.c
+++ b/src/modules/everything/evry_plugin.c
@@ -207,7 +207,7 @@ evry_plugin_unregister(Evry_Plugin *p)
         char buf[256];
         snprintf(buf, sizeof(buf), _("Show %s Plugin"), p->name);
 
-        e_action_predef_name_del(_("Everything"), buf);
+        e_action_predef_name_del(_("Everything Launcher"), buf);
      }
 }
 
diff --git a/src/modules/syscon/e_mod_main.c b/src/modules/syscon/e_mod_main.c
index 48390a9..800fb31 100644
--- a/src/modules/syscon/e_mod_main.c
+++ b/src/modules/syscon/e_mod_main.c
@@ -28,7 +28,7 @@ e_modapi_init(E_Module *m)
    if (act)
      {
         act->func.go = _e_mod_action_syscon_cb;
-        e_action_predef_name_set(_("System"), _("System Control"), "syscon",
+        e_action_predef_name_set(_("System"), _("System Controls"), "syscon",
                                  NULL, NULL, 0);
      }
    maug = e_int_menus_menu_augmentation_add_sorted
-- 
1.7.12.1

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to