forked from enlightenment/enlightenment
Fix icon and translate strign
This commit is contained in:
parent
dcf621326b
commit
16bf105f34
|
@ -348,8 +348,8 @@ sensor_proxy_init(void)
|
||||||
accelerometer_dbus->orientation = UNDEFINED;
|
accelerometer_dbus->orientation = UNDEFINED;
|
||||||
|
|
||||||
INF("Getting dbus interfaces");
|
INF("Getting dbus interfaces");
|
||||||
accelerometer_dbus->sensor_proxy = get_dbus_interface(EFL_DBUS_ACC_IFACE);
|
accelerometer_dbus->sensor_proxy = _get_dbus_interface(EFL_DBUS_ACC_IFACE);
|
||||||
accelerometer_dbus->sensor_proxy_properties = get_dbus_interface(ELDBUS_FDO_INTERFACE_PROPERTIES);
|
accelerometer_dbus->sensor_proxy_properties = _get_dbus_interface(ELDBUS_FDO_INTERFACE_PROPERTIES);
|
||||||
if (accelerometer_dbus->sensor_proxy == NULL)
|
if (accelerometer_dbus->sensor_proxy == NULL)
|
||||||
{
|
{
|
||||||
ERR("Unable to get the proxy for interface %s", EFL_DBUS_ACC_IFACE);
|
ERR("Unable to get the proxy for interface %s", EFL_DBUS_ACC_IFACE);
|
||||||
|
@ -430,7 +430,7 @@ _access_string_property(const Eldbus_Message *msg, Eldbus_Message_Iter **variant
|
||||||
}
|
}
|
||||||
|
|
||||||
const char *string_property_value;
|
const char *string_property_value;
|
||||||
if (!eldbus_message_iter_arguments_get(variant, "s", &string_property_value))
|
if (!eldbus_message_iter_arguments_get(*variant, "s", &string_property_value))
|
||||||
{
|
{
|
||||||
WARN("error in eldbus_message_iter_arguments_get()");
|
WARN("error in eldbus_message_iter_arguments_get()");
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
static Convertible_Config *_config = NULL;
|
static Convertible_Config *_config = NULL;
|
||||||
E_Config_DD *config_edd = NULL;
|
E_Config_DD *config_edd = NULL;
|
||||||
extern Convertible_Config *convertible_config;
|
EINTERN Convertible_Config *convertible_config;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create the config structure
|
* Create the config structure
|
||||||
|
|
|
@ -18,7 +18,7 @@ Instance *inst;
|
||||||
|
|
||||||
// Configuration
|
// Configuration
|
||||||
extern Convertible_Config *convertible_config;
|
extern Convertible_Config *convertible_config;
|
||||||
extern E_Config_DD *edd;
|
static E_Config_DD *config_edd;
|
||||||
|
|
||||||
// Logger
|
// Logger
|
||||||
int _convertible_log_dom;
|
int _convertible_log_dom;
|
||||||
|
@ -323,10 +323,10 @@ e_modapi_init(E_Module *m)
|
||||||
e_gadcon_provider_register(&_gadcon_class);
|
e_gadcon_provider_register(&_gadcon_class);
|
||||||
|
|
||||||
INF("Creating menu entries for settings");
|
INF("Creating menu entries for settings");
|
||||||
e_configure_registry_category_add("extensions", 90, "Extensions", NULL,
|
e_configure_registry_category_add("extensions", 90, _("Extensions"), NULL,
|
||||||
"preferences-extensions");
|
"preferences-extensions");
|
||||||
e_configure_registry_item_add("extensions/convertible", 30, "convertible", NULL,
|
e_configure_registry_item_add("extensions/convertible", 30, _("Convertible"), NULL,
|
||||||
"preferences-desktop-convertible", e_int_config_convertible_module);
|
"preferences-desktop-edge-bindings", e_int_config_convertible_module);
|
||||||
|
|
||||||
instances = eina_list_append(instances, inst);
|
instances = eina_list_append(instances, inst);
|
||||||
|
|
||||||
|
@ -368,7 +368,7 @@ e_modapi_save(E_Module *m EINA_UNUSED)
|
||||||
{
|
{
|
||||||
if (convertible_config)
|
if (convertible_config)
|
||||||
{
|
{
|
||||||
e_config_domain_save("module.convertible", edd, convertible_config);
|
e_config_domain_save("module.convertible", config_edd, convertible_config);
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue