Enlightenment CVS committal
Author : rbdpngn
Project : e17
Module : libs/ewl
Dir : e17/libs/ewl/test
Modified Files:
ewl_imenu_test.c ewl_media_test.c
Log Message:
More stock buttons, but I still need to add the themes for them.
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/test/ewl_imenu_test.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -3 -r1.12 -r1.13
--- ewl_imenu_test.c 13 May 2004 06:03:01 -0000 1.12
+++ ewl_imenu_test.c 16 Jul 2004 20:09:37 -0000 1.13
@@ -72,6 +72,7 @@
* Create the menu
*/
imenu1 = ewl_imenu_new(NULL, "test menu");
+ ewl_object_set_fill_policy(EWL_OBJECT(imenu1), EWL_FLAG_FILL_NONE);
ewl_container_append_child(EWL_CONTAINER(imenu_box), imenu1);
ewl_callback_append(imenu1, EWL_CALLBACK_CONFIGURE,
__imenu_configure, NULL);
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/test/ewl_media_test.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- ewl_media_test.c 16 Jul 2004 14:55:01 -0000 1.3
+++ ewl_media_test.c 16 Jul 2004 20:09:37 -0000 1.4
@@ -165,17 +165,17 @@
{
Control controls [] = {
- { "Play", play_cb },
- { "Stop", stop_cb },
- { "Rew", rew_cb },
- { "FF", ff_cb },
- { "Open", open_cb },
+ { "play", play_cb },
+ { "stop", stop_cb },
+ { "rewind", rew_cb },
+ { "fast forward", ff_cb },
+ { "open", open_cb },
{ NULL, NULL }
};
int i;
for(i = 0; controls[i].name != NULL; i++) {
- o = ewl_button_new(controls[i].name);
+ o = ewl_button_with_stock_new(controls[i].name);
ewl_container_append_child(EWL_CONTAINER(b), o);
ewl_callback_append(o, EWL_CALLBACK_CLICKED,
controls[i].func, NULL);
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs