56 |
str = g_strdup_printf("%s #%ld", item_str, id); |
str = g_strdup_printf("%s #%ld", item_str, id); |
57 |
|
|
58 |
/* add some tags ... */ |
/* add some tags ... */ |
59 |
|
/* |
60 |
|
* XXX Should we just try to present only the name or the ref (or the |
61 |
|
* alt_name, old_name, whatever) here? Hurling a load of tags in the |
62 |
|
* user's face in some unpredictable, uninformative order isn't very |
63 |
|
* friendly. |
64 |
|
* |
65 |
|
* Actually, a tag_short_desc() function would be useful in dialogs |
66 |
|
* nd user messages too. |
67 |
|
*/ |
68 |
while(tag) { |
while(tag) { |
69 |
if(!collision && info_tag_key_collision(tags, tag)) |
if(!collision && info_tag_key_collision(tags, tag)) |
70 |
collision = TRUE; |
collision = TRUE; |
457 |
|
|
458 |
if (group != CANVAS_GROUP_WAYS_OL) |
if (group != CANVAS_GROUP_WAYS_OL) |
459 |
if (way->draw.dashed) |
if (way->draw.dashed) |
460 |
canvas_item_set_dashed(map_item->item); |
canvas_item_set_dashed(map_item->item, width, way->draw.dash_length); |
461 |
|
|
462 |
/* attach map_item to ways map_item_chain */ |
/* attach map_item to ways map_item_chain */ |
463 |
map_item_chain_t **chain = &way->map_item_chain; |
map_item_chain_t **chain = &way->map_item_chain; |
2033 |
/* deleting the selected item de-selects it ... */ |
/* deleting the selected item de-selects it ... */ |
2034 |
map_item_deselect(appdata); |
map_item_deselect(appdata); |
2035 |
|
|
2036 |
|
undo_remember_delete(appdata, item.type, item.ptr); |
2037 |
|
|
2038 |
switch(item.type) { |
switch(item.type) { |
2039 |
case MAP_TYPE_NODE: |
case MAP_TYPE_NODE: |
2040 |
printf("request to delete node #%ld\n", item.node->id); |
printf("request to delete node #%ld\n", item.node->id); |