535 |
appdata->cachelist_handler_id = |
appdata->cachelist_handler_id = |
536 |
gtk_timeout_add(CACHELIST_UPDATE_TIMEOUT, cachelist_update, appdata); |
gtk_timeout_add(CACHELIST_UPDATE_TIMEOUT, cachelist_update, appdata); |
537 |
|
|
|
#ifdef ENABLE_OSM_GPS_MAP |
|
|
map_update(appdata); |
|
|
#endif |
|
|
|
|
538 |
/* update timer is being reset if the user scrolls or selects */ |
/* update timer is being reset if the user scrolls or selects */ |
539 |
g_signal_connect(view, "button-press-event", |
g_signal_connect(view, "button-press-event", |
540 |
(GCallback)cachelist_update_reset0, appdata); |
(GCallback)cachelist_update_reset0, appdata); |
587 |
} |
} |
588 |
appdata->cur_gpx = NULL; |
appdata->cur_gpx = NULL; |
589 |
|
|
590 |
|
#ifdef ENABLE_OSM_GPS_MAP |
591 |
|
map_update(appdata); |
592 |
|
#endif |
593 |
|
|
594 |
/* restore cur_view */ |
/* restore cur_view */ |
595 |
appdata->cur_view = g_object_get_data(G_OBJECT(widget), "cur_view"); |
appdata->cur_view = g_object_get_data(G_OBJECT(widget), "cur_view"); |
596 |
} |
} |
617 |
G_CALLBACK(on_cachelist_destroy), appdata); |
G_CALLBACK(on_cachelist_destroy), appdata); |
618 |
|
|
619 |
gtk_widget_show_all(window); |
gtk_widget_show_all(window); |
620 |
|
|
621 |
|
#ifdef ENABLE_OSM_GPS_MAP |
622 |
|
map_update(appdata); |
623 |
|
#endif |
624 |
} |
} |
625 |
#endif |
#endif |
626 |
#endif |
#endif |
2140 |
|
|
2141 |
gtk_widget_show_all(crumb->appdata->vbox); |
gtk_widget_show_all(crumb->appdata->vbox); |
2142 |
g_free(data); |
g_free(data); |
2143 |
|
|
2144 |
|
#ifdef ENABLE_OSM_GPS_MAP |
2145 |
|
map_update(crumb->appdata); |
2146 |
|
#endif |
2147 |
} |
} |
2148 |
|
|
2149 |
static void crumb_add(appdata_t *appdata, char *name, int level, |
static void crumb_add(appdata_t *appdata, char *name, int level, |
2190 |
#else |
#else |
2191 |
bct_push_text(appdata->bct, name, crumb, (GDestroyNotify)crumb_back); |
bct_push_text(appdata->bct, name, crumb, (GDestroyNotify)crumb_back); |
2192 |
#endif |
#endif |
2193 |
|
|
2194 |
|
#ifdef ENABLE_OSM_GPS_MAP |
2195 |
|
map_update(appdata); |
2196 |
|
#endif |
2197 |
} |
} |
2198 |
#endif // USE_BREAD_CRUMB_TRAIL |
#endif // USE_BREAD_CRUMB_TRAIL |
2199 |
|
|