[SCM] calf/master: + JACK host: fix action names and labels in plugin menu
js at users.alioth.debian.org
js at users.alioth.debian.org
Tue May 7 15:38:24 UTC 2013
The following commit has been merged in the master branch:
commit fdba6e855b74d1af02b51162444cff2d16b03a79
Author: Krzysztof Foltman <wdev at foltman.com>
Date: Thu Nov 6 22:46:59 2008 +0000
+ JACK host: fix action names and labels in plugin menu
diff --git a/src/main_win.cpp b/src/main_win.cpp
index 74b4647..10713a9 100644
--- a/src/main_win.cpp
+++ b/src/main_win.cpp
@@ -294,10 +294,10 @@ std::string main_window::make_plugin_list(GtkActionGroup *actions)
for(unsigned int i = 0; i < plugins.size(); i++)
{
plugin_metadata_iface *p = plugins[i];
- string action_name = "Add" + string(p->get_label())+"Action";
+ string action_name = "Add" + string(p->get_id())+"Action";
s += string("<menuitem action=\"") + action_name + "\" />";
- GtkActionEntry ae = { action_name.c_str(), NULL, p->get_name(), NULL, NULL, (GCallback)add_plugin_action };
- gtk_action_group_add_actions_full(actions, &ae, 1, (gpointer)new add_plugin_params(this, p->get_label()), action_destroy_notify);
+ GtkActionEntry ae = { action_name.c_str(), NULL, p->get_label(), NULL, NULL, (GCallback)add_plugin_action };
+ gtk_action_group_add_actions_full(actions, &ae, 1, (gpointer)new add_plugin_params(this, p->get_id()), action_destroy_notify);
delete p;
}
plugins.clear();
--
calf audio plugins packaging
More information about the pkg-multimedia-commits
mailing list