From 72f6cf7ca0d0baaef7fb0171e0d14cce50d1ef04 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 18 Aug 2004 01:01:12 +0000 Subject: add support for statwindow git-svn-id: file:///home/lennart/svn/public/paman/trunk@15 cdefa82f-4ce1-0310-97f5-ab6066f37c3c --- src/MainWindow.cc | 38 +- src/MainWindow.hh | 13 +- src/Makefile.am | 3 +- src/ServerInfoManager.cc | 16 +- src/ServerInfoManager.hh | 4 + src/SinkInputWindow.cc | 4 +- src/SinkWindow.cc | 4 +- src/SourceOutputWindow.cc | 2 +- src/SourceWindow.cc | 2 +- src/StatWindow.cc | 77 + src/StatWindow.hh | 32 + src/paman.cc | 32 +- src/paman.glade | 3472 +++++++++++++++++++++++++++++---------------- src/paman.hh | 3 +- 14 files changed, 2429 insertions(+), 1273 deletions(-) create mode 100644 src/StatWindow.cc create mode 100644 src/StatWindow.hh (limited to 'src') diff --git a/src/MainWindow.cc b/src/MainWindow.cc index 9e385f3..ae6836c 100644 --- a/src/MainWindow.cc +++ b/src/MainWindow.cc @@ -24,13 +24,19 @@ MainWindow::MainWindow(BaseObjectType* cobject, const Glib::RefPtrget_widget("statusLabel", statusLabel); refGlade->get_widget("serverNameLabel", serverNameLabel); @@ -38,6 +44,7 @@ MainWindow::MainWindow(BaseObjectType* cobject, const Glib::RefPtrget_widget("defaultSampleTypeLabel", defaultSampleTypeLabel); refGlade->get_widget("hostNameLabel", hostNameLabel); refGlade->get_widget("userNameLabel", userNameLabel); + refGlade->get_widget("titleLabel", titleLabel); refGlade->get_widget("deviceTreeView", deviceTreeView); refGlade->get_widget("clientTreeView", clientTreeView); refGlade->get_widget("moduleTreeView", moduleTreeView); @@ -45,6 +52,11 @@ MainWindow::MainWindow(BaseObjectType* cobject, const Glib::RefPtrget_widget("clientOpenButton", clientOpenButton); refGlade->get_widget("moduleOpenButton", moduleOpenButton); refGlade->get_widget("connectButton", connectButton); + refGlade->get_widget("disconnectButton", disconnectButton); + refGlade->get_widget("linkLibraryVersionLabel", linkLibraryVersionLabel); + refGlade->get_widget("compiledLibraryVersionLabel", compiledLibraryVersionLabel); + refGlade->get_widget("statButton", statButton); + refGlade->get_widget("titleEventBox", titleEventBox); deviceTreeStore = Gtk::TreeStore::create(deviceTreeModelColumns); deviceTreeView->set_model(deviceTreeStore); @@ -65,14 +77,23 @@ MainWindow::MainWindow(BaseObjectType* cobject, const Glib::RefPtrsignal_row_activated().connect(sigc::mem_fun(*this, &MainWindow::onModuleTreeViewRowActivated)); connectButton->signal_clicked().connect(sigc::mem_fun(*this, &MainWindow::onConnectButton)); + disconnectButton->signal_clicked().connect(sigc::mem_fun(*this, &MainWindow::onDisconnectButton)); deviceOpenButton->signal_clicked().connect(sigc::mem_fun(*this, &MainWindow::onDeviceOpenButton)); clientOpenButton->signal_clicked().connect(sigc::mem_fun(*this, &MainWindow::onClientOpenButton)); moduleOpenButton->signal_clicked().connect(sigc::mem_fun(*this, &MainWindow::onModuleOpenButton)); + statButton->signal_clicked().connect(sigc::mem_fun(*this, &MainWindow::onStatButton)); + + linkLibraryVersionLabel->set_text(pa_get_library_version()); + compiledLibraryVersionLabel->set_text(pa_get_headers_version()); statusLabel->set_text("Connecting ..."); clearAllData(); + + Gdk::Color c("black"); + titleEventBox->modify_bg(Gtk::STATE_NORMAL, c); } + MainWindow::~MainWindow() { } @@ -246,7 +267,7 @@ void MainWindow::updateInfo(const struct pa_server_info &i) { char t[PA_SAMPLE_SNPRINT_MAX_LENGTH]; serverNameLabel->set_text(i.server_name); serverVersionLabel->set_text(i.server_version); - pa_sample_snprint(t, sizeof(t), &i.sample_spec); + pa_sample_spec_snprint(t, sizeof(t), &i.sample_spec); defaultSampleTypeLabel->set_text(t); hostNameLabel->set_text(i.host_name); userNameLabel->set_text(i.user_name); @@ -313,7 +334,11 @@ void MainWindow::onModuleOpenButton() { } void MainWindow::onConnectButton() { - create_connection(); + createConnection(); +} + +void MainWindow::onDisconnectButton() { + killConnection(); } void MainWindow::showDeviceWindow(const Gtk::TreePath &p) { @@ -347,3 +372,10 @@ void MainWindow::showModuleWindow(const Gtk::TreePath &p) { Gtk::TreeModel::Row row = *(moduleTreeStore->get_iter(p)); serverInfoManager->showModuleWindow(row[moduleTreeModelColumns.index]); } + +void MainWindow::onStatButton() { + if (!serverInfoManager) + return; + + serverInfoManager->showStatWindow(); +} diff --git a/src/MainWindow.hh b/src/MainWindow.hh index d843acf..75c18f2 100644 --- a/src/MainWindow.hh +++ b/src/MainWindow.hh @@ -20,17 +20,24 @@ public: *serverVersionLabel, *defaultSampleTypeLabel, *userNameLabel, - *hostNameLabel; + *hostNameLabel, + *linkLibraryVersionLabel, + *compiledLibraryVersionLabel, + *titleLabel; Gtk::Button *deviceOpenButton, *clientOpenButton, *moduleOpenButton, - *connectButton; + *connectButton, + *disconnectButton, + *statButton; Gtk::TreeView *deviceTreeView, *clientTreeView, *moduleTreeView; + Gtk::EventBox *titleEventBox; + protected: class DeviceTreeModelColumns : public Gtk::TreeModel::ColumnRecord { @@ -112,6 +119,8 @@ public: virtual void onClientOpenButton(); virtual void onModuleOpenButton(); virtual void onConnectButton(); + virtual void onDisconnectButton(); + virtual void onStatButton(); virtual void showDeviceWindow(const Gtk::TreePath &p); virtual void showClientWindow(const Gtk::TreePath &p); diff --git a/src/Makefile.am b/src/Makefile.am index 82f61d6..523b925 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -9,7 +9,8 @@ paman_SOURCES=MainWindow.cc MainWindow.hh \ ClientWindow.cc ClientWindow.hh \ ModuleWindow.cc ModuleWindow.hh \ SinkInputWindow.cc SinkInputWindow.hh \ - SourceOutputWindow.cc SourceOutputWindow.hh + SourceOutputWindow.cc SourceOutputWindow.hh \ + StatWindow.cc StatWindow.hh paman_LDADD=$(AM_LDADD) $(GUILIBS_LIBS) $(POLYP_LIBS) paman_CXXFLAGS=$(AM_CXXFLAGS) $(GUILIBS_CFLAGS) $(POLYP_CFLAGS) diff --git a/src/ServerInfoManager.cc b/src/ServerInfoManager.cc index 1f454eb..9542773 100644 --- a/src/ServerInfoManager.cc +++ b/src/ServerInfoManager.cc @@ -342,7 +342,8 @@ static void subscribe_callback(struct pa_context *c, enum pa_subscription_event_ } ServerInfoManager::ServerInfoManager(struct pa_context &c) : - context(c) { + context(c), + statWindow(NULL) { pa_operation_unref(pa_context_get_server_info(&c, server_info_callback, this)); pa_operation_unref(pa_context_get_sink_info_list(&c, sink_info_callback, this)); pa_operation_unref(pa_context_get_source_info_list(&c, source_info_callback, this)); @@ -381,6 +382,9 @@ ServerInfoManager::~ServerInfoManager() { for (std::map::iterator i = sourceOutputs.begin(); i != sourceOutputs.end(); i++) delete i->second; + + if (statWindow) + delete statWindow; } void ServerInfoManager::updateInfo(const struct pa_sink_info &i) { @@ -572,3 +576,13 @@ void ServerInfoManager::setSinkVolume(uint32_t index, uint32_t volume) { void ServerInfoManager::setSinkInputVolume(uint32_t index, uint32_t volume) { pa_operation_unref(pa_context_set_sink_input_volume(&context, index, volume, NULL, NULL)); } + +void ServerInfoManager::showStatWindow() { + if (statWindow) + statWindow->present(); + else { + statWindow = StatWindow::create(); + statWindow->show(); + } + +} diff --git a/src/ServerInfoManager.hh b/src/ServerInfoManager.hh index ba07800..d80a717 100644 --- a/src/ServerInfoManager.hh +++ b/src/ServerInfoManager.hh @@ -21,6 +21,7 @@ class SourceOutputInfo; #include "MainWindow.hh" #include "SinkInputWindow.hh" #include "SourceOutputWindow.hh" +#include "StatWindow.hh" class SinkInfo { public: @@ -172,6 +173,8 @@ public: void setSinkVolume(uint32_t index, uint32_t volume); void setSinkInputVolume(uint32_t index, uint32_t volume); + + void showStatWindow(); protected: std::map sinks; @@ -182,6 +185,7 @@ protected: std::map sourceOutputs; struct pa_context &context; + StatWindow *statWindow; }; #endif diff --git a/src/SinkInputWindow.cc b/src/SinkInputWindow.cc index 7baa13c..eec7efa 100644 --- a/src/SinkInputWindow.cc +++ b/src/SinkInputWindow.cc @@ -61,7 +61,7 @@ void SinkInputWindow::updateInfo(const SinkInputInfo &i) { nameLabel->set_text(i.name); snprintf(t, sizeof(t), "#%u", i.index); indexLabel->set_text(t); - pa_sample_snprint(ss, sizeof(ss), &i.sample_spec); + pa_sample_spec_snprint(ss, sizeof(ss), &i.sample_spec); sampleTypeLabel->set_text(ss); if (i.owner_module == PA_INVALID_INDEX) @@ -125,7 +125,7 @@ void SinkInputWindow::onVolumeResetButton() { } void SinkInputWindow::onVolumeMuteButton() { - serverInfoManager->setSinkInputVolume(index, PA_VOLUME_MUTE); + serverInfoManager->setSinkInputVolume(index, PA_VOLUME_MUTED); } diff --git a/src/SinkWindow.cc b/src/SinkWindow.cc index 68d3ec4..f632078 100644 --- a/src/SinkWindow.cc +++ b/src/SinkWindow.cc @@ -59,7 +59,7 @@ void SinkWindow::updateInfo(const SinkInfo &i) { descriptionLabel->set_text(i.description); snprintf(t, sizeof(t), "#%u", i.index); indexLabel->set_text(t); - pa_sample_snprint(ss, sizeof(ss), &i.sample_spec); + pa_sample_spec_snprint(ss, sizeof(ss), &i.sample_spec); sampleTypeLabel->set_text(ss); snprintf(t, sizeof(t), "#%u", i.owner_module); ownerModuleLabel->set_text(t); @@ -105,7 +105,7 @@ void SinkWindow::onVolumeResetButton() { } void SinkWindow::onVolumeMuteButton() { - serverInfoManager->setSinkVolume(index, PA_VOLUME_MUTE); + serverInfoManager->setSinkVolume(index, PA_VOLUME_MUTED); } diff --git a/src/SourceOutputWindow.cc b/src/SourceOutputWindow.cc index fd5ae35..0b742d2 100644 --- a/src/SourceOutputWindow.cc +++ b/src/SourceOutputWindow.cc @@ -48,7 +48,7 @@ void SourceOutputWindow::updateInfo(const SourceOutputInfo &i) { nameLabel->set_text(i.name); snprintf(t, sizeof(t), "#%u", i.index); indexLabel->set_text(t); - pa_sample_snprint(ss, sizeof(ss), &i.sample_spec); + pa_sample_spec_snprint(ss, sizeof(ss), &i.sample_spec); sampleTypeLabel->set_text(ss); if (i.owner_module == PA_INVALID_INDEX) diff --git a/src/SourceWindow.cc b/src/SourceWindow.cc index b5119d9..aa08ced 100644 --- a/src/SourceWindow.cc +++ b/src/SourceWindow.cc @@ -44,7 +44,7 @@ void SourceWindow::updateInfo(const SourceInfo &i) { descriptionLabel->set_text(i.description); snprintf(t, sizeof(t), "#%u", i.index); indexLabel->set_text(t); - pa_sample_snprint(ss, sizeof(ss), &i.sample_spec); + pa_sample_spec_snprint(ss, sizeof(ss), &i.sample_spec); sampleTypeLabel->set_text(ss); snprintf(t, sizeof(t), "#%u", i.owner_module); ownerModuleLabel->set_text(t); diff --git a/src/StatWindow.cc b/src/StatWindow.cc new file mode 100644 index 0000000..7adb752 --- /dev/null +++ b/src/StatWindow.cc @@ -0,0 +1,77 @@ +#include "paman.hh" +#include "StatWindow.hh" + +#define GLADE_NAME "statWindow" + +StatWindow::StatWindow(BaseObjectType* cobject, const Glib::RefPtr& refGlade) : + Gtk::Window(cobject), + totalLabel(NULL), + totalSizeLabel(NULL), + allocatedLabel(NULL), + allocatedSizeLabel(NULL), + closeButton(NULL), + refreshButton(NULL), + operation(NULL) { + + refGlade->get_widget("totalLabel", totalLabel); + refGlade->get_widget("totalSizeLabel", totalSizeLabel); + refGlade->get_widget("allocatedLabel", allocatedLabel); + refGlade->get_widget("allocatedSizeLabel", allocatedSizeLabel); + refGlade->get_widget("closeButton", closeButton); + refGlade->get_widget("refreshButton", refreshButton); + + closeButton->signal_clicked().connect(sigc::mem_fun(*this, &StatWindow::onCloseButton)); + refreshButton->signal_clicked().connect(sigc::mem_fun(*this, &StatWindow::onRefreshButton)); + + onRefreshButton(); +} + +StatWindow::~StatWindow() { + + if (operation) { + pa_operation_cancel(operation); + pa_operation_unref(operation); + } +} + +StatWindow* StatWindow::create() { + StatWindow *w = NULL; + Glib::RefPtr refXml = Gnome::Glade::Xml::create(GLADE_FILE, GLADE_NAME); + refXml->get_widget_derived(GLADE_NAME, w); + return w; +} + +void StatWindow::onCloseButton() { + hide(); +} + +static void stat_cb(struct pa_context *c, const struct pa_stat_info *i, void *userdata) { + char t[20]; + StatWindow *s = (struct StatWindow*) userdata; + + snprintf(t, sizeof(t), "%u", i->memblock_total); + s->totalLabel->set_text(t); + snprintf(t, sizeof(t), "%u bytes", i->memblock_total_size); + s->totalSizeLabel->set_text(t); + snprintf(t, sizeof(t), "%u", i->memblock_allocated); + s->allocatedLabel->set_text(t); + snprintf(t, sizeof(t), "%u bytes", i->memblock_allocated_size); + s->allocatedSizeLabel->set_text(t); + + pa_operation_unref(s->operation); + s->operation = NULL; +} + +void StatWindow::onRefreshButton() { + if (operation) + return; + + g_assert(context); + operation = pa_context_stat(context, stat_cb, this); +} + +void StatWindow::present() { + Gtk::Window::present(); + + onRefreshButton(); +} diff --git a/src/StatWindow.hh b/src/StatWindow.hh new file mode 100644 index 0000000..092404a --- /dev/null +++ b/src/StatWindow.hh @@ -0,0 +1,32 @@ +#ifndef foostatwindowhhfoo +#define foostatwindowhhfoo + +#include +#include + +class StatWindow; + +#include "ServerInfoManager.hh" + +class StatWindow : public Gtk::Window { +public: + StatWindow(BaseObjectType* cobject, const Glib::RefPtr& refGlade); + virtual ~StatWindow(); + static StatWindow* create(); + + Gtk::Label *totalLabel, + *totalSizeLabel, + *allocatedLabel, + *allocatedSizeLabel; + + Gtk::Button *closeButton, *refreshButton; + + virtual void onCloseButton(); + virtual void onRefreshButton(); + + struct pa_operation *operation; + + virtual void present(); +}; + +#endif diff --git a/src/paman.cc b/src/paman.cc index 4b9b364..f08be5d 100644 --- a/src/paman.cc +++ b/src/paman.cc @@ -39,6 +39,8 @@ static void context_state_callback(struct pa_context *c, void *userdata) { mainWindow->showSuccess("Ready"); g_assert(!serverInfoManager); serverInfoManager = new ServerInfoManager(*c); + mainWindow->statButton->set_sensitive(true); + mainWindow->disconnectButton->set_sensitive(true); return; case PA_CONTEXT_TERMINATED: @@ -52,21 +54,27 @@ static void context_state_callback(struct pa_context *c, void *userdata) { } - if (context) { - pa_context_unref(context); - context = NULL; - } + killConnection(); +} +void createConnection() { if (serverInfoManager) { delete serverInfoManager; serverInfoManager = NULL; } - mainWindow->connectButton->set_sensitive(true); - mainWindow->clearAllData(); + if (context) { + pa_context_unref(context); + context = NULL; + } + + context = pa_context_new(mainloop_api, "Polypaudio Manager"); + g_assert(context); + pa_context_set_state_callback(context, context_state_callback, NULL); + pa_context_connect(context, NULL); } -void create_connection() { +void killConnection() { if (serverInfoManager) { delete serverInfoManager; serverInfoManager = NULL; @@ -77,10 +85,10 @@ void create_connection() { context = NULL; } - context = pa_context_new(mainloop_api, "Polypaudio Manager"); - g_assert(context); - pa_context_set_state_callback(context, context_state_callback, NULL); - pa_context_connect(context, NULL); + mainWindow->connectButton->set_sensitive(true); + mainWindow->disconnectButton->set_sensitive(false); + mainWindow->statButton->set_sensitive(false); + mainWindow->clearAllData(); } int main(int argc, char *argv[]) { @@ -98,7 +106,7 @@ int main(int argc, char *argv[]) { mainloop_api = pa_glib_mainloop_get_api(m); g_assert(mainloop_api); - create_connection(); + createConnection(); Gtk::Main::run(*mainWindow); diff --git a/src/paman.glade b/src/paman.glade index 464d278..18b6bae 100644 --- a/src/paman.glade +++ b/src/paman.glade @@ -4,14 +4,13 @@ - 5 True Polypaudio Manager GTK_WINDOW_TOPLEVEL GTK_WIN_POS_NONE False 500 - 400 + 500 True False True @@ -24,833 +23,1492 @@ True False - 5 + 0 - + True - True - True - True - GTK_POS_TOP - False - False + True + False - - 5 + True - False - 5 + <span size="26000" color="white" font_family="serif"><b>Polypaudio Manager</b></span> + False + True + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 12 + 12 + + + + + 0 + False + False + + + + + + 12 + True + False + 12 + + + + True + True + True + True + GTK_POS_TOP + False + False - + + 11 True - 0.5 - 0.5 - 0 - 0 - 0 - 0 - 0 - 0 + False + 5 - - 10 + True - 5 - 2 - True - 5 - 10 + 0.5 + 0.5 + 0 + 0 + 0 + 0 + 0 + 0 - + True - <b>Host Name:</b> - False - True - GTK_JUSTIFY_LEFT - False - False - 1 - 0.5 - 0 - 0 + 9 + 3 + False + 6 + 12 + + + + True + True + foo + False + True + GTK_JUSTIFY_LEFT + False + True + 0 + 0.5 + 0 + 0 + + + 2 + 3 + 2 + 3 + fill + + + + + + + True + True + foo + False + True + GTK_JUSTIFY_LEFT + False + True + 0 + 1 + 0 + 0 + + + 2 + 3 + 1 + 2 + fill + + + + + + + True + True + foo + False + False + GTK_JUSTIFY_LEFT + False + True + 0 + 0.5 + 0 + 0 + + + 2 + 3 + 5 + 6 + fill + + + + + + + True + True + foo + False + False + GTK_JUSTIFY_LEFT + False + True + 0 + 0.5 + 0 + 0 + + + 2 + 3 + 4 + 5 + fill + + + + + + + True + True + foo + False + True + GTK_JUSTIFY_LEFT + False + True + 0 + 0 + 0 + 0 + + + 2 + 3 + 3 + 4 + fill + + + + + + + True + Server Name: + False + False + GTK_JUSTIFY_LEFT + False + False + 0 + 1 + 0 + 0 + + + 1 + 2 + 1 + 2 + fill + + + + + + + True + User Name: + False + True + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + + + 1 + 2 + 5 + 6 + fill + + + + + + + True + Host Name: + False + True + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + + + 1 + 2 + 4 + 5 + fill + + + + + + + True + Default Sample Type: + False + True + GTK_JUSTIFY_LEFT + False + False + 0 + 0 + 0 + 0 + + + 1 + 2 + 3 + 4 + fill + + + + + + + True + Server Version: + False + True + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + + + 1 + 2 + 2 + 3 + fill + + + + + + + True + Linked to Library Version: + False + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + + + 1 + 2 + 7 + 8 + fill + + + + + + + True + Compiled with Library Version: + False + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + + + 1 + 2 + 8 + 9 + fill + + + + + + + True + True + foo + False + False + GTK_JUSTIFY_LEFT + False + True + 0 + 0.5 + 0 + 0 + + + 2 + 3 + 7 + 8 + fill + + + + + + + True + True + foo + False + False + GTK_JUSTIFY_LEFT + False + True + 0 + 0.5 + 0 + 0 + + + 2 + 3 + 8 + 9 + fill + + + + + + + True + + False + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + + + 0 + 1 + 1 + 6 + + + + + + + + True + + False + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + + + 0 + 1 + 7 + 9 + + + + + + + + True + <b>Client Information</b> + False + True + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + + + 0 + 3 + 6 + 7 + 12 + expand|shrink|fill + + + + + + + True + <b>Server Information</b> + False + True + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + + + 0 + 3 + 0 + 1 + 12 + + + - - 0 - 1 - 3 - 4 - fill - - + + + 0 + True + True + + + + + + True + GTK_BUTTONBOX_END + 0 - + True - <b>User Name:</b> - False - True - GTK_JUSTIFY_LEFT - False - False - 1 - 0.5 - 0 - 0 + True + True + GTK_RELIEF_NORMAL + True + + + + True + 0.5 + 0.5 + 0 + 0 + 0 + 0 + 0 + 0 + + + + True + False + 2 + + + + True + gtk-network + 4 + 0.5 + 0.5 + 0 + 0 + + + 0 + False + False + + + + + + True + _Connect + True + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + + + 0 + False + False + + + + + + - - 0 - 1 - 4 - 5 - fill - - - + True - <b>Server Version:</b> - False - True - GTK_JUSTIFY_LEFT - False - False - 1 - 0.5 - 0 - 0 + True + True + GTK_RELIEF_NORMAL + True + + + + True + 0.5 + 0.5 + 0 + 0 + 0 + 0 + 0 + 0 + + + + True + False + 2 + + + + True + gtk-cancel + 4 + 0.5 + 0.5 + 0 + 0 + + + 0 + False + False + + + + + + True + _Disconnect + True + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + + + 0 + False + False + + + + + + - - 0 - 1 - 1 - 2 - fill - - - + True - <b>Server Name:</b> - False - True - GTK_JUSTIFY_LEFT - False - False - 1 - 1 - 0 - 0 + True + True + GTK_RELIEF_NORMAL + True + + + + True + 0.5 + 0.5 + 0 + 0 + 0 + 0 + 0 + 0 + + + + True + False + 2 + + + + True + gtk-dialog-info + 4 + 0.5 + 0.5 + 0 + 0 + + + 0 + False + False + + + + + + True + _Statistics + True + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + + + 0 + False + False + + + + + + - - 0 - 1 - 0 - 1 - fill - - + + + 0 + False + False + + + + + False + True + + + + + + True + _Server Information + True + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + + + tab + + + + + + 12 + True + False + 6 + + + + True + True + GTK_POLICY_AUTOMATIC + GTK_POLICY_AUTOMATIC + GTK_SHADOW_IN + GTK_CORNER_TOP_LEFT - + True - <b>Default Sample Type:</b> - False - True - GTK_JUSTIFY_LEFT - False - False - 1 - 0 - 0 - 0 + True + True + False + False + True - - 0 - 1 - 2 - 3 - fill - - + + + 0 + True + True + + + + + + True + GTK_BUTTONBOX_END + 5 - + True + True + True True - - False - True - GTK_JUSTIFY_LEFT - False - True - 0 - 1 - 0 - 0 - - - 1 - 2 - 0 - 1 - fill - - - - - - - True - True - - False - True - GTK_JUSTIFY_LEFT - False - True - 0 - 0 - 0 - 0 - - - 1 - 2 - 2 - 3 - fill - - - - - - - True - - False - False - GTK_JUSTIFY_LEFT - False - False - 0 - 0.5 - 0 - 0 - - - 1 - 2 - 3 - 4 - fill - - - + GTK_RELIEF_NORMAL + True - - - True - - False - False - GTK_JUSTIFY_LEFT - False - False - 0 - 0.5 - 0 - 0 - - - 1 - 2 - 4 - 5 - fill - - - + + + True + 0.5 + 0.5 + 0 + 0 + 0 + 0 + 0 + 0 - - - True - True - - False - True - GTK_JUSTIFY_LEFT - False - True - 0 - 0.5 - 0 - 0 + + + True + False + 2 + + + + True + gtk-jump-to + 4 + 0.5 + 0.5 + 0 + 0 + + + 0 + False + False + + + + + + True + _Open + True + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + + + 0 + False + False + + + + + + - - 1 - 2 - 1 - 2 - fill - - + + 0 + False + False + - 0 - True - True + False + True - + True - GTK_BUTTONBOX_END - 0 + _Devices + True + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + + + tab + + + + + + 12 + True + False + 6 - + True - True - True True - GTK_RELIEF_NORMAL - True + GTK_POLICY_AUTOMATIC + GTK_POLICY_AUTOMATIC + GTK_SHADOW_IN + GTK_CORNER_TOP_LEFT - + True - 0.5 - 0.5 - 0 - 0 - 0 - 0 - 0 - 0 + True + True + False + False + True + + + + + 0 + True + True + + + + + + True + GTK_BUTTONBOX_END + 0 + + + + True + False + True + True + GTK_RELIEF_NORMAL + True - + True - False - 2 + 0.5 + 0.5 + 0 + 0 + 0 + 0 + 0 + 0 - + True - gtk-network - 4 - 0.5 - 0.5 - 0 - 0 + False + 2 + + + + True + gtk-jump-to + 4 + 0.5 + 0.5 + 0 + 0 + + + 0 + False + False + + + + + + True + _Open + True + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + + + 0 + False + False + + - - 0 - False - False - - - - - - True - _Connect - True - False - GTK_JUSTIFY_LEFT - False - False - 0.5 - 0.5 - 0 - 0 - - - 0 - False - False - + + 0 + False + False + - 0 - False - False + False + True - - - False - True - - - - - - True - _Server Information - True - False - GTK_JUSTIFY_LEFT - False - False - 0.5 - 0.5 - 0 - 0 - - - tab - - - - - - 5 - True - False - 5 - + True - True - GTK_POLICY_AUTOMATIC - GTK_POLICY_AUTOMATIC - GTK_SHADOW_IN - GTK_CORNER_TOP_LEFT - - - - True - True - True - False - False - True - - + _Clients + True + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 - 0 - True - True + tab - + + 12 True - GTK_BUTTONBOX_END - 5 + False + 6 - + True - True - True True - GTK_RELIEF_NORMAL - True + GTK_POLICY_AUTOMATIC + GTK_POLICY_AUTOMATIC + GTK_SHADOW_IN + GTK_CORNER_TOP_LEFT - + True - 0.5 - 0.5 - 0 - 0 - 0 - 0 - 0 - 0 + True + True + False + False + True + + + + + 0 + True + True + + + + + + True + GTK_BUTTONBOX_END + 5 + + + + True + True + True + GTK_RELIEF_NORMAL + True - + True - False - 2 - - - - True - gtk-jump-to - 4 - 0.5 - 0.5 - 0 - 0 - - - 0 - False - False - - + 0.5 + 0.5 + 0 + 0 + 0 + 0 + 0 + 0 - + True - _Open - True - False - GTK_JUSTIFY_LEFT - False - False - 0.5 - 0.5 - 0 - 0 + False + 2 + + + + True + gtk-jump-to + 4 + 0.5 + 0.5 + 0 + 0 + + + 0 + False + False + + + + + + True + _Open + True + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + + + 0 + False + False + + - - 0 - False - False - + + 0 + False + False + - 0 - False - False + False + True - - - False - True - - - - - - True - _Devices - True - False - GTK_JUSTIFY_LEFT - False - False - 0.5 - 0.5 - 0 - 0 - - - tab - - - - - - 5 - True - False - 5 - + True - True - GTK_POLICY_AUTOMATIC - GTK_POLICY_AUTOMATIC - GTK_SHADOW_IN - GTK_CORNER_TOP_LEFT - - - - True - True - True - False - False - True - - + _Modules + True + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 - 0 - True - True + tab - + + 12 True - GTK_BUTTONBOX_END - 0 + False + 6 - + True - False - True True - GTK_RELIEF_NORMAL - True + GTK_POLICY_AUTOMATIC + GTK_POLICY_AUTOMATIC + GTK_SHADOW_IN + GTK_CORNER_TOP_LEFT - + True - 0.5 - 0.5 - 0 - 0 - 0 - 0 - 0 - 0 - - - - True - False - 2 - - - - True - gtk-jump-to - 4 - 0.5 - 0.5 - 0 - 0 - - - 0 - False - False - - - - - - True - _Open - True - False - GTK_JUSTIFY_LEFT - False - False - 0.5 - 0.5 - 0 - 0 - - - 0 - False - False - - - - + True + True + False + False + True + + 0 + True + True + - - - 0 - False - False - - - - - False - True - - - - - - True - _Clients - True - False - GTK_JUSTIFY_LEFT - False - False - 0.5 - 0.5 - 0 - 0 - - - tab - - - - - - 5 - True - False - 5 - - - - True - True - GTK_POLICY_AUTOMATIC - GTK_POLICY_AUTOMATIC - GTK_SHADOW_IN - GTK_CORNER_TOP_LEFT - + True - True - True - False - False - True + False + 12 + + + + True + <b>Playback on:</b> + False + True + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + + + 0 + False + False + + + + + + True + foo +bar +waldo + + + 0 + True + True + + + + 0 + False + False + - - - 0 - True - True - - - - - - True - GTK_BUTTONBOX_END - 5 - + True - True - True - GTK_RELIEF_NORMAL - True + GTK_BUTTONBOX_END + 0 - + True - 0.5 - 0.5 - 0 - 0 - 0 - 0 - 0 - 0 + True + True + GTK_RELIEF_NORMAL + True - + True - False - 2 + 0.5 + 0.5 + 0 + 0 + 0 + 0 + 0 + 0 - + True - gtk-jump-to - 4 - 0.5 - 0.5 - 0 - 0 + False + 2 + + + + True + gtk-cdrom + 4 + 0.5 + 0.5 + 0 + 0 + + + 0 + False + False + + + + + + True + _Play + True + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + + + 0 + False + False + + - - 0 - False - False - + + + + + + + + True + True + True + GTK_RELIEF_NORMAL + True + + + + True + 0.5 + 0.5 + 0 + 0 + 0 + 0 + 0 + 0 - + True - _Open - True - False - GTK_JUSTIFY_LEFT - False - False - 0.5 - 0.5 - 0 - 0 + False + 2 + + + + True + gtk-jump-to + 4 + 0.5 + 0.5 + 0 + 0 + + + 0 + False + False + + + + + + True + _Open + True + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + + + 0 + False + False + + - - 0 - False - False - + + 0 + False + False + - 0 - False - False + False + True + + + + + + True + S_ample Cache + True + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + + + tab - False - True + 0 + True + True - + True - _Modules - True + label36 + False False GTK_JUSTIFY_LEFT False False - 0.5 + 0 0.5 0 0 - tab + 0 + False + False @@ -860,33 +1518,12 @@ True - - - - True - label36 - False - False - GTK_JUSTIFY_LEFT - False - False - 0 - 0.5 - 0 - 0 - - - 0 - False - False - - - 5 + 12 Sink GTK_WINDOW_TOPLEVEL GTK_WIN_POS_NONE @@ -903,7 +1540,7 @@ True False - 5 + 12 @@ -917,20 +1554,19 @@ - 5 + 12 True False - 5 + 6 - 5 True 8 2 False - 5 - 10 + 6 + 12 @@ -1104,7 +1740,7 @@ True True - + foo False False GTK_JUSTIFY_LEFT @@ -1128,7 +1764,7 @@ True True - + foo False False GTK_JUSTIFY_LEFT @@ -1152,7 +1788,7 @@ True True - + foo False False GTK_JUSTIFY_LEFT @@ -1176,7 +1812,7 @@ True True - + foo False False GTK_JUSTIFY_LEFT @@ -1200,7 +1836,7 @@ True True - + foo False False GTK_JUSTIFY_LEFT @@ -1338,12 +1974,13 @@ True - + True + foo False False GTK_JUSTIFY_LEFT False - False + True 0 0.5 0 @@ -1362,7 +1999,7 @@ True True - + foo False False GTK_JUSTIFY_LEFT @@ -1435,9 +2072,9 @@ True - Basic + <b>Basic</b> False - False + True GTK_JUSTIFY_LEFT False False @@ -1487,7 +2124,7 @@ - 5 + 12 Source GTK_WINDOW_TOPLEVEL GTK_WIN_POS_NONE @@ -1504,7 +2141,7 @@ True False - 5 + 11 @@ -1518,10 +2155,10 @@ - 5 + 12 True False - 5 + 6 @@ -1530,8 +2167,8 @@ 6 2 False - 5 - 10 + 6 + 12 @@ -1633,7 +2270,7 @@ True True - + foo False False GTK_JUSTIFY_LEFT @@ -1657,7 +2294,7 @@ True True - + foo False False GTK_JUSTIFY_LEFT @@ -1681,7 +2318,7 @@ True True - + foo False False GTK_JUSTIFY_LEFT @@ -1705,7 +2342,7 @@ True True - + foo False False GTK_JUSTIFY_LEFT @@ -1729,7 +2366,7 @@ True True - + foo False False GTK_JUSTIFY_LEFT @@ -1801,7 +2438,7 @@ True True - + foo False False GTK_JUSTIFY_LEFT @@ -1875,9 +2512,9 @@ True - Basic + <b>Basic</b> False - False + True GTK_JUSTIFY_LEFT False False @@ -1942,10 +2579,10 @@ - 5 + 12 True False - 5 + 12 @@ -1959,13 +2596,13 @@ - 5 + 12 True 5 2 False - 5 - 10 + 6 + 12 @@ -2184,26 +2821,356 @@ - + + True + <b>Index:</b> + False + True + GTK_JUSTIFY_LEFT + False + False + 1 + 0.5 + 0 + 0 + + + 0 + 1 + 2 + 3 + fill + + + + + + False + True + + + + + + True + <b>Basic</b> + False + True + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + + + tab + + + + + 0 + True + True + + + + + + True + GTK_BUTTONBOX_END + 0 + + + + True + True + True + gtk-close + True + GTK_RELIEF_NORMAL + True + + + + + 0 + False + False + + + + + + + + Client + GTK_WINDOW_TOPLEVEL + GTK_WIN_POS_NONE + False + False + False + True + False + False + GDK_WINDOW_TYPE_HINT_DIALOG + GDK_GRAVITY_NORTH_WEST + + + + 12 + True + False + 12 + + + + True + True + True + True + GTK_POS_TOP + False + False + + + + 12 + True + False + 6 + + + + True + 4 + 2 + False + 6 + 12 + + + + True + <b>Name:</b> + False + True + GTK_JUSTIFY_LEFT + False + False + 1 + 0.5 + 0 + 0 + + + 0 + 1 + 0 + 1 + fill + + + + + + + True + <b>Owner Module:</b> + False + True + GTK_JUSTIFY_LEFT + False + False + 1 + 0.5 + 0 + 0 + + + 0 + 1 + 3 + 4 + fill + + + + + + + True + label4725 + False + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + + + 1 + 2 + 3 + 4 + fill + + + + + + + True + label4727 + False + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + + + 1 + 2 + 2 + 3 + fill + + + + + + + True + foo + False + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + + + 1 + 2 + 1 + 2 + fill + + + + + + + True + label4729 + False + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + + + 1 + 2 + 0 + 1 + fill + + + + + + + True + <b>Protocol:</b> + False + True + GTK_JUSTIFY_LEFT + False + False + 1 + 0.5 + 0 + 0 + + + 0 + 1 + 1 + 2 + fill + + + + + + + True + <b>Index:</b> + False + True + GTK_JUSTIFY_LEFT + False + False + 1 + 0.5 + 0 + 0 + + + 0 + 1 + 2 + 3 + fill + + + + + + 0 + True + True + + + + + True - <b>Index:</b> - False - True - GTK_JUSTIFY_LEFT - False - False - 1 - 0.5 - 0 - 0 + GTK_BUTTONBOX_START + 0 + + + + True + True + True + To Owner Module + True + GTK_RELIEF_NORMAL + True + + - 0 - 1 - 2 - 3 - fill - + 0 + False + False @@ -2214,11 +3181,11 @@ - + True - Basic + <b>Basic</b> False - False + True GTK_JUSTIFY_LEFT False False @@ -2240,7 +3207,7 @@ - + True GTK_BUTTONBOX_END 0 @@ -2267,8 +3234,8 @@ - - Client + + Sink Input GTK_WINDOW_TOPLEVEL GTK_WIN_POS_NONE False @@ -2281,14 +3248,14 @@ GDK_GRAVITY_NORTH_WEST - - 5 + + 12 True False - 5 + 12 - + True True True @@ -2298,23 +3265,23 @@ False - - 5 + + 12 True False - 5 + 6 - + True - 4 + 8 2 False - 5 - 10 + 6 + 12 - + True <b>Name:</b> False @@ -2338,9 +3305,105 @@ - + True - <b>Owner Module:</b> + <b>Index:</b> + False + True + GTK_JUSTIFY_LEFT + False + False + 1 + 0.5 + 0 + 0 + + + 0 + 1 + 1 + 2 + fill + + + + + + + True + True + label4745 + False + False + GTK_JUSTIFY_LEFT + False + True + 0 + 0.5 + 0 + 0 + + + 1 + 2 + 0 + 1 + + + + + + + True + True + label4746 + False + False + GTK_JUSTIFY_LEFT + False + True + 0 + 0.5 + 0 + 0 + + + 1 + 2 + 1 + 2 + + + + + + + True + <b>Sample Type:</b> + False + True + GTK_JUSTIFY_LEFT + False + False + 1 + 0.5 + 0 + 0 + + + 0 + 1 + 2 + 3 + fill + + + + + + + True + <b>Latency:</b> False True GTK_JUSTIFY_LEFT @@ -2362,14 +3425,111 @@ - + True - label4725 + <b>Owner Module:</b> + False + True + GTK_JUSTIFY_LEFT + False + False + 1 + 0.5 + 0 + 0 + + + 0 + 1 + 6 + 7 + fill + + + + + + + True + <b>Connected to Sink:</b> + False + True + GTK_JUSTIFY_LEFT + False + False + 1 + 0.5 + 0 + 0 + + + 0 + 1 + 4 + 5 + fill + + + + + + + True + <b>Client:</b> + False + True + GTK_JUSTIFY_LEFT + False + False + 1 + 0.5 + 0 + 0 + + + 0 + 1 + 5 + 6 + fill + + + + + + + True + <b>Volume:</b> + False + True + GTK_JUSTIFY_LEFT + False + False + 1 + 0.5 + 0 + 0 + + + 0 + 1 + 7 + 8 + fill + + + + + + + True + True + label4755 False False GTK_JUSTIFY_LEFT False - False + True 0 0.5 0 @@ -2378,22 +3538,23 @@ 1 2 - 3 - 4 + 2 + 3 fill - + True - label4727 + True + label4756 False False GTK_JUSTIFY_LEFT False - False + True 0 0.5 0 @@ -2402,22 +3563,23 @@ 1 2 - 2 - 3 + 3 + 4 fill - + True - foo + True + label4757 False False GTK_JUSTIFY_LEFT False - False + True 0 0.5 0 @@ -2426,22 +3588,23 @@ 1 2 - 1 - 2 + 4 + 5 fill - + True - label4729 + True + label4758 False False GTK_JUSTIFY_LEFT False - False + True 0 0.5 0 @@ -2450,56 +3613,125 @@ 1 2 - 0 - 1 + 5 + 6 fill - + True - <b>Protocol:</b> + True + label4759 False - True + False GTK_JUSTIFY_LEFT False - False - 1 + True + 0 0.5 0 0 - 0 - 1 - 1 - 2 + 1 + 2 + 6 + 7 fill - + True - <b>Index:</b> - False - True - GTK_JUSTIFY_LEFT - False - False - 1 - 0.5 - 0 - 0 + False + 5 + + + + 40 + True + True + 100% + False + True + GTK_JUSTIFY_LEFT + False + True + 0 + 0.5 + 0 + 0 + + + 0 + False + False + + + + + + 100 + True + True + False + GTK_POS_LEFT + 0 + GTK_UPDATE_DISCONTINUOUS + False + 147.692 0 500 10 100 20 + + + 0 + True + True + + + + + + True + Reset to 100%, i.e. normal volume + True + Reset + True + GTK_RELIEF_NONE + True + + + 0 + False + False + + + + + + True + Mute to 0%, i.e. turn this sink off + True + Mute + True + GTK_RELIEF_NONE + True + + + 0 + False + False + + - 0 - 1 - 2 - 3 + 1 + 2 + 7 + 8 fill @@ -2513,7 +3745,7 @@ - + True GTK_BUTTONBOX_START 0 @@ -2523,7 +3755,31 @@ True True True - To Owner Module + Go To Owner Module + True + GTK_RELIEF_NORMAL + True + + + + + + True + True + True + Go To Client + True + GTK_RELIEF_NORMAL + True + + + + + + True + True + True + Go To Sink True GTK_RELIEF_NORMAL True @@ -2544,11 +3800,11 @@ - + True - Basic + <b>Basic</b> False - False + True GTK_JUSTIFY_LEFT False False @@ -2570,7 +3826,7 @@ - + True GTK_BUTTONBOX_END 0 @@ -2597,8 +3853,8 @@ - - Sink Input + + Source Output GTK_WINDOW_TOPLEVEL GTK_WIN_POS_NONE False @@ -2611,14 +3867,14 @@ GDK_GRAVITY_NORTH_WEST - - 5 + + 12 True False - 5 + 12 - + True True True @@ -2628,23 +3884,23 @@ False - - 5 + + 12 True False - 5 + 6 - + True - 8 + 6 2 False - 5 - 10 + 6 + 12 - + True <b>Name:</b> False @@ -2668,7 +3924,7 @@ - + True <b>Index:</b> False @@ -2718,79 +3974,31 @@ True - True - label4746 - False - False - GTK_JUSTIFY_LEFT - False - True - 0 - 0.5 - 0 - 0 - - - 1 - 2 - 1 - 2 - - - - - - - True - <b>Sample Type:</b> - False - True - GTK_JUSTIFY_LEFT - False - False - 1 - 0.5 - 0 - 0 - - - 0 - 1 - 2 - 3 - fill - - - - - - - True - <b>Latency:</b> + True + label4746 False - True + False GTK_JUSTIFY_LEFT False - False - 1 + True + 0 0.5 0 0 - 0 - 1 - 3 - 4 - fill + 1 + 2 + 1 + 2 - + True - <b>Owner Module:</b> + <b>Sample Type:</b> False True GTK_JUSTIFY_LEFT @@ -2804,41 +4012,42 @@ 0 1 - 6 - 7 + 2 + 3 fill - + True - <b>Connected to Sink:</b> + True + label4755 False - True + False GTK_JUSTIFY_LEFT False - False - 1 + True + 0 0.5 0 0 - 0 - 1 - 4 - 5 + 1 + 2 + 2 + 3 fill - + True - <b>Client:</b> + <b>Connected to Source:</b> False True GTK_JUSTIFY_LEFT @@ -2852,17 +4061,17 @@ 0 1 - 5 - 6 + 3 + 4 fill - + True - <b>Volume:</b> + <b>Client:</b> False True GTK_JUSTIFY_LEFT @@ -2876,43 +4085,42 @@ 0 1 - 7 - 8 + 4 + 5 fill - + True - True - label4755 + <b>Owner Module:</b> False - False + True GTK_JUSTIFY_LEFT False - True - 0 + False + 1 0.5 0 0 - 1 - 2 - 2 - 3 + 0 + 1 + 5 + 6 fill - + True True - label4756 + label4757 False False GTK_JUSTIFY_LEFT @@ -2934,10 +4142,10 @@ - + True True - label4757 + label4758 False False GTK_JUSTIFY_LEFT @@ -2959,10 +4167,10 @@ - + True True - label4758 + label4759 False False GTK_JUSTIFY_LEFT @@ -2982,122 +4190,6 @@ - - - - True - label4759 - False - False - GTK_JUSTIFY_LEFT - False - False - 0 - 0.5 - 0 - 0 - - - 1 - 2 - 6 - 7 - fill - - - - - - - True - False - 5 - - - - 40 - True - True - 100% - False - True - GTK_JUSTIFY_LEFT - False - True - 0 - 0.5 - 0 - 0 - - - 0 - False - False - - - - - - 100 - True - True - False - GTK_POS_LEFT - 0 - GTK_UPDATE_DISCONTINUOUS - False - 147.692 0 500 10 100 20 - - - 0 - True - True - - - - - - True - Reset to 100%, i.e. normal volume - True - Reset - True - GTK_RELIEF_NONE - True - - - 0 - False - False - - - - - - True - Mute to 0%, i.e. turn this sink off - True - Mute - True - GTK_RELIEF_NONE - True - - - 0 - False - False - - - - - 1 - 2 - 7 - 8 - fill - - - 0 @@ -3107,7 +4199,7 @@ - + True GTK_BUTTONBOX_START 0 @@ -3137,11 +4229,11 @@ - + True True True - Go To Sink + Go To Source True GTK_RELIEF_NORMAL True @@ -3162,11 +4254,11 @@ - + True - Basic + <b>Basic</b> False - False + True GTK_JUSTIFY_LEFT False False @@ -3188,7 +4280,7 @@ - + True GTK_BUTTONBOX_END 0 @@ -3215,8 +4307,8 @@ - - Source Output + + Statistics GTK_WINDOW_TOPLEVEL GTK_WIN_POS_NONE False @@ -3225,95 +4317,84 @@ True False False - GDK_WINDOW_TYPE_HINT_DIALOG + GDK_WINDOW_TYPE_HINT_NORMAL GDK_GRAVITY_NORTH_WEST - - 5 + + 12 True False - 5 + 12 - + True - True - True - True - GTK_POS_TOP - False - False + False + 12 - - 5 + + True + <b>Memory Block Statistics</b> + False + True + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + + + 0 + False + False + + + + + True False - 5 + 0 + + + + True + + False + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + + + 0 + False + False + + - + True - 6 + 4 2 False - 5 - 10 - - - - True - <b>Name:</b> - False - True - GTK_JUSTIFY_LEFT - False - False - 1 - 0.5 - 0 - 0 - - - 0 - 1 - 0 - 1 - fill - - - - - - - True - <b>Index:</b> - False - True - GTK_JUSTIFY_LEFT - False - False - 1 - 0.5 - 0 - 0 - - - 0 - 1 - 1 - 2 - fill - - - + 12 + 12 - + True True - label4745 + False False GTK_JUSTIFY_LEFT @@ -3327,17 +4408,18 @@ 1 2 - 0 - 1 + 2 + 3 + fill - + True True - label4746 + False False GTK_JUSTIFY_LEFT @@ -3351,41 +4433,18 @@ 1 2 - 1 - 2 - - - - - - - True - <b>Sample Type:</b> - False - True - GTK_JUSTIFY_LEFT - False - False - 1 - 0.5 - 0 - 0 - - - 0 - 1 - 2 - 3 + 3 + 4 fill - + True True - label4755 + False False GTK_JUSTIFY_LEFT @@ -3399,23 +4458,23 @@ 1 2 - 2 - 3 + 1 + 2 fill - + True - <b>Connected to Source:</b> + Currently Allocated Memory Blocks: False - True + False GTK_JUSTIFY_LEFT False False - 1 + 0 0.5 0 0 @@ -3423,23 +4482,23 @@ 0 1 - 3 - 4 + 0 + 1 fill - + True - <b>Client:</b> + Current Total Size of Allocated Memory Blocks: False - True + False GTK_JUSTIFY_LEFT False False - 1 + 0 0.5 0 0 @@ -3447,23 +4506,23 @@ 0 1 - 4 - 5 + 1 + 2 fill - + True - <b>Owner Module:</b> + All Allocated Memory Blocks During Daemon Lifetime: False - True + False GTK_JUSTIFY_LEFT False False - 1 + 0 0.5 0 0 @@ -3471,31 +4530,30 @@ 0 1 - 5 - 6 + 2 + 3 fill - + True - True - label4757 + Total Size of All Memory Blocks Allocated During Memory Lifetime: False False GTK_JUSTIFY_LEFT False - True + False 0 0.5 0 0 - 1 - 2 + 0 + 1 3 4 fill @@ -3504,35 +4562,10 @@ - - True - True - label4758 - False - False - GTK_JUSTIFY_LEFT - False - True - 0 - 0.5 - 0 - 0 - - - 1 - 2 - 4 - 5 - fill - - - - - - + True True - label4759 + False False GTK_JUSTIFY_LEFT @@ -3546,8 +4579,8 @@ 1 2 - 5 - 6 + 0 + 1 fill @@ -3559,78 +4592,11 @@ True - - - - True - GTK_BUTTONBOX_START - 0 - - - - True - True - True - Go To Owner Module - True - GTK_RELIEF_NORMAL - True - - - - - - True - True - True - Go To Client - True - GTK_RELIEF_NORMAL - True - - - - - - True - True - True - Go To Source - True - GTK_RELIEF_NORMAL - True - - - - - 0 - False - False - - - - - False - True - - - - - - True - Basic - False - False - GTK_JUSTIFY_LEFT - False - False - 0.5 - 0.5 - 0 - 0 - tab + 0 + True + True @@ -3642,11 +4608,23 @@ - + True GTK_BUTTONBOX_END 0 + + + True + True + True + gtk-refresh + True + GTK_RELIEF_NORMAL + True + + + True diff --git a/src/paman.hh b/src/paman.hh index 241378d..05e1815 100644 --- a/src/paman.hh +++ b/src/paman.hh @@ -9,6 +9,7 @@ extern ServerInfoManager *serverInfoManager; extern MainWindow *mainWindow; extern struct pa_context *context; -void create_connection(); +void createConnection(); +void killConnection(); #endif -- cgit