Enlightenment CVS committal

Author  : titan
Project : e17
Module  : proto

Dir     : e17/proto/ephoto/src


Modified Files:
        ephoto.c 


Log Message:

Change ordering of some settings stuff.

===================================================================
RCS file: /cvs/e/e17/proto/ephoto/src/ephoto.c,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -3 -r1.56 -r1.57
--- ephoto.c    30 May 2006 20:15:39 -0000      1.56
+++ ephoto.c    2 Jun 2006 17:10:22 -0000       1.57
@@ -52,7 +52,7 @@
        /****Get db directory****/
        char *home;
        int argint = 1;
-       while ( argint < argc ) {       
+       while ( argint < argc ) {
                if ( argint < argc && !strcmp(argv[argint], "--slideshow") 
                                                && noslide != 0 ) {
                        int imageint;
@@ -553,8 +553,8 @@
                                                EWL_FLAG_ALIGN_CENTER);
                ewl_callback_append(m->vbutton, EWL_CALLBACK_CLICKED, 
                                                images_cb, NULL);
-               ewl_widget_disable(m->vbutton);
                ewl_widget_show(m->vbutton);
+               ewl_widget_disable(m->vbutton);
 
                ewl_notebook_page_tab_text_set(EWL_NOTEBOOK(m->notebook), 
                                        m->viewbox, "Simple Image Viewer");     
@@ -743,18 +743,6 @@
                ewl_radiobutton_chain_set(EWL_RADIOBUTTON(m->rad4), 
                                                EWL_RADIOBUTTON(m->fullrad));
 
-               m->zoom = ewl_checkbutton_new();
-               ewl_button_label_set(EWL_BUTTON(m->zoom), 
-                                               "Zoom Images to Fit Window");
-                ewl_container_child_append(EWL_CONTAINER(m->settings), 
m->zoom);
-                ewl_object_alignment_set(EWL_OBJECT(m->zoom), 
-                                               EWL_FLAG_ALIGN_CENTER);
-               if ( argzoom == 1 ) {
-                       ewl_checkbutton_checked_set(EWL_CHECKBUTTON(m->zoom), 
-                                                               TRUE);
-               }
-                ewl_widget_show(m->zoom);
-
                m->hboxv = ewl_hbox_new();
                ewl_container_child_append(EWL_CONTAINER(m->settings), 
                                                m->hboxv);
@@ -801,6 +789,19 @@
                ewl_container_child_append(EWL_CONTAINER(m->hboxv), m->hsize);
                ewl_text_font_size_set(EWL_TEXT(m->hsize), 10);
                ewl_widget_show(m->hsize);
+
+                m->zoom = ewl_checkbutton_new();
+                ewl_button_label_set(EWL_BUTTON(m->zoom),
+                                                "Zoom Images to Fit Window");
+                ewl_container_child_append(EWL_CONTAINER(m->settings), 
m->zoom);
+                ewl_object_alignment_set(EWL_OBJECT(m->zoom),
+                                                EWL_FLAG_ALIGN_CENTER);
+                if ( argzoom == 1 ) {
+                        ewl_checkbutton_checked_set(EWL_CHECKBUTTON(m->zoom),
+                                                                TRUE);
+                }
+                ewl_widget_show(m->zoom);
+
 
                m->text = ewl_text_new();
                ewl_container_child_append(EWL_CONTAINER(m->settings), m->text);




_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to