From 0a84f669d3d4c72c498b01b999dd89af7f917480 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 16 Sep 2004 00:02:32 +0000 Subject: update to new API show source and source_output latencies ad kill buttons to client/sink_input/source_output (incomplete) add vumeter buttons to sink/source git-svn-id: file:///home/lennart/svn/public/paman/trunk@33 cdefa82f-4ce1-0310-97f5-ab6066f37c3c --- src/ClientWindow.cc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/ClientWindow.cc') diff --git a/src/ClientWindow.cc b/src/ClientWindow.cc index b0bf5d8..6cb814e 100644 --- a/src/ClientWindow.cc +++ b/src/ClientWindow.cc @@ -12,7 +12,8 @@ ClientWindow::ClientWindow(BaseObjectType* cobject, const Glib::RefPtrget_widget("nameLabel", nameLabel); refGlade->get_widget("protocolLabel", protocolLabel); @@ -20,6 +21,7 @@ ClientWindow::ClientWindow(BaseObjectType* cobject, const Glib::RefPtrget_widget("ownerModuleLabel", ownerModuleLabel); refGlade->get_widget("closeButton", closeButton); refGlade->get_widget("toOwnerModuleButton", toOwnerModuleButton); + refGlade->get_widget("killButton", killButton); closeButton->signal_clicked().connect(sigc::mem_fun(*this, &ClientWindow::onCloseButton)); toOwnerModuleButton->signal_clicked().connect(sigc::mem_fun(*this, &ClientWindow::onToOwnerModuleButton)); @@ -33,7 +35,7 @@ ClientWindow* ClientWindow::create() { } void ClientWindow::updateInfo(const ClientInfo &i) { - char t[20], ss[PA_SAMPLE_SNPRINT_MAX_LENGTH]; + char t[20]; nameLabel->set_text(i.name); protocolLabel->set_text(i.protocol_name); @@ -58,7 +60,7 @@ void ClientWindow::onToOwnerModuleButton() { serverInfoManager->showModuleWindow(owner_module); } -bool ClientWindow::on_delete_event(GdkEventAny* e) { +bool ClientWindow::on_delete_event(GdkEventAny*) { hide(); return false; } -- cgit