diff options
author | David Robillard <d@drobilla.net> | 2011-08-21 05:51:10 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-08-21 05:51:10 +0000 |
commit | adbaa4696702d529dcba026d952792d669904012 (patch) | |
tree | 5faf6041d7f8523081d4cf0f19fab7a30fa55cdc | |
parent | 08626688ff9cbfe17fd62630fcd71f85a0affdbe (diff) | |
download | jalv-adbaa4696702d529dcba026d952792d669904012.tar.gz jalv-adbaa4696702d529dcba026d952792d669904012.tar.bz2 jalv-adbaa4696702d529dcba026d952792d669904012.zip |
Set Window title from plugin name.
git-svn-id: http://svn.drobilla.net/lad/trunk/jalv@3443 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r-- | src/jalv_gtk2.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/jalv_gtk2.c b/src/jalv_gtk2.c index 7d5bd5a..2365462 100644 --- a/src/jalv_gtk2.c +++ b/src/jalv_gtk2.c @@ -63,6 +63,8 @@ jalv_open_ui(Jalv* jalv, G_CALLBACK(destroy), NULL); gtk_container_set_border_width(GTK_CONTAINER(window), 8); + gtk_window_set_title(GTK_WINDOW(window), + lilv_node_as_string(lilv_plugin_get_name(jalv->plugin))); if (instance) { GtkWidget* widget = (GtkWidget*)suil_instance_get_widget(instance); |