624 |
g_object_set_data(G_OBJECT(window), "cur_view", appdata->cur_view); |
g_object_set_data(G_OBJECT(window), "cur_view", appdata->cur_view); |
625 |
|
|
626 |
appdata->cur_gpx = gpx; |
appdata->cur_gpx = gpx; |
627 |
char *title = g_strdup_printf("%s - GPXView", gpx->name); |
gtk_window_set_title(GTK_WINDOW(window), gpx->name); |
|
gtk_window_set_title(GTK_WINDOW(window), title); |
|
|
g_free(title); |
|
628 |
|
|
629 |
appdata->cur_view = cachelist_create(appdata, gpx, NULL); |
appdata->cur_view = cachelist_create(appdata, gpx, NULL); |
630 |
gtk_container_add(GTK_CONTAINER(window), appdata->cur_view); |
gtk_container_add(GTK_CONTAINER(window), appdata->cur_view); |
698 |
GPXLIST_COL_OPEN, !gpx->closed, |
GPXLIST_COL_OPEN, !gpx->closed, |
699 |
GPXLIST_COL_CACHES, gpx->closed?NULL:cnum, |
GPXLIST_COL_CACHES, gpx->closed?NULL:cnum, |
700 |
#ifdef USE_PANNABLE_AREA |
#ifdef USE_PANNABLE_AREA |
701 |
GPXLIST_COL_DELETE, icon_get(ICON_MISC, 4), |
GPXLIST_COL_DELETE, icon_get(ICON_MISC, 2), |
702 |
#endif |
#endif |
703 |
GPXLIST_COL_DATA, gpx, |
GPXLIST_COL_DATA, gpx, |
704 |
-1); |
-1); |