Enlightenment CVS committal
Author : atmosphere
Project : e17
Module : apps/entice
Dir : e17/apps/entice/src/bin
Modified Files:
entice.c
Log Message:
update so the container layout is themeable, reported by arlowhite
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/entice/src/bin/entice.c,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -3 -r1.34 -r1.35
--- entice.c 26 Jan 2004 07:45:44 -0000 1.34
+++ entice.c 2 Feb 2004 19:58:17 -0000 1.35
@@ -91,9 +91,10 @@
void
entice_init(Ecore_Evas * ee)
{
+ int x, y, w, h;
Entice *e = NULL;
+ char *layout = NULL;
Evas_Object *o = NULL;
- int x, y, w, h;
if ((ee) && (e = (Entice *) malloc(sizeof(Entice))))
{
@@ -122,7 +123,14 @@
e_container_padding_set(e->container, 4, 4, 4, 4);
e_container_spacing_set(e->container, 4);
e_container_move_button_set(e->container, 2);
- e_container_layout_plugin_set(e->container, "entice");
+ if ((layout =
+ edje_file_data_get(entice_config_theme_get(), "container_layout")))
+ {
+ e_container_layout_plugin_set(e->container, layout);
+ free(layout);
+ }
+ else
+ e_container_layout_plugin_set(e->container, "default");
evas_object_layer_set(e->container, 0);
evas_object_color_set(e->container, 255, 255, 255, 255);
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs