Enlightenment CVS committal
Author : rephorm
Project : e17
Module : proto
Dir : e17/proto/esmart/src/container
Modified Files:
container.c container_plugin.c
Log Message:
o some fixups
o the start of an entice plugin (not much there yet)
===================================================================
RCS file: /cvsroot/enlightenment/e17/proto/esmart/src/container/container.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- container.c 13 Jan 2004 00:48:29 -0000 1.7
+++ container.c 13 Jan 2004 01:25:09 -0000 1.8
@@ -11,8 +11,6 @@
#include "container.h"
#include "container_private.h"
-void _container_elements_layout_entice(Container *cont);
-
int _container_scroll_timer(void *data);
/*** external API ***/
@@ -338,6 +336,7 @@
void
_container_elements_fix(Container *cont)
{
+ printf("layout\n");
if (cont->plugin && cont->plugin->layout)
cont->plugin->layout(cont);
}
===================================================================
RCS file: /cvsroot/enlightenment/e17/proto/esmart/src/container/container_plugin.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- container_plugin.c 13 Jan 2004 00:48:29 -0000 1.1
+++ container_plugin.c 13 Jan 2004 01:25:09 -0000 1.2
@@ -139,14 +139,17 @@
fprintf(stderr, "ERROR: no container\n");
return 0;
}
-
- if (!(cont->plugin = _container_layout_plugin_new("default")))
+
+ if (!(cont->plugin = _container_layout_plugin_new(plugin)))
{
- fprintf(stderr, "ERROR: can't load default plugin\n");
- return 0;
+ fprintf(stderr, "ERROR: using default layout plugin\n");
+ if (!(cont->plugin = _container_layout_plugin_new("default")))
+ {
+ fprintf(stderr, "ERROR: can't load default plugin\n");
+ return 0;
+ }
}
- printf("plugin set ok\n");
return 1;
}
-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs