Fix clock config. Thanks onefang.

SVN revision: 19049
This commit is contained in:
Christopher Michael 2005-12-15 22:33:56 +00:00
parent af567f9581
commit b7a1aea7e1
2 changed files with 5 additions and 6 deletions

View File

@ -3,6 +3,6 @@
#ifndef E_MOD_CONFIG_H
#define E_MOD_CONFIG_H
#include "e_mod_main.h"
EAPI void e_int_config_clock(E_Container *con, Clock *c);
EAPI void e_int_config_clock(E_Container *con, Clock_Face *c);
#endif
#endif

View File

@ -163,6 +163,8 @@ _clock_new()
cl = cl->next;
}
_clock_face_cb_config_updated(face);
/* Menu */
/* This menu must be initialized after conf */
_clock_face_menu_new(face);
@ -431,9 +433,6 @@ _clock_face_cb_config_updated(void *data)
face = data;
memset(buf, 0, sizeof(buf));
snprintf(buf, sizeof(buf), "%i", face->conf->digitalStyle);
edje_object_part_text_set(face->clock_object, "digitalStyle", buf);
}