Enlightenment CVS committal
Author : rbdpngn
Project : e17
Module : libs/ewl
Dir : e17/libs/ewl/src/bin
Modified Files:
ewl_password_test.c ewl_theme_test.c
Log Message:
Updated password API.
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/bin/ewl_password_test.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- ewl_password_test.c 3 Oct 2005 06:43:07 -0000 1.3
+++ ewl_password_test.c 5 Oct 2005 22:45:56 -0000 1.4
@@ -69,14 +69,16 @@
ewl_box_spacing_set(EWL_BOX(password_box), 10);
ewl_widget_show(password_box);
- password[0] = ewl_password_new("Play with me ?");
+ password[0] = ewl_password_new();
+ ewl_password_text_set(EWL_PASSWORD(password[0]), "Play with me ?");
ewl_object_padding_set(EWL_OBJECT(password[0]), 5, 5, 5, 0);
ewl_container_child_append(EWL_CONTAINER(password_box), password[0]);
ewl_callback_append(password[0], EWL_CALLBACK_VALUE_CHANGED,
__fetch_password_text, NULL);
ewl_widget_show(password[0]);
- password[1] = ewl_password_new("E W L ! ! !");
+ password[1] = ewl_password_new();
+ ewl_password_text_set(EWL_PASSWORD(password[1]), "E W L ! ! !");
ewl_object_padding_set(EWL_OBJECT(password[1]), 5, 5, 0, 0);
ewl_container_child_append(EWL_CONTAINER(password_box), password[1]);
ewl_callback_append(password[1], EWL_CALLBACK_VALUE_CHANGED,
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/bin/ewl_theme_test.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- ewl_theme_test.c 5 Oct 2005 06:14:06 -0000 1.7
+++ ewl_theme_test.c 5 Oct 2005 22:45:56 -0000 1.8
@@ -120,7 +120,8 @@
ewl_container_child_append (EWL_CONTAINER (vbox), misc);
ewl_widget_show (misc);
- misc = ewl_password_new ("Password entry");
+ misc = ewl_password_new ();
+ ewl_password_text_set(EWL_PASSWORD(misc), "Password entry");
ewl_object_alignment_set (EWL_OBJECT (misc), EWL_FLAG_ALIGN_LEFT);
ewl_container_child_append (EWL_CONTAINER (vbox), misc);
ewl_widget_show (misc);
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs