From 375c2c2d6207763ff3ac8d7fb289b2b5ea1f8d54 Mon Sep 17 00:00:00 2001 From: Colin Guthrie Date: Sun, 28 Jun 2009 15:57:59 +0100 Subject: Add support for the device-manager module. Currently this module only really allows for devices to be renamed, so we add a new dialog that can be activated by right clicking on devices (i.e. sinks/sources). This dialog allows you to enter a new name which will be set via the extension provided by the device-manager module. Future work will allow you to manage (i.e. rename, delete etc) offline devices too. --- src/sourcewidget.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/sourcewidget.cc') diff --git a/src/sourcewidget.cc b/src/sourcewidget.cc index 2779df4..29980cc 100644 --- a/src/sourcewidget.cc +++ b/src/sourcewidget.cc @@ -30,10 +30,11 @@ SourceWidget::SourceWidget(BaseObjectType* cobject, const Glib::RefPtr x = Gnome::Glade::Xml::create(GLADE_FILE, "deviceWidget"); x->get_widget_derived("deviceWidget", w); + w->init(mainWindow, "source"); return w; } @@ -99,4 +100,4 @@ void SourceWidget::onPortChange() { pa_operation_unref(o); } } -} \ No newline at end of file +} -- cgit