Enlightenment CVS committal

Author  : devilhorns
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/modules/clock


Modified Files:
        e_mod_config.h e_mod_main.c 


Log Message:
Fix clock config. Thanks onefang.
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/modules/clock/e_mod_config.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- e_mod_config.h      14 Dec 2005 23:26:10 -0000      1.1
+++ e_mod_config.h      15 Dec 2005 22:33:56 -0000      1.2
@@ -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
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/modules/clock/e_mod_main.c,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -3 -r1.42 -r1.43
--- e_mod_main.c        15 Dec 2005 04:28:06 -0000      1.42
+++ e_mod_main.c        15 Dec 2005 22:33:56 -0000      1.43
@@ -104,7 +104,7 @@
    Clock *clock;
    Evas_List *managers, *l, *l2, *cl;
    E_Menu_Item *mi;
-
+   
    _clock_count = 0;
    clock = E_NEW(Clock, 1);
    if (!clock) return NULL;
@@ -163,6 +163,8 @@
                       cl = cl->next;
                    }
 
+                       _clock_face_cb_config_updated(face);
+
                  /* Menu */
                  /* This menu must be initialized after conf */
                  _clock_face_menu_new(face);
@@ -230,7 +232,7 @@
    e_theme_edje_object_set(o, "base/theme/modules/clock",
                           "modules/clock/main");
    evas_object_show(o);
-
+   
    o = evas_object_rectangle_add(con->bg_evas);
    face->event_object = o;
    evas_object_layer_set(o, 2);
@@ -431,9 +433,6 @@
    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);
-
 }




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to