Enlightenment CVS committal

Author  : titan
Project : e17
Module  : apps/ephoto

Dir     : e17/apps/ephoto/src/bin


Modified Files:
        ephoto_exif.c ephoto_main.c 


Log Message:
Small exif fix and small edit view fix.

===================================================================
RCS file: /cvs/e/e17/apps/ephoto/src/bin/ephoto_exif.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- ephoto_exif.c       15 Feb 2007 10:20:21 -0000      1.1
+++ ephoto_exif.c       16 Feb 2007 05:06:34 -0000      1.2
@@ -58,15 +58,15 @@
 {
        char *img;
 
-        if (ewl_widget_onscreen_is(fbox_vbox))
+        if (VISIBLE(fbox_vbox))
         {
                 img = (char *)ewl_widget_name_get(currentf);
         }
-        else if (ewl_widget_onscreen_is(list_vbox))
+        else if (VISIBLE(list_vbox))
         {
                 img = (char *)ewl_widget_name_get(currenti);
         }
-        else if (ewl_widget_onscreen_is(edit_vbox))
+        else if (VISIBLE(edit_vbox))
         {
                 img = (char *)ewl_image_file_path_get(EWL_IMAGE(eimage));
         }
===================================================================
RCS file: /cvs/e/e17/apps/ephoto/src/bin/ephoto_main.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- ephoto_main.c       15 Feb 2007 10:20:21 -0000      1.1
+++ ephoto_main.c       16 Feb 2007 05:06:34 -0000      1.2
@@ -153,6 +153,8 @@
        ewl_notebook_page_tab_text_set(EWL_NOTEBOOK(view_box), edit_vbox, 
"Edit");
        
        eimage = add_image(edit_vbox, NULL, 0, NULL, NULL);
+       ewl_object_alignment_set(EWL_OBJECT(eimage), EWL_FLAG_ALIGN_CENTER);
+       ewl_object_fill_policy_set(EWL_OBJECT(eimage), EWL_FLAG_FILL_SHRINK);
 
        list_vbox = ewl_vbox_new();
        ewl_object_fill_policy_set(EWL_OBJECT(list_vbox), EWL_FLAG_FILL_ALL);



-------------------------------------------------------------------------
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