Enlightenment CVS committal Author : lordchaos Project : e17 Module : proto
Dir : e17/proto/entropy/src/plugins Modified Files: Makefile.am layout_ewl_simple.c Removed Files: ewl_about_dialog.c ewl_mime_dialog.c ewl_progress_dialog.c ewl_properties_dialog.c ewl_tip.c Log Message: * Housekeeping - move non-plugin items into a dialog/ directory =================================================================== RCS file: /cvsroot/enlightenment/e17/proto/entropy/src/plugins/Makefile.am,v retrieving revision 1.14 retrieving revision 1.15 diff -u -3 -r1.14 -r1.15 --- Makefile.am 11 Jan 2006 10:55:38 -0000 1.14 +++ Makefile.am 16 Jan 2006 09:13:59 -0000 1.15 @@ -27,15 +27,17 @@ 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_LIST_L) $(REMOTE_THUMBNAILER_L) $(DISTRIB_THUMBNAILER_L) ewl_local_icon_la_SOURCES = $(top_srcdir)/src/entropy_gui.c \ - ewl_progress_dialog.c \ - ewl_icon_local_viewer.c ewl_properties_dialog.c $(top_srcdir)/src/entropy_debug.c + $(top_srcdir)/src/dialogs/ewl_progress_dialog.c \ + ewl_icon_local_viewer.c $(top_srcdir)/src/dialogs/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@ ewl_list_la_SOURCES = $(top_srcdir)/src/entropy_gui.c \ - ewl_progress_dialog.c \ - ewl_list_viewer.c ewl_properties_dialog.c $(top_srcdir)/src/entropy_debug.c + $(top_srcdir)/src/dialogs/ewl_progress_dialog.c \ + ewl_list_viewer.c $(top_srcdir)/src/dialogs/ewl_properties_dialog.c \ + $(top_srcdir)/src/entropy_debug.c ewl_list_la_CFLAGS = @EWL_CFLAGS@ ewl_list_la_LDFLAGS = -module -avoid-version ewl_list_la_LIBADD = @EWL_LIBS@ @@ -55,8 +57,9 @@ 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 ewl_about_dialog.c + $(top_srcdir)/src/dialogs/ewl_mime_dialog.c layout_ewl_simple.c $(top_srcdir)/src/entropy_debug.c \ + $(top_srcdir)/src/dialogs/ewl_tip.c \ + $(top_srcdir)/src/dialogs/ewl_about_dialog.c layout_ewl_simple_la_CFLAGS = @EWL_CFLAGS@ layout_ewl_simple_la_LDFLAGS = -module -avoid-version layout_ewl_simple_la_LIBADD = @EWL_LIBS@ =================================================================== RCS file: /cvsroot/enlightenment/e17/proto/entropy/src/plugins/layout_ewl_simple.c,v retrieving revision 1.36 retrieving revision 1.37 diff -u -3 -r1.36 -r1.37 --- layout_ewl_simple.c 13 Jan 2006 02:50:30 -0000 1.36 +++ layout_ewl_simple.c 16 Jan 2006 09:13:59 -0000 1.37 @@ -97,6 +97,31 @@ } +void structure_configure_cb(Ewl_Widget *item, void *ev_data, void *user_data) +{ + Ewl_Widget* parent = item; + entropy_gui_component_instance* instance = user_data; + entropy_layout_gui* layout = instance->data; + + /*printf("Structure configutre..%p\nHierarchy: ", item); + while (parent->parent) { + printf("'%s' : ", parent->inheritance); + if (VISIBLE(parent)) + printf("VISIBLE "); + else + printf("INVISIBLE "); + + if (OBSCURED(parent)) + printf("OBSCURED \n"); + else + printf("UNOBSC \n"); + + + parent = parent->parent; + } + printf("\n"); + printf("\n\n");*/ +} /*TODO/FIXME - This needs a rewrite, to be dynamic, and wizard-based*/ void location_add_execute_cb(Ewl_Widget *item, void *ev_data, void *user_data) @@ -432,6 +457,9 @@ ;// printf("Visual component found\n"); ewl_container_child_append(EWL_CONTAINER(hbox), visual); ewl_object_fill_policy_set(EWL_OBJECT(visual), EWL_FLAG_FILL_HFILL); + + ewl_callback_append(visual, EWL_CALLBACK_CONFIGURE, structure_configure_cb, instance); + ewl_widget_show(visual); } } @@ -518,6 +546,8 @@ /*entropy_gui_component_instance_disable(layout->structure_viewer); ewl_widget_hide(EWL_WIDGET(layout->structure_viewer->gui_object));*/ + printf("Hiding tree...\n"); + ewl_widget_hide(layout->tree); } @@ -715,6 +745,7 @@ ewl_window_title_set(EWL_WINDOW(win), "Entropy"); ewl_window_name_set(EWL_WINDOW(win), "Entropy"); ewl_window_class_set(EWL_WINDOW(win), "Entropy"); + ewl_object_size_request(EWL_OBJECT(win), 800,600); ewl_object_maximum_size_set(EWL_OBJECT(contract_button), 20, 10); @@ -876,7 +907,6 @@ /*Tooltip display function*/ entropy_ewl_layout_simple_tooltip_window(); - layout->gui_object = win; ewl_widget_show(win); ------------------------------------------------------- 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