forked from enlightenment/enlightenment
parent
51fa371dbb
commit
c7a02b017b
|
@ -513,7 +513,7 @@ e_config_init(void)
|
|||
#define IFCFGEND }
|
||||
IFCFG(0x008d);
|
||||
e_config->show_splash = 1;
|
||||
e_config->init_default_theme = NULL;
|
||||
e_config->init_default_theme = evas_stringshare_add("init.edj");
|
||||
e_config->desktop_default_background = NULL;
|
||||
e_config->desktop_default_name = evas_stringshare_add(_("Desktop %i, %i"));
|
||||
e_config->menus_scroll_speed = 1000.0;
|
||||
|
|
|
@ -77,12 +77,17 @@ _basic_apply_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata)
|
|||
if (e_config->init_default_theme)
|
||||
evas_stringshare_del(e_config->init_default_theme);
|
||||
|
||||
if (!cfdata->init_default_theme[0])
|
||||
e_config->init_default_theme = NULL;
|
||||
else
|
||||
if (cfdata->init_default_theme)
|
||||
{
|
||||
const char *f = ecore_file_get_file(cfdata->init_default_theme);
|
||||
e_config->init_default_theme = evas_stringshare_add(f);
|
||||
if (!cfdata->init_default_theme[0])
|
||||
e_config->init_default_theme = NULL;
|
||||
else
|
||||
{
|
||||
const char *f;
|
||||
|
||||
f = ecore_file_get_file(cfdata->init_default_theme);
|
||||
e_config->init_default_theme = evas_stringshare_add(f);
|
||||
}
|
||||
}
|
||||
|
||||
e_config_save_queue();
|
||||
|
@ -196,7 +201,7 @@ _load_inits(E_Config_Dialog *cfd, Evas_Object *il)
|
|||
if (!e_util_edje_collection_exists(full_path, "init/splash")) continue;
|
||||
|
||||
ic = e_thumb_icon_add(cfd->dia->win->evas);
|
||||
e_thumb_icon_file_set(ic, full_path, "desktop/background");
|
||||
e_thumb_icon_file_set(ic, full_path, "init/splash");
|
||||
e_thumb_icon_size_set(ic, 64,
|
||||
(64 * e_zone_current_get(cfd->dia->win->container)->h) /
|
||||
e_zone_current_get(cfd->dia->win->container)->w);
|
||||
|
|
Loading…
Reference in New Issue