Merge pull request #372 from SenecaCDOT-BigBlueButton/record-reminder-icon

added record icon to the recording notification
This commit is contained in:
Richard Alam 2014-08-22 09:48:45 -04:00
commit bfe2153c2d
2 changed files with 4 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

View File

@ -52,6 +52,9 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
private var recordingFlag:Boolean;
private var firstAudioJoin:Boolean = true;
[Embed(source="/org/bigbluebutton/common/assets/images/record.png")]
private var recordReminderIcon:Class;
private function confirmChangeRecordingStatus():void {
trace("Confirming recording status change!!!!");
@ -132,6 +135,7 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
private function showRecordingNotification():void {
if (firstAudioJoin && this.visible && !this.selected && UserManager.getInstance().getConference().amIModerator()) {
var alert:Alert = Alert.show(ResourceUtil.getInstance().getString("bbb.mainToolbar.recordBtn..notification.message1") + "\n\n" + ResourceUtil.getInstance().getString("bbb.mainToolbar.recordBtn..notification.message2"), ResourceUtil.getInstance().getString("bbb.mainToolbar.recordBtn..notification.title"), Alert.OK, this);
alert.titleIcon = recordReminderIcon;
var newX:Number = this.x;
var newY:Number = this.y + this.height + 5;