#include "map-repo.h"
static void
-track_tree_view_update_store(GtkWidget *tree_view, Path *track)
+path_tree_view_update_store(GtkWidget *tree_view, Path *path)
{
GtkListStore *store;
-store=path_generate_store(track);
+store=path_generate_store(path);
if (store!=NULL) {
gtk_tree_view_set_model(tree_view, store);
g_object_unref(G_OBJECT(store));
menu_cb_route_download(GtkAction * action)
{
route_download(NULL);
-track_tree_view_update_store(route_tree_view, &_route);
+path_tree_view_update_store(route_tree_view, &_route);
return TRUE;
}
GtkListStore *store;
route_open_file();
-track_tree_view_update_store(route_tree_view, &_route);
+path_tree_view_update_store(route_tree_view, &_route);
return TRUE;
}
menu_cb_track_open(GtkAction * action)
{
track_open();
-track_tree_view_update_store(track_tree_view, &_track);
+path_tree_view_update_store(track_tree_view, &_track);
return TRUE;
}
menu_cb_track_save(GtkAction * action)
{
track_save();
-track_tree_view_update_store(track_tree_view, &_track);
+path_tree_view_update_store(track_tree_view, &_track);
return TRUE;
}
menu_cb_track_insert_break(GtkAction * action)
{
track_insert_break();
-track_tree_view_update_store(track_tree_view, &_track);
+path_tree_view_update_store(track_tree_view, &_track);
return TRUE;
}
menu_cb_track_insert_mark(GtkAction * action)
{
track_insert_mark();
-track_tree_view_update_store(track_tree_view, &_track);
+path_tree_view_update_store(track_tree_view, &_track);
return TRUE;
}
menu_cb_track_clear(GtkAction * action)
{
track_clear();
-track_tree_view_update_store(track_tree_view, &_track);
+path_tree_view_update_store(track_tree_view, &_track);
return TRUE;
}