Enlightenment CVS committal

Author  : moom
Project : e17
Module  : libs/etk

Dir     : e17/libs/etk/src/bin


Modified Files:
        etk_tree2_test.c 


Log Message:
Lib:
----
* [Tree2] More work and some fixes
* [Widget] Add etk_widget_padding_set()
* Various fixes

Engine:
-------
* [FB engine] Fb engine now supports mouse pointers, window's titles, 
borderless window, + a lot of fixes

Theme:
------
* The widget theme has been separated from the WM theme (the WM theme is 
used by the FB engine)


===================================================================
RCS file: /cvs/e/e17/libs/etk/src/bin/etk_tree2_test.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- etk_tree2_test.c    5 Jan 2007 15:56:03 -0000       1.8
+++ etk_tree2_test.c    12 Jan 2007 02:53:55 -0000      1.9
@@ -16,7 +16,6 @@
    Etk_Tree2_Col *col1, *col2, *col3, *col4;
    Etk_Tree2_Row *row;
    Etk_Widget *statusbar;
-   Etk_Widget *alignment;
    char row_name[128];
    const char *stock_key;
    int i;
@@ -36,16 +35,12 @@
    vbox = etk_vbox_new(ETK_FALSE, 0);
    etk_container_add(ETK_CONTAINER(win), vbox);
    
-   /* TODO: we shouldn't be obliged to create an alignement to do that... */
-   alignment = etk_alignment_new(0.5, 0.5, 1.0, 1.0);
-   etk_container_border_width_set(ETK_CONTAINER(alignment), 5);
-   etk_box_append(ETK_BOX(vbox), alignment, ETK_BOX_START, 
ETK_BOX_EXPAND_FILL, 0);
-   
    /* Create the tree widget */
    tree = etk_tree2_new();
    etk_tree2_mode_set(ETK_TREE2(tree), ETK_TREE2_MODE_TREE);
    etk_tree2_multiple_select_set(ETK_TREE2(tree), ETK_TRUE);
-   etk_container_add(ETK_CONTAINER(alignment), tree);
+   etk_widget_padding_set(tree, 5, 5, 5, 5);
+   etk_box_append(ETK_BOX(vbox), tree, ETK_BOX_START, ETK_BOX_EXPAND_FILL, 0);
 
    /* We first create the columns of the tree, and then we "build" the tree 
with etk_tree2_build() */
    col1 = etk_tree2_col_new(ETK_TREE2(tree), "Column 1", 130, 0.0);



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