Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/tools/ewl_config


Modified Files:
        ewl_config.c 


Log Message:
- api break. covert ewl_list over to the ewl_mvc selection code
- make the ewl_mvc selection code remove selected indices if the widget is
  deleted/hidden.

===================================================================
RCS file: /cvs/e/e17/libs/ewl/tools/ewl_config/ewl_config.c,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -3 -r1.34 -r1.35
--- ewl_config.c        3 Oct 2006 05:17:13 -0000       1.34
+++ ewl_config.c        3 Oct 2006 05:52:02 -0000       1.35
@@ -367,7 +367,7 @@
        }
        closedir(rep);
 
-       ewl_list_selected_index_set(EWL_LIST(o), sel);
+       ewl_mvc_selected_set(EWL_MVC(o), sel);
        ewl_mvc_dirty_set(EWL_MVC(o), TRUE);
 
        o2 = ewl_border_new();
@@ -660,7 +660,7 @@
                        break;
                sel++;
        }
-       ewl_list_selected_index_set(EWL_LIST(o), sel);
+       ewl_mvc_selected_set(EWL_MVC(o), sel);
 
        o = ewl_widget_name_find(EC_ICON_SIZE);
        list = ewl_mvc_data_get(EWL_MVC(o));
@@ -781,7 +781,7 @@
 
        o = ewl_widget_name_find(EC_EWL_THEME);
        list = ewl_mvc_data_get(EWL_MVC(o));
-       i = ewl_list_selected_index_get(EWL_LIST(o));
+       i = ewl_mvc_selected_get(EWL_MVC(o));
        if (i > -1)
        {
                ecore_list_goto_index(list, i);



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