From 07752848b29988288416259360ab2ad49107f3a6 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sat, 8 Jan 2005 22:33:43 +0000 Subject: fix paman for polypaudio 0.8 git-svn-id: file:///home/lennart/svn/public/paman/trunk@46 cdefa82f-4ce1-0310-97f5-ab6066f37c3c --- src/ClientWindow.cc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/ClientWindow.cc') diff --git a/src/ClientWindow.cc b/src/ClientWindow.cc index 01f3ecf..014095b 100644 --- a/src/ClientWindow.cc +++ b/src/ClientWindow.cc @@ -8,7 +8,7 @@ ClientWindow::ClientWindow(BaseObjectType* cobject, const Glib::RefPtr& refGlade) : Gtk::Window(cobject), nameLabel(NULL), - protocolLabel(NULL), + typeidLabel(NULL), indexLabel(NULL), ownerModuleLabel(NULL), closeButton(NULL), @@ -16,7 +16,7 @@ ClientWindow::ClientWindow(BaseObjectType* cobject, const Glib::RefPtrget_widget("nameLabel", nameLabel); - refGlade->get_widget("protocolLabel", protocolLabel); + refGlade->get_widget("typeidLabel", typeidLabel); refGlade->get_widget("indexLabel", indexLabel); refGlade->get_widget("ownerModuleLabel", ownerModuleLabel); refGlade->get_widget("closeButton", closeButton); @@ -39,7 +39,8 @@ void ClientWindow::updateInfo(const ClientInfo &i) { char t[20]; nameLabel->set_text(i.name); - protocolLabel->set_text(i.protocol_name); + + typeidLabel->set_text(pa_typeid_to_string(i._typeid, t, sizeof(t))); snprintf(t, sizeof(t), "#%u", i.index); indexLabel->set_text(t); -- cgit