Fix mismatching parameters for e_action_predef_name_{set,del}() (patch from Igor Murzov)

SVN revision: 81048
This commit is contained in:
Massimo Maiurana 2012-12-16 16:51:12 +00:00
parent b376643d06
commit c4175e62ec
4 changed files with 4 additions and 4 deletions

View File

@ -900,7 +900,7 @@ e_modapi_shutdown(E_Module *m __UNUSED__)
{ {
if (act) if (act)
{ {
e_action_predef_name_del(_("Clock"), _("Show calendar")); e_action_predef_name_del(_("Clock"), _("Toggle calendar"));
e_action_del("clock"); e_action_del("clock");
act = NULL; act = NULL;
} }

View File

@ -196,7 +196,7 @@ e_modapi_shutdown(E_Module *m __UNUSED__)
if (act) if (act)
{ {
e_action_predef_name_del(_("Everything Launcher"), e_action_predef_name_del(_("Everything Launcher"),
_("Show Everything Dialog")); _("Show Everything Launcher"));
e_action_del("everything"); e_action_del("everything");
} }

View File

@ -207,7 +207,7 @@ evry_plugin_unregister(Evry_Plugin *p)
char buf[256]; char buf[256];
snprintf(buf, sizeof(buf), _("Show %s Plugin"), p->name); snprintf(buf, sizeof(buf), _("Show %s Plugin"), p->name);
e_action_predef_name_del(_("Everything"), buf); e_action_predef_name_del(_("Everything Launcher"), buf);
} }
} }

View File

@ -28,7 +28,7 @@ e_modapi_init(E_Module *m)
if (act) if (act)
{ {
act->func.go = _e_mod_action_syscon_cb; 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); NULL, NULL, 0);
} }
maug = e_int_menus_menu_augmentation_add_sorted maug = e_int_menus_menu_augmentation_add_sorted