Enlightenment CVS committal

Author  : titan
Project : e17
Module  : proto

Dir     : e17/proto/ephoto/src/bin


Modified Files:
        ephoto.c ephoto_gui.c 


Log Message:
More behind the scenes work.

===================================================================
RCS file: /cvs/e/e17/proto/ephoto/src/bin/ephoto.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- ephoto.c    2 Dec 2006 18:39:57 -0000       1.2
+++ ephoto.c    2 Dec 2006 19:33:31 -0000       1.3
@@ -8,6 +8,7 @@
                 return 1;
         }
 
+       //ewl_theme_theme_set(PACKAGE_DATA_DIR "/themes/ephoto.edj");
        init_gui();
 
        return 0;
===================================================================
RCS file: /cvs/e/e17/proto/ephoto/src/bin/ephoto_gui.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- ephoto_gui.c        2 Dec 2006 18:39:57 -0000       1.2
+++ ephoto_gui.c        2 Dec 2006 19:33:31 -0000       1.3
@@ -38,7 +38,7 @@
         ewl_window_name_set(EWL_WINDOW(win), "Ephoto!");
         ewl_window_borderless_set(EWL_WINDOW(win));
        ewl_widget_state_set(win, "splash", EWL_STATE_PERSISTENT);
-       ewl_object_size_request(EWL_OBJECT(win), 600, 400);
+       ewl_object_size_request(EWL_OBJECT(win), 325, 240);
         ewl_callback_append(win, EWL_CALLBACK_DELETE_WINDOW, destroy, NULL);
         ewl_widget_show(win);
 
@@ -47,6 +47,13 @@
         ewl_container_child_append(EWL_CONTAINER(win), vbox);
         ewl_widget_show(vbox);
 
+       text = ewl_text_new();
+       ewl_text_text_set(EWL_TEXT(text), "Version 2.15");
+       ewl_object_alignment_set(EWL_OBJECT(text), EWL_FLAG_ALIGN_LEFT);
+       ewl_object_fill_policy_set(EWL_OBJECT(text), EWL_FLAG_FILL_SHRINK);
+       ewl_container_child_append(EWL_CONTAINER(vbox), text);
+       ewl_widget_show(text);
+
        image = ewl_image_new();
        ewl_image_file_set(EWL_IMAGE(image), 
                           PACKAGE_DATA_DIR "/images/logo.png", NULL);
@@ -55,9 +62,8 @@
        ewl_widget_show(image);
 
        text = ewl_text_new();
-       ewl_text_text_set(EWL_TEXT(text), "Ephoto 2.15 - By Stephen Houston\n"
-                                         "    Icons by the Tango project  \n"
-                                         "  (http://tango.freedesktop.org)\n");
+       ewl_text_text_set(EWL_TEXT(text), "          Ephoto    \n"
+                                         "By Stephen Houston");
        ewl_object_alignment_set(EWL_OBJECT(text), EWL_FLAG_ALIGN_CENTER);
        ewl_object_fill_policy_set(EWL_OBJECT(text), EWL_FLAG_FILL_SHRINK);
        ewl_container_child_append(EWL_CONTAINER(vbox), text);
@@ -167,9 +173,7 @@
        Ewl_Widget *win, *atree, *btree, *vbox, *menu_bar, *menu, *nb, *paned;
        Ewl_Widget *ivbox, *ihbox, *sp, *image, *button;
 
-       //ewl_theme_theme_set(PACKAGE_DATA_DIR "/themes/ephoto.edj");
-
-        win = ewl_window_new();
+       win = ewl_window_new();
         ewl_window_title_set(EWL_WINDOW(win), "Ephoto!");
         ewl_window_name_set(EWL_WINDOW(win), "Ephoto!");
         ewl_object_size_request(EWL_OBJECT(win), 600, 400);



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