Enlightenment CVS committal

Author  : titan
Project : e17
Module  : apps/ephoto

Dir     : e17/apps/ephoto/src/bin


Modified Files:
        ephoto_browsing.c ephoto_single_view.c 


Log Message:
Minor changes, make the list from file system images a dlist, and better align 
the image seek buttons on single view.

===================================================================
RCS file: /cvs/e/e17/apps/ephoto/src/bin/ephoto_browsing.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- ephoto_browsing.c   24 Feb 2007 22:57:09 -0000      1.3
+++ ephoto_browsing.c   19 Apr 2007 23:31:18 -0000      1.4
@@ -57,8 +57,8 @@
         if (ecore_file_is_dir(directory))
         {
                 ls = ecore_list_new();
-                files = ecore_list_new();
-               ecore_list_set_free_cb(files, free);
+                files = ecore_dlist_new();
+               ecore_dlist_set_free_cb(files, free);
 
                 ls = ecore_file_ls(directory);
                 while (!ecore_list_is_empty(ls))
@@ -78,15 +78,15 @@
                                 }
                                if (fnmatch("*.[Jj][Pp][Ee][Gg]", path, 0) == 0)
                                {
-                                       ecore_list_append(files, strdup(path));
+                                       ecore_dlist_append(files, strdup(path));
                                }
                                else if (fnmatch("*.[Jj][Pp][Gg]", path, 0) == 
0)
                                {
-                                       ecore_list_append(files, strdup(path));
+                                       ecore_dlist_append(files, strdup(path));
                                }
                                else if (fnmatch("*.[Pp][Nn][Gg]", path, 0) == 
0)
                                {
-                                       ecore_list_append(files, strdup(path));
+                                       ecore_dlist_append(files, strdup(path));
                                }
                        }
                }
@@ -95,6 +95,6 @@
        {
                files = NULL;
        }
-       ecore_list_goto_first(files);
+       ecore_dlist_goto_first(files);
        return files;
 }
===================================================================
RCS file: /cvs/e/e17/apps/ephoto/src/bin/ephoto_single_view.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- ephoto_single_view.c        19 Apr 2007 04:09:15 -0000      1.2
+++ ephoto_single_view.c        19 Apr 2007 23:31:19 -0000      1.3
@@ -7,13 +7,16 @@
 /*Add the single view*/
 Ewl_Widget *add_single_view(Ewl_Widget *c)
 {
-       Ewl_Widget *hbox, *button;
+       Ewl_Widget *hbox, *ibox, *button;
 
         em->single_vbox = add_box(c, EWL_ORIENTATION_VERTICAL, 5);
         ewl_object_fill_policy_set(EWL_OBJECT(em->single_vbox), 
EWL_FLAG_FILL_ALL);
         ewl_notebook_page_tab_text_set(EWL_NOTEBOOK(c), em->single_vbox, 
"Single");
 
-        em->simage = add_image(em->single_vbox, NULL, 0, NULL, NULL);
+       ibox = add_box(em->single_vbox, EWL_ORIENTATION_VERTICAL, 0);
+       ewl_object_fill_policy_set(EWL_OBJECT(ibox), EWL_FLAG_FILL_ALL);
+
+        em->simage = add_image(ibox, NULL, 0, NULL, NULL);
         ewl_object_alignment_set(EWL_OBJECT(em->simage), 
EWL_FLAG_ALIGN_CENTER);
         ewl_object_fill_policy_set(EWL_OBJECT(em->simage), 
EWL_FLAG_FILL_SHRINK);
 



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to