- enable toolbar button when assigned as presenter

- stop applet when another participant becomes presenter

git-svn-id: http://bigbluebutton.googlecode.com/svn/trunk@1900 af16638f-c34d-0410-8cfa-b39d5352b314
This commit is contained in:
Richard Alam 2009-07-17 02:52:46 +00:00
parent 8e4ff95f97
commit 2bdabda35f
2 changed files with 2 additions and 0 deletions

View File

@ -66,11 +66,13 @@ package org.bigbluebutton.modules.deskShare.view
LogUtil.debug(NAME + ": Opening DeskShare Toolbar Button");
facade.sendNotification(DeskShareModuleConstants.ADD_BUTTON, button);
deskshareButtonDisplayed = true;
button.enabled = true;
} else {
LogUtil.debug(NAME + ": Removing DeskShare Toolbar Button");
if (deskshareButtonDisplayed) {
facade.sendNotification(DeskShareModuleConstants.REMOVE_BUTTON, button);
deskshareButtonDisplayed = false;
button.enabled = false;
}
}
break;