added stopOutputAudio() call before program end; this does not really work, though, see bug #981
This commit is contained in:
parent
596632d595
commit
85a9ecc64c
1 changed files with 6 additions and 5 deletions
|
@ -22,7 +22,7 @@
|
||||||
|
|
||||||
|
|
||||||
Author : $Author: fgerlits $
|
Author : $Author: fgerlits $
|
||||||
Version : $Revision: 1.10 $
|
Version : $Revision: 1.11 $
|
||||||
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/products/gLiveSupport/src/MasterPanelUserInfoWidget.cxx,v $
|
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/products/gLiveSupport/src/MasterPanelUserInfoWidget.cxx,v $
|
||||||
|
|
||||||
------------------------------------------------------------------------------*/
|
------------------------------------------------------------------------------*/
|
||||||
|
@ -64,11 +64,10 @@ MasterPanelUserInfoWidget :: MasterPanelUserInfoWidget (
|
||||||
Ptr<GLiveSupport>::Ref gLiveSupport,
|
Ptr<GLiveSupport>::Ref gLiveSupport,
|
||||||
Ptr<ResourceBundle>::Ref bundle)
|
Ptr<ResourceBundle>::Ref bundle)
|
||||||
throw ()
|
throw ()
|
||||||
: LocalizedObject(bundle)
|
: LocalizedObject(bundle),
|
||||||
|
gLiveSupport(gLiveSupport),
|
||||||
|
loggedIn(false)
|
||||||
{
|
{
|
||||||
this->gLiveSupport = gLiveSupport;
|
|
||||||
loggedIn = false;
|
|
||||||
|
|
||||||
Ptr<WidgetFactory>::Ref wf = WidgetFactory::getInstance();
|
Ptr<WidgetFactory>::Ref wf = WidgetFactory::getInstance();
|
||||||
|
|
||||||
logInOutButton = Gtk::manage(wf->createButton(""));
|
logInOutButton = Gtk::manage(wf->createButton(""));
|
||||||
|
@ -253,6 +252,8 @@ MasterPanelUserInfoWidget :: updateStrings(void)
|
||||||
void
|
void
|
||||||
MasterPanelUserInfoWidget :: onCloseButtonClicked (void) throw ()
|
MasterPanelUserInfoWidget :: onCloseButtonClicked (void) throw ()
|
||||||
{
|
{
|
||||||
|
gLiveSupport->stopOutputAudio();
|
||||||
|
|
||||||
// get the topmost container, should be the application window itself
|
// get the topmost container, should be the application window itself
|
||||||
Gtk::Container * container = get_parent();
|
Gtk::Container * container = get_parent();
|
||||||
while (container->get_parent()) {
|
while (container->get_parent()) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue