202 |
GtkTreeIter iter; |
GtkTreeIter iter; |
203 |
GtkTreeModel *model = gtk_tree_view_get_model(treeview); |
GtkTreeModel *model = gtk_tree_view_get_model(treeview); |
204 |
|
|
205 |
|
#ifdef USE_MAEMO |
206 |
/* check if a cache is already selected and ignore click if yes */ |
/* check if a cache is already selected and ignore click if yes */ |
207 |
/* (was probably a double click) */ |
/* (was probably a double click) */ |
208 |
if(appdata->cur_cache) return; |
if(appdata->cur_cache) return; |
209 |
|
#endif |
210 |
|
|
211 |
if(gtk_tree_model_get_iter(model, &iter, path)) { |
if(gtk_tree_model_get_iter(model, &iter, path)) { |
212 |
cache_t *cache; |
cache_t *cache; |
719 |
GtkTreeIter iter; |
GtkTreeIter iter; |
720 |
GtkTreeModel *model = gtk_tree_view_get_model(treeview); |
GtkTreeModel *model = gtk_tree_view_get_model(treeview); |
721 |
|
|
722 |
|
#ifdef USE_MAEMO |
723 |
/* check if a cache is already selected and ignore click if yes */ |
/* check if a cache is already selected and ignore click if yes */ |
724 |
/* (was probably a double click) */ |
/* (was probably a double click) */ |
725 |
if(appdata->cur_gpx) return; |
if(appdata->cur_gpx) return; |
726 |
|
#endif |
727 |
|
|
728 |
if (gtk_tree_model_get_iter(model, &iter, path)) { |
if (gtk_tree_model_get_iter(model, &iter, path)) { |
729 |
gpx_t *gpx; |
gpx_t *gpx; |