Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : tclock

Dir     : e_modules/tclock


Modified Files:
        e_mod_main.c 


Log Message:
Support getting tip theme from the E theme.

===================================================================
RCS file: /cvs/e/e_modules/tclock/e_mod_main.c,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -3 -r1.56 -r1.57
--- e_mod_main.c        26 Dec 2007 01:18:56 -0000      1.56
+++ e_mod_main.c        26 Dec 2007 01:36:52 -0000      1.57
@@ -219,7 +219,9 @@
    e_popup_layer_set(inst->tip, 255);
 
    inst->o_tip = edje_object_add(inst->tip->evas);
-   edje_object_file_set(inst->o_tip, buf, "modules/tclock/tip");
+   if (!e_theme_edje_object_set
+       (inst->o_tip, "base/theme/modules/tclock", "modules/tclock/tip"))
+     edje_object_file_set(inst->o_tip, buf, "modules/tclock/tip");
    evas_object_show(inst->o_tip);
 
    current_time = time (NULL);



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to