aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen 'Okra' Houston <smhouston88@gmail.com>2017-09-14 11:50:38 -0500
committerStephen 'Okra' Houston <smhouston88@gmail.com>2017-09-14 11:50:38 -0500
commit223076607ea045680579f96ca2cbabfff7cf3799 (patch)
tree25a5c76132dac3af24002a49b481f533ea36ef34
parentEphoto: Make thumbnailer work correctly. (diff)
downloadephoto-223076607ea045680579f96ca2cbabfff7cf3799.tar.gz
Ephoto: Install images to the correct location.
-rw-r--r--data/images/meson.build2
-rw-r--r--src/bin/ephoto_config.c3
2 files changed, 4 insertions, 1 deletions
diff --git a/data/images/meson.build b/data/images/meson.build
index 0764532..d9cd990 100644
--- a/data/images/meson.build
+++ b/data/images/meson.build
@@ -1,4 +1,4 @@
install_data('ephoto.png',
'grid.png',
'single.png',
- install_dir: join_paths(dir_data, 'icons'))
+ install_dir: join_paths(dir_data, 'ephoto/images'))
diff --git a/src/bin/ephoto_config.c b/src/bin/ephoto_config.c
index 53797d1..31f711c 100644
--- a/src/bin/ephoto_config.c
+++ b/src/bin/ephoto_config.c
@@ -650,6 +650,9 @@ _ephoto_on_config_save(void *data)
snprintf(buf, sizeof(buf), "%s/ephoto/ephoto.cfg", efreet_config_home_get());
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);
if (!ef)
goto save_end;