70 |
{ "manual_goto_lon", STORE_FLOAT, OFFSET(manual_goto.lon) }, |
{ "manual_goto_lon", STORE_FLOAT, OFFSET(manual_goto.lon) }, |
71 |
{ "gps_lat", STORE_FLOAT, OFFSET(gps.lat) }, |
{ "gps_lat", STORE_FLOAT, OFFSET(gps.lat) }, |
72 |
{ "gps_lon", STORE_FLOAT, OFFSET(gps.lon) }, |
{ "gps_lon", STORE_FLOAT, OFFSET(gps.lon) }, |
|
{ "load_images", STORE_BOOL, OFFSET(load_images) }, |
|
73 |
{ "search_in", STORE_INT, OFFSET(search) }, |
{ "search_in", STORE_INT, OFFSET(search) }, |
74 |
{ "search_days", STORE_INT, OFFSET(search_days) }, |
{ "search_days", STORE_INT, OFFSET(search_days) }, |
75 |
{ "search_str", STORE_STRING, OFFSET(search_str) }, |
{ "search_str", STORE_STRING, OFFSET(search_str) }, |
313 |
appdata->search = SEARCH_NAME | SEARCH_ID; |
appdata->search = SEARCH_NAME | SEARCH_ID; |
314 |
|
|
315 |
if(!appdata->image_path) { |
if(!appdata->image_path) { |
|
/* if we get here, there's no config at all yet. So this is a */ |
|
|
/* good place to set all kinds of useful defaults */ |
|
|
appdata->load_images = TRUE; |
|
|
|
|
316 |
|
|
317 |
#ifndef USE_MAEMO |
#ifndef USE_MAEMO |
318 |
char *p = getenv("HOME"); |
char *p = getenv("HOME"); |