parent
426f96b8f8
commit
af16f102d0
|
@ -33,7 +33,7 @@ e_int_config_clock_module(E_Container *con, Config_Item *ci)
|
|||
|
||||
snprintf(buf, sizeof(buf), "%s/e-module-clock.edj",
|
||||
e_module_dir_get(clock_config->module));
|
||||
cfd = e_config_dialog_new(con,_("Clock Settings"),
|
||||
cfd = e_config_dialog_new(con, _("Clock Settings"),
|
||||
"E", "utils/clock", buf, 0, v, ci);
|
||||
clock_config->config_dialog = cfd;
|
||||
}
|
||||
|
|
|
@ -49,7 +49,6 @@ static Eina_List *clock_instances = NULL;
|
|||
static E_Action *act = NULL;
|
||||
static Ecore_Timer *update_today = NULL;
|
||||
|
||||
|
||||
/* and actually define the gadcon class that this module provides (just 1) */
|
||||
static const E_Gadcon_Client_Class _gadcon_class =
|
||||
{
|
||||
|
@ -723,7 +722,6 @@ _gc_icon(const E_Gadcon_Client_Class *client_class __UNUSED__, Evas *evas)
|
|||
return o;
|
||||
}
|
||||
|
||||
|
||||
static const char *
|
||||
_gc_id_new(const E_Gadcon_Client_Class *client_class __UNUSED__)
|
||||
{
|
||||
|
@ -761,8 +759,8 @@ _e_mod_action(const char *params)
|
|||
Eina_List *l;
|
||||
Instance *inst;
|
||||
|
||||
if (!params) return ;
|
||||
if (strcmp(params, "show_calendar")) return ;
|
||||
if (!params) return;
|
||||
if (strcmp(params, "show_calendar")) return;
|
||||
|
||||
EINA_LIST_FOREACH(clock_instances, l, inst)
|
||||
if (inst->popup)
|
||||
|
@ -894,3 +892,4 @@ e_modapi_save(E_Module *m __UNUSED__)
|
|||
e_config_domain_save("module.clock", conf_edd, clock_config);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue