forked from enlightenment/ephoto
Ephoto: Install images to the correct location.
This commit is contained in:
parent
c50e7b2bc1
commit
223076607e
|
@ -1,4 +1,4 @@
|
||||||
install_data('ephoto.png',
|
install_data('ephoto.png',
|
||||||
'grid.png',
|
'grid.png',
|
||||||
'single.png',
|
'single.png',
|
||||||
install_dir: join_paths(dir_data, 'icons'))
|
install_dir: join_paths(dir_data, 'ephoto/images'))
|
||||||
|
|
|
@ -650,6 +650,9 @@ _ephoto_on_config_save(void *data)
|
||||||
snprintf(buf, sizeof(buf), "%s/ephoto/ephoto.cfg", efreet_config_home_get());
|
snprintf(buf, sizeof(buf), "%s/ephoto/ephoto.cfg", efreet_config_home_get());
|
||||||
snprintf(buf2, sizeof(buf2), "%s.tmp", buf);
|
snprintf(buf2, sizeof(buf2), "%s.tmp", buf);
|
||||||
|
|
||||||
|
if (ephoto->config->window_width < 15) ephoto->config->window_width = 15;
|
||||||
|
if (ephoto->config->window_height < 15) ephoto->config->window_height = 15;
|
||||||
|
|
||||||
ef = eet_open(buf2, EET_FILE_MODE_WRITE);
|
ef = eet_open(buf2, EET_FILE_MODE_WRITE);
|
||||||
if (!ef)
|
if (!ef)
|
||||||
goto save_end;
|
goto save_end;
|
||||||
|
|
Loading…
Reference in New Issue