Enlightenment CVS committal
Author : dj2
Project : e17
Module : libs/ewl
Dir : e17/libs/ewl/src/bin
Modified Files:
main.c
Log Message:
- remove the function calls from the struct initializers
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/bin/main.c,v
retrieving revision 1.90
retrieving revision 1.91
diff -u -3 -r1.90 -r1.91
--- main.c 3 Dec 2007 04:25:37 -0000 1.90
+++ main.c 3 Dec 2007 04:55:41 -0000 1.91
@@ -542,22 +542,13 @@
Ewl_View *view;
Ewl_Menu_Info file_menu[] = {
- {"Exit",
- ewl_icon_theme_icon_path_get(EWL_ICON_APPLICATION_EXIT,
- EWL_ICON_SIZE_SMALL),
- ewl_test_cb_exit},
+ {"Exit", NULL, ewl_test_cb_exit},
{NULL, NULL, NULL}
};
Ewl_Menu_Info help_menu[] = {
- {"About Ewl_Test ...",
- ewl_icon_theme_icon_path_get(EWL_ICON_HELP_ABOUT,
- EWL_ICON_SIZE_SMALL),
- ewl_test_cb_about},
- {"Ewl Test Help ...",
- ewl_icon_theme_icon_path_get(EWL_ICON_HELP_FAQ,
- EWL_ICON_SIZE_SMALL),
- ewl_test_cb_help},
+ {"About Ewl_Test ...", NULL, ewl_test_cb_about},
+ {"Ewl Test Help ...", NULL, ewl_test_cb_help},
{NULL, NULL, NULL}
};
@@ -566,6 +557,13 @@
{"Help", help_menu},
{NULL, NULL}
};
+
+ file_menu[0].img =
ewl_icon_theme_icon_path_get(EWL_ICON_APPLICATION_EXIT,
+ EWL_ICON_SIZE_SMALL);
+ help_menu[0].img = ewl_icon_theme_icon_path_get(EWL_ICON_HELP_ABOUT,
+ EWL_ICON_SIZE_SMALL);
+ help_menu[1].img = ewl_icon_theme_icon_path_get(EWL_ICON_HELP_FAQ,
+ EWL_ICON_SIZE_SMALL);
menubar = ewl_hmenubar_new();
ewl_container_child_append(EWL_CONTAINER(box), menubar);
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs