diff options
author | Hanspeter Portner <dev@open-music-kontrollers.ch> | 2015-06-30 11:05:05 +0200 |
---|---|---|
committer | Hanspeter Portner <dev@open-music-kontrollers.ch> | 2015-06-30 11:05:05 +0200 |
commit | 6892a941602d9dfda2a3623ed6033fbf8dafb528 (patch) | |
tree | 8c3634bf046803283c27337e67b853a061a768d5 /lib | |
parent | 66baac218c2056d32eef1a82d25110db592d663c (diff) | |
download | synthpod-6892a941602d9dfda2a3623ed6033fbf8dafb528.tar.xz |
how plugin UID in modlist title.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/synthpod_ui.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/synthpod_ui.c b/lib/synthpod_ui.c index 7c15078e..4a2a399c 100644 --- a/lib/synthpod_ui.c +++ b/lib/synthpod_ui.c @@ -2785,7 +2785,10 @@ _modlist_content_get(void *data, Evas_Object *obj, const char *part) { const char *name_str = lilv_node_as_string(name_node); lilv_node_free(name_node); - elm_layout_text_set(lay, "elm.text", name_str); + char *title = NULL; + asprintf(&title, "%s (%u)", name_str, mod->uid); + elm_layout_text_set(lay, "elm.text", title ? title : name_str); + free(title); } char col [7]; |