Enlightenment CVS committal

Author  : moom
Project : e17
Module  : libs/etk

Dir     : e17/libs/etk/src/bin


Modified Files:
        etk_filechooser_test.c 


Log Message:
* [Dialog] API change of:
      - etk_dialog_action_area_alignment_get()
      - etk_dialog_pack_widget_in_action_area()
      - etk_dialog_pack_button_in_action_area()
     New functions:
      - etk_dialog_main_area_vbox_set/get() and
      - etk_dialog_action_area_homogeneous_set/get()
      - etk_dialog_button_response_id_set/get()
     Doc++
     
* [Combobox] API change of: etk_combobox_item_prev_set/get()



===================================================================
RCS file: /cvs/e/e17/libs/etk/src/bin/etk_filechooser_test.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- etk_filechooser_test.c      17 Feb 2007 17:27:08 -0000      1.4
+++ etk_filechooser_test.c      10 Mar 2007 03:18:35 -0000      1.5
@@ -14,13 +14,13 @@
    
    dialog = etk_dialog_new();
    etk_window_title_set(ETK_WINDOW(dialog), "Etk Filechooser Test");
-   etk_signal_connect("delete_event", ETK_OBJECT(dialog), 
ETK_CALLBACK(etk_window_hide_on_delete), NULL);      
+   etk_signal_connect("delete_event", ETK_OBJECT(dialog), 
ETK_CALLBACK(etk_window_hide_on_delete), NULL);
    
    filechooser = etk_filechooser_widget_new();
-   etk_dialog_pack_in_main_area(ETK_DIALOG(dialog), filechooser, ETK_TRUE, 
ETK_TRUE, 0, ETK_FALSE);
-   etk_dialog_button_add(ETK_DIALOG(dialog), "Open", 1);
-   etk_dialog_button_add(ETK_DIALOG(dialog), "Close", 2);
-   etk_dialog_action_area_alignment_set(ETK_DIALOG(dialog), 1.0);
+   etk_dialog_pack_in_main_area(ETK_DIALOG(dialog), filechooser, 
ETK_BOX_START, ETK_BOX_EXPAND_FILL, 0);
+   etk_dialog_button_add_from_stock(ETK_DIALOG(dialog), 
ETK_STOCK_DOCUMENT_OPEN, 1);
+   etk_dialog_button_add_from_stock(ETK_DIALOG(dialog), 
ETK_STOCK_DIALOG_CLOSE, 2);
+   //etk_dialog_action_area_alignment_set(ETK_DIALOG(dialog), 1.0);
    
    etk_widget_show_all(dialog);
 }



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