]> err.no Git - mapper/commitdiff
Rename function as it's not track specific
authorKaj-Michael Lang <milang@onion.tal.org>
Mon, 3 Mar 2008 12:15:06 +0000 (14:15 +0200)
committerKaj-Michael Lang <milang@onion.tal.org>
Mon, 3 Mar 2008 12:15:06 +0000 (14:15 +0200)
src/cb.c

index 41cd62e7e4f37f69b71b7238f9125e90c2214e99..345114ebb5fb51e8010431e60b15b563a2fe982a 100644 (file)
--- a/src/cb.c
+++ b/src/cb.c
 #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));
@@ -80,7 +80,7 @@ gboolean
 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;
 }
 
@@ -90,7 +90,7 @@ menu_cb_route_open(GtkAction * action)
 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;
 }
 
@@ -129,7 +129,7 @@ gboolean
 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;
 }
 
@@ -137,7 +137,7 @@ gboolean
 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;
 }
 
@@ -145,7 +145,7 @@ gboolean
 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;
 }
 
@@ -153,7 +153,7 @@ gboolean
 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;
 }
 
@@ -182,7 +182,7 @@ gboolean
 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;
 }