Enlightenment CVS committal
Author : titan
Project : e17
Module : proto
Dir : e17/proto/ephoto/src
Modified Files:
ephoto_slideshow.c
Log Message:
Add the images that the configure dialog uses into ephoto.
===================================================================
RCS file: /cvs/e/e17/proto/ephoto/src/ephoto_slideshow.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -3 -r1.16 -r1.17
--- ephoto_slideshow.c 30 Sep 2006 19:38:07 -0000 1.16
+++ ephoto_slideshow.c 5 Oct 2006 23:08:45 -0000 1.17
@@ -488,7 +488,9 @@
ewl_widget_show(hbox);
save = ewl_button_new();
- ewl_button_stock_type_set(EWL_BUTTON(save), EWL_STOCK_SAVE);
+ ewl_button_image_set(EWL_BUTTON(save),
+ PACKAGE_DATA_DIR "/images/stock_save.png", NULL);
+ ewl_button_label_set(EWL_BUTTON(save), "save");
ewl_container_child_append(EWL_CONTAINER(hbox), save);
ewl_object_fill_policy_set(EWL_OBJECT(save), EWL_FLAG_FILL_SHRINK);
ewl_object_alignment_set(EWL_OBJECT(save), EWL_FLAG_ALIGN_CENTER);
@@ -496,7 +498,9 @@
ewl_widget_show(save);
cancel = ewl_button_new();
- ewl_button_stock_type_set(EWL_BUTTON(cancel), EWL_STOCK_CANCEL);
+ ewl_button_image_set(EWL_BUTTON(cancel),
+ PACKAGE_DATA_DIR "/images/dialog-close.png", NULL);
+ ewl_button_label_set(EWL_BUTTON(cancel), "cancel");
ewl_container_child_append(EWL_CONTAINER(hbox), cancel);
ewl_object_fill_policy_set(EWL_OBJECT(cancel), EWL_FLAG_FILL_SHRINK);
ewl_object_alignment_set(EWL_OBJECT(cancel), 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