summaryrefslogtreecommitdiff
path: root/navit/gui/internal/gui_internal.c
diff options
context:
space:
mode:
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2013-08-23 18:26:35 +0000
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2013-08-23 18:26:35 +0000
commit75783e92005639664bf9485f9b304fad6887fe56 (patch)
treec7d641b5bee5e44ebfa166032ed91bc948a66ca3 /navit/gui/internal/gui_internal.c
parent1ee7b59cd7b28aeacbbc2829d807789f3be6fb46 (diff)
downloadnavit-75783e92005639664bf9485f9b304fad6887fe56.tar.gz
Add:gui_internal:Show item id with attributes
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5592 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/gui/internal/gui_internal.c')
-rw-r--r--navit/gui/internal/gui_internal.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/navit/gui/internal/gui_internal.c b/navit/gui/internal/gui_internal.c
index 40e6af045..51dd9bc22 100644
--- a/navit/gui/internal/gui_internal.c
+++ b/navit/gui/internal/gui_internal.c
@@ -860,6 +860,12 @@ gui_internal_cmd_view_attributes(struct gui_priv *this, struct widget *wm, void
wb->datai=count++;
g_free(text);
}
+ text=g_strdup_printf("%s:0x%x,0x%x", "ID", item->id_hi, item->id_lo);
+ gui_internal_widget_append(w,
+ wb=gui_internal_button_new(this, text,
+ NULL, gravity_left_center|orientation_horizontal|flags_fill));
+ wb->name=text;
+ wb->item=wm->item;
}
map_rect_destroy(mr);
gui_internal_menu_render(this);