Enlightenment CVS committal Author : dj2 Project : e17 Module : docs
Dir : e17/docs/cookbook/xml/ewl Modified Files: ewl_intro.xml Log Message: - Various fixups from Micah Villmow. Thanks. =================================================================== RCS file: /cvsroot/enlightenment/e17/docs/cookbook/xml/ewl/ewl_intro.xml,v retrieving revision 1.11 retrieving revision 1.12 diff -u -3 -r1.11 -r1.12 --- ewl_intro.xml 27 Apr 2005 14:57:54 -0000 1.11 +++ ewl_intro.xml 16 May 2005 03:35:46 -0000 1.12 @@ -57,7 +57,7 @@ </example> <para> -The only required include to write an Ewl application is the <Ewl.h> declaration. +The only include needed for an Ewl application is <Ewl.h>. We make the main window and the file dialog window global to facilitate easier access in the callback functions. They do not need to be global, but for the purposes of this example, its simpler if they are. @@ -481,7 +481,7 @@ </programlisting> </example> <para> -If a use clicks on the open entry in the file menu, the +If a user clicks on the open entry in the file menu, the <function>file_menu_open_cb()</function> will be executed. When that happens we need to create the file dialog for the use to select the file to view. @@ -567,7 +567,7 @@ </para> <para> -As the user has now finished their selection they file dialog is hidden +As the user has now finished their selection the file dialog is hidden from view. </para> @@ -577,7 +577,7 @@ /* the fd home button is clicked */ static void home_cb(Ewl_Widget *win, void *ev, void *data) { char *home = NULL; - Ewl_Filedialog *fd = (Ewl_Filedialog *)data; + Ewl_Filedialog *fd = data; home = getenv("HOME"); if (home) ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs