Enlightenment CVS committal

Author  : titan
Project : e17
Module  : proto

Dir     : e17/proto/ephoto/src


Modified Files:
        ephoto_callbacks.c ephoto_viewer.c 


Log Message:
More correct zoom

===================================================================
RCS file: /cvs/e/e17/proto/ephoto/src/ephoto_callbacks.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -3 -r1.30 -r1.31
--- ephoto_callbacks.c  1 Oct 2006 00:38:45 -0000       1.30
+++ ephoto_callbacks.c  3 Oct 2006 01:50:29 -0000       1.31
@@ -64,7 +64,6 @@
   ewl_callback_append(row, EWL_CALLBACK_CLICKED, populate_images, NULL);
   ewl_widget_name_set(row, full_path);
  }
- ewl_widget_configure(m->albums);
 }
 
 void populate_browser(Ewl_Widget *w, void *event, void *data)
@@ -131,7 +130,6 @@
   ewl_callback_append(row, EWL_CALLBACK_CLICKED, populate_images, NULL);
   ewl_widget_name_set(row, file);
  }
- ewl_widget_configure(m->browser);
 }
 
 void populate_images(Ewl_Widget *w, void *event, void *data)
@@ -226,6 +224,8 @@
   ewl_object_alignment_set(EWL_OBJECT(image), EWL_FLAG_ALIGN_CENTER);
   ewl_widget_show(image);
  }
+ ewl_widget_configure(m->albums);
+ ewl_widget_configure(m->browser);
  ewl_widget_configure(m->viewer_freebox);
  ewl_widget_configure(m->viewer);
  ecore_list_destroy(ls);
===================================================================
RCS file: /cvs/e/e17/proto/ephoto/src/ephoto_viewer.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -3 -r1.12 -r1.13
--- ephoto_viewer.c     1 Oct 2006 05:31:58 -0000       1.12
+++ ephoto_viewer.c     3 Oct 2006 01:50:29 -0000       1.13
@@ -33,7 +33,7 @@
  
  ewl_object_current_size_get(EWL_OBJECT(image_view), &ow, &oh);
  
- ewl_image_size_set(EWL_IMAGE(image_view), ow*1.5, oh*1.5);
+ ewl_image_size_set(EWL_IMAGE(image_view), ow*2, oh*2);
  ewl_widget_reparent(image_view); 
 
  ewl_widget_configure(ibox);
@@ -45,7 +45,7 @@
  
  ewl_object_current_size_get(EWL_OBJECT(image_view), &ow, &oh);
  
- ewl_image_size_set(EWL_IMAGE(image_view), ow/1.5, oh/1.5);
+ ewl_image_size_set(EWL_IMAGE(image_view), ow/2, oh/2);
  ewl_widget_reparent(image_view);
 
  ewl_widget_configure(ibox);



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