Enlightenment CVS committal Author : devilhorns Project : e17 Module : apps/e
Dir : e17/apps/e/src/bin Modified Files: e_int_config_theme.c Log Message: Disable Ok/Apply if the selected theme matches the current one =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_int_config_theme.c,v retrieving revision 1.9 retrieving revision 1.10 diff -u -3 -r1.9 -r1.10 --- e_int_config_theme.c 11 Jan 2006 09:44:05 -0000 1.9 +++ e_int_config_theme.c 14 Jan 2006 01:39:58 -0000 1.10 @@ -109,6 +109,7 @@ if (cfdata->current_theme) { tmp = ecore_file_get_file(d->file); + tmp = ecore_file_strip_ext(tmp); if (!strcmp(tmp, cfdata->current_theme)) { e_dialog_button_disable_num_set(d->cfd->dia, 0, 1); @@ -117,7 +118,6 @@ } } - /**--GUI--**/ static Evas_Object * _basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, CFData *cfdata) @@ -183,11 +183,13 @@ E_Cfg_Theme_Data *cb_data; o = e_thumb_generate_begin(fulltheme, 48, 48, cfd->dia->win->evas, &o, NULL, NULL); - noext = ecore_file_strip_ext(themefile); + noext = ecore_file_strip_ext(themefile); + cb_data = E_NEW(E_Cfg_Theme_Data, 1); cb_data->cfd = cfd; cb_data->file = strdup(fulltheme); cb_data->theme = strdup(themefile); + e_widget_ilist_append(il, o, noext, _e_config_theme_cb_standard, cb_data, themefile); if (!(strcmp(themefile, cfdata->current_theme))) { ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs