summaryrefslogtreecommitdiffstats
path: root/src/ClientWindow.cc
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2005-01-08 22:33:43 +0000
committerLennart Poettering <lennart@poettering.net>2005-01-08 22:33:43 +0000
commit07752848b29988288416259360ab2ad49107f3a6 (patch)
treec243617ab88a353e84a5e2e1d16705c60eabaeb3 /src/ClientWindow.cc
parent1d1efe5311bd65b58e23547975927e5c1ddeea47 (diff)
fix paman for polypaudio 0.8
git-svn-id: file:///home/lennart/svn/public/paman/trunk@46 cdefa82f-4ce1-0310-97f5-ab6066f37c3c
Diffstat (limited to 'src/ClientWindow.cc')
-rw-r--r--src/ClientWindow.cc7
1 files changed, 4 insertions, 3 deletions
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<Gnome::Glade::Xml>& 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::RefPtr<Gnome::Gl
killButton(NULL) {
refGlade->get_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);