diff options
author | Carsten Haitzler <raster@rasterman.com> | 2008-10-18 05:21:05 +0000 |
---|---|---|
committer | Carsten Haitzler <raster@rasterman.com> | 2008-10-18 05:21:05 +0000 |
commit | 51bceda65d5daf0b5a8b590a1c3781102343107e (patch) | |
tree | df04928e848a8b3c6efc08e3389de4ee6499d8fb /src/modules/ibar | |
parent | 9efea759291c08b878862ecf1137ef7a3e907b6a (diff) | |
download | enlightenment-51bceda65d5daf0b5a8b590a1c3781102343107e.tar.gz |
remove tlist - really... hardly used. dubiously usefl as ilist does it just
with added icons. use the icons anyway. less theme and code to maintain.
SVN revision: 36768
Diffstat (limited to 'src/modules/ibar')
-rw-r--r-- | src/modules/ibar/e_mod_config.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/modules/ibar/e_mod_config.c b/src/modules/ibar/e_mod_config.c index 741c7a2b9b..85a42bf14d 100644 --- a/src/modules/ibar/e_mod_config.c +++ b/src/modules/ibar/e_mod_config.c @@ -99,7 +99,7 @@ _basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cf o = e_widget_list_add(evas, 0, 0); of = e_widget_frametable_add(evas, _("Selected Bar Source"), 0); - ol = e_widget_tlist_add(evas, &(cfdata->dir)); + ol = e_widget_ilist_add(evas, 32, 32, &(cfdata->dir)); cfdata->tlist = ol; _load_tlist(cfdata); e_widget_min_size_set(ol, 140, 140); @@ -265,7 +265,7 @@ _load_tlist(E_Config_Dialog_Data *cfdata) char buf[4096], *file; int selnum = -1; - e_widget_tlist_clear(cfdata->tlist); + e_widget_ilist_clear(cfdata->tlist); home = e_user_homedir_get(); snprintf(buf, sizeof(buf), "%s/.e/e/applications/bar", home); @@ -282,7 +282,7 @@ _load_tlist(E_Config_Dialog_Data *cfdata) snprintf(buf, sizeof(buf), "%s/.e/e/applications/bar/%s", home, file); if (ecore_file_is_dir(buf)) { - e_widget_tlist_append(cfdata->tlist, file, NULL, NULL, file); + e_widget_ilist_append(cfdata->tlist, NULL, file, NULL, NULL, file); if ((cfdata->dir) && (!strcmp(cfdata->dir, file))) selnum = i; i++; @@ -290,9 +290,9 @@ _load_tlist(E_Config_Dialog_Data *cfdata) } ecore_list_destroy(dirs); } - e_widget_tlist_go(cfdata->tlist); + e_widget_ilist_go(cfdata->tlist); if (selnum >= 0) - e_widget_tlist_selected_set(cfdata->tlist, selnum); + e_widget_ilist_selected_set(cfdata->tlist, selnum); } static void |