Enlightenment CVS committal
Author : pfritz
Project : e17
Module : libs/ewl
Dir : e17/libs/ewl/tools/ewl_config
Modified Files:
ewl_config.c
Log Message:
ewl_button_stock_type_set/get() -> ewl_stock_type_set/get()
===================================================================
RCS file: /cvs/e/e17/libs/ewl/tools/ewl_config/ewl_config.c,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -3 -r1.38 -r1.39
--- ewl_config.c 16 Nov 2006 15:44:39 -0000 1.38
+++ ewl_config.c 30 Nov 2006 19:52:04 -0000 1.39
@@ -207,7 +207,7 @@
ewl_widget_show(o2);
o = ewl_button_new();
- ewl_button_stock_type_set(EWL_BUTTON(o), EWL_STOCK_APPLY);
+ ewl_stock_type_set(EWL_STOCK(o), EWL_STOCK_APPLY);
ewl_container_child_append(EWL_CONTAINER(o2), o);
ewl_callback_append(o, EWL_CALLBACK_CLICKED, ec_cb_apply, NULL);
ewl_object_fill_policy_set(EWL_OBJECT(o), EWL_FLAG_FILL_VFILL);
@@ -225,7 +225,7 @@
ewl_widget_show(o);
o = ewl_button_new();
- ewl_button_stock_type_set(EWL_BUTTON(o), EWL_STOCK_QUIT);
+ ewl_stock_type_set(EWL_STOCK(o), EWL_STOCK_QUIT);
ewl_container_child_append(EWL_CONTAINER(o2), o);
ewl_callback_append(o, EWL_CALLBACK_CLICKED, ec_cb_delete_window, NULL);
ewl_object_fill_policy_set(EWL_OBJECT(o), EWL_FLAG_FILL_VFILL);
@@ -604,7 +604,7 @@
o = ewl_button_new();
ewl_container_child_append(EWL_CONTAINER(box), o);
- ewl_button_stock_type_set(EWL_BUTTON(o), EWL_STOCK_OK);
+ ewl_stock_type_set(EWL_STOCK(o), EWL_STOCK_OK);
ewl_object_fill_policy_set(EWL_OBJECT(o), EWL_FLAG_FILL_SHRINK);
ewl_callback_append(o, EWL_CALLBACK_CLICKED, ec_cb_win_hide, about);
ewl_object_alignment_set(EWL_OBJECT(o), EWL_FLAG_ALIGN_CENTER);
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs