Browse Source

alarm: Set the module icon correctly

SVN revision: 81960
master
Igor Murzov 10 years ago committed by Tom Hacohen
parent
commit
571631cf05
  1. 2
      src/e_mod_config.c
  2. 2
      src/e_mod_config_alarm.c
  3. 2
      src/e_mod_main.c

2
src/e_mod_config.c

@ -47,7 +47,7 @@ alarm_config_module(void)
v->advanced.apply_cfdata = _advanced_apply_data;
v->advanced.create_widgets = _advanced_create_widgets;
snprintf(buf, sizeof(buf), "%s/module.edj", e_module_dir_get(alarm_config->module));
snprintf(buf, sizeof(buf), "%s/e-module-alarm.edj", e_module_dir_get(alarm_config->module));
cfd = e_config_dialog_new(e_container_current_get(e_manager_current_get()),
D_("Alarm Configuration"), "Alarm", "_e_modules_alarm_config_dialog", buf, 0, v, NULL);
alarm_config->config_dialog = cfd;

2
src/e_mod_config_alarm.c

@ -63,7 +63,7 @@ alarm_config_alarm(Alarm *al)
v->advanced.apply_cfdata = _advanced_apply_data;
v->advanced.create_widgets = _advanced_create_widgets;
snprintf(buf, sizeof(buf), "%s/module.edj", e_module_dir_get(alarm_config->module));
snprintf(buf, sizeof(buf), "%s/e-module-alarm.edj", e_module_dir_get(alarm_config->module));
cfd = e_config_dialog_new(e_container_current_get(e_manager_current_get()),
D_("Alarm Configuration : Setup an alarm"), "Alarm", "_e_modules_alarm_alarm_config_dialog", buf, 0, v, al);
}

2
src/e_mod_main.c

@ -192,7 +192,7 @@ _gc_icon(const E_Gadcon_Client_Class *client_class, Evas *evas)
char buf[4096];
o = edje_object_add(evas);
snprintf(buf, sizeof(buf), "%s/module.edj",
snprintf(buf, sizeof(buf), "%s/e-module-alarm.edj",
e_module_dir_get(alarm_config->module));
edje_object_file_set(o, buf, "icon");
return o;

Loading…
Cancel
Save