Enlightenment CVS committal Author : jethomas Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src/bin Modified Files: main.c Log Message: Superficial stuff =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/bin/main.c,v retrieving revision 1.88 retrieving revision 1.89 diff -u -3 -r1.88 -r1.89 --- main.c 2 Dec 2007 19:06:11 -0000 1.88 +++ main.c 3 Dec 2007 04:16:06 -0000 1.89 @@ -11,6 +11,7 @@ #include "ewl_statusbar.h" #include "ewl_text.h" #include "ewl_tree2.h" +#include "ewl_icon_theme.h" #include <stdio.h> #include <string.h> @@ -530,6 +531,7 @@ return strcasecmp(test1->name, test2->name); } +#define ET_ICON(icon) ewl_icon_theme_icon_path_get(EWL_ICON_ ## icon, EWL_ICON_SIZE_SMALL) static int create_main_test_window(Ewl_Container *box) { @@ -541,13 +543,13 @@ Ewl_View *view; Ewl_Menu_Info file_menu[] = { - {"Exit",NULL, ewl_test_cb_exit}, + {"Exit",ET_ICON(APPLICATION_EXIT), ewl_test_cb_exit}, {NULL, NULL, NULL} }; Ewl_Menu_Info help_menu[] = { - {"About Ewl_Test ...", NULL, ewl_test_cb_about}, - {"Ewl Test Help ...", NULL, ewl_test_cb_help}, + {"About Ewl_Test ...", ET_ICON(HELP_ABOUT), ewl_test_cb_about}, + {"Ewl Test Help ...", ET_ICON(HELP_FAQ), ewl_test_cb_help}, {NULL, NULL, NULL} }; ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs