Enlightenment CVS committal Author : lordchaos Project : e17 Module : proto
Dir : e17/proto/entropy/src/plugins Modified Files: Makefile.am action_simple.c ewl_icon_local_viewer.c structure_viewer.c Log Message: * Add the concept of an 'inactive' plugin, to avoid sending wasted messages =================================================================== RCS file: /cvsroot/enlightenment/e17/proto/entropy/src/plugins/Makefile.am,v retrieving revision 1.9 retrieving revision 1.10 diff -u -3 -r1.9 -r1.10 --- Makefile.am 6 Dec 2005 09:56:11 -0000 1.9 +++ Makefile.am 8 Dec 2005 09:01:36 -0000 1.10 @@ -23,23 +23,27 @@ pkg_LTLIBRARIES = $(MIME_L) $(THUMBNAILER_L) $(POSIX_L) $(LAYOUT_L) $(EWL_LOCAL_ICON_L) $(STRUCTURE_VIEWER_L) $(SYSTEM_THUMBNAILER_L) $(ACTION_SIMPLE_L) $(LAYOUT_ETK_L) -ewl_local_icon_la_SOURCES = ewl_icon_local_viewer.c ewl_properties_dialog.c $(top_srcdir)/src/entropy_debug.c +ewl_local_icon_la_SOURCES = $(top_srcdir)/src/entropy_gui.c \ + ewl_icon_local_viewer.c ewl_properties_dialog.c $(top_srcdir)/src/entropy_debug.c ewl_local_icon_la_CFLAGS = @EWL_CFLAGS@ ewl_local_icon_la_LDFLAGS = -module -avoid-version ewl_local_icon_la_LIBADD = @EWL_LIBS@ -structure_viewer_la_SOURCES = structure_viewer.c $(top_srcdir)/src/entropy_debug.c +structure_viewer_la_SOURCES = $(top_srcdir)/src/entropy_gui.c \ + structure_viewer.c $(top_srcdir)/src/entropy_debug.c structure_viewer_la_CFLAGS = @EWL_CFLAGS@ structure_viewer_la_LDFLAGS = -module -avoid-version structure_viewer_la_LIBADD = @EWL_LIBS@ -action_simple_la_SOURCES = action_simple.c $(top_srcdir)/src/entropy_debug.c +action_simple_la_SOURCES = $(top_srcdir)/src/entropy_gui.c \ + action_simple.c $(top_srcdir)/src/entropy_debug.c action_simple_la_CFLAGS = @EWL_CFLAGS@ action_simple_la_LDFLAGS = -module -avoid-version action_simple_la_LIBADD = @EWL_LIBS@ -layout_ewl_simple_la_SOURCES = ewl_mime_dialog.c layout_ewl_simple.c $(top_srcdir)/src/entropy_debug.c \ +layout_ewl_simple_la_SOURCES = $(top_srcdir)/src/entropy_gui.c \ + ewl_mime_dialog.c layout_ewl_simple.c $(top_srcdir)/src/entropy_debug.c \ ewl_tip.c layout_ewl_simple_la_CFLAGS = @EWL_CFLAGS@ layout_ewl_simple_la_LDFLAGS = -module -avoid-version =================================================================== RCS file: /cvsroot/enlightenment/e17/proto/entropy/src/plugins/action_simple.c,v retrieving revision 1.7 retrieving revision 1.8 diff -u -3 -r1.7 -r1.8 --- action_simple.c 6 Dec 2005 09:56:11 -0000 1.7 +++ action_simple.c 8 Dec 2005 09:01:37 -0000 1.8 @@ -116,7 +116,7 @@ //printf ("initialising action provider..\n"); - entropy_gui_component_instance* instance = entropy_malloc(sizeof(entropy_gui_component_instance)); + entropy_gui_component_instance* instance = entropy_gui_component_instance_new(); entropy_gui_component_instance* layout = entropy_core_global_layout_get(core); instance->layout_parent = layout; instance->core = core; =================================================================== RCS file: /cvsroot/enlightenment/e17/proto/entropy/src/plugins/ewl_icon_local_viewer.c,v retrieving revision 1.35 retrieving revision 1.36 diff -u -3 -r1.35 -r1.36 --- ewl_icon_local_viewer.c 6 Dec 2005 09:56:11 -0000 1.35 +++ ewl_icon_local_viewer.c 8 Dec 2005 09:01:38 -0000 1.36 @@ -41,12 +41,6 @@ Ewl_Widget* progressbar; } entropy_file_progress_window; - - - - - - /*---------------------------------------------*/ @@ -80,7 +74,7 @@ -void progress_window_create(entropy_file_progress_window* progress) { +void ewl_progress_window_create(entropy_file_progress_window* progress) { Ewl_Widget* vbox; progress->progress_window = ewl_window_new(); @@ -324,7 +318,7 @@ entropy_gui_component_instance* entropy_plugin_init(entropy_core* core,entropy_gui_component_instance* layout) { Ewl_Widget* context; - entropy_gui_component_instance* instance = entropy_malloc(sizeof(entropy_gui_component_instance)); + entropy_gui_component_instance* instance = entropy_gui_component_instance_new(); entropy_icon_viewer* viewer = entropy_malloc(sizeof(entropy_icon_viewer)); @@ -780,7 +774,7 @@ if (!view->progress->progress_window) { printf("Showing progressbar dialog..\n"); - progress_window_create(view->progress); + ewl_progress_window_create(view->progress); ewl_widget_show(view->progress->progress_window); } =================================================================== RCS file: /cvsroot/enlightenment/e17/proto/entropy/src/plugins/structure_viewer.c,v retrieving revision 1.16 retrieving revision 1.17 diff -u -3 -r1.16 -r1.17 --- structure_viewer.c 27 Nov 2005 09:51:02 -0000 1.16 +++ structure_viewer.c 8 Dec 2005 09:01:38 -0000 1.17 @@ -262,7 +262,7 @@ /*entropy_file_request* file_request = entropy_malloc(sizeof(entropy_file_request));*/ - instance = entropy_malloc(sizeof(entropy_gui_component_instance)); + instance = entropy_gui_component_instance_new(); viewer = entropy_malloc(sizeof(entropy_file_structure_viewer)); instance->data = viewer; ------------------------------------------------------- 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