Enlightenment CVS committal

Author  : titan
Project : e17
Module  : apps/ephoto

Dir     : e17/apps/ephoto/src/bin


Modified Files:
        ephoto_edit_view.c 


Log Message:
Change order of tools a little bit.

===================================================================
RCS file: /cvs/e/e17/apps/ephoto/src/bin/ephoto_edit_view.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- ephoto_edit_view.c  18 Feb 2007 01:02:43 -0000      1.2
+++ ephoto_edit_view.c  18 Feb 2007 01:32:10 -0000      1.3
@@ -23,13 +23,7 @@
 /*Add edit tools to container c*/
 void add_edit_tools(Ewl_Widget *c)
 {
-       Ewl_Widget *image;
-
-        image = add_image(c, PACKAGE_DATA_DIR 
"/images/media-seek-backward.png", 0, previous_image, NULL);
-        ewl_image_constrain_set(EWL_IMAGE(image), 30);
-
-        image = add_image(c, PACKAGE_DATA_DIR 
"/images/media-seek-forward.png", 0, next_image, NULL);
-        ewl_image_constrain_set(EWL_IMAGE(image), 30);
+       Ewl_Widget *image, *sep;
 
        image = add_image(c, PACKAGE_DATA_DIR "/images/undo.png", 0, 
rotate_image_left, NULL);
        ewl_image_constrain_set(EWL_IMAGE(image), 30);
@@ -42,6 +36,18 @@
 
         image = add_image(c, PACKAGE_DATA_DIR "/images/go-down.png", 0, 
flip_image_vertical, NULL);
         ewl_image_constrain_set(EWL_IMAGE(image), 30);
+
+       sep = ewl_vseparator_new();
+       ewl_container_child_append(EWL_CONTAINER(c), sep);
+       ewl_widget_show(sep);
+
+        image = add_image(c, PACKAGE_DATA_DIR 
"/images/media-seek-backward.png", 0, previous_image, NULL);
+        ewl_image_constrain_set(EWL_IMAGE(image), 30);
+       ewl_object_alignment_set(EWL_OBJECT(image), EWL_FLAG_ALIGN_RIGHT);
+
+        image = add_image(c, PACKAGE_DATA_DIR 
"/images/media-seek-forward.png", 0, next_image, NULL);
+        ewl_image_constrain_set(EWL_IMAGE(image), 30);
+       ewl_object_alignment_set(EWL_OBJECT(image), EWL_FLAG_ALIGN_RIGHT);
 
        return;
 }



-------------------------------------------------------------------------
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
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to