Skip to content

Commit d6a368f

Browse files
change shortcutkeys property name in config.xml
1 parent b2dd27d commit d6a368f

File tree

7 files changed

+14
-14
lines changed

7 files changed

+14
-14
lines changed

bigbluebutton-client/resources/config.xml.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<application uri="rtmp://HOST/bigbluebutton" host="http://HOST/bigbluebutton/api/enter" />
88
<language userSelectionEnabled="true" />
99
<skinning enabled="true" url="http://HOST/client/branding/css/BBBDefault.css.swf" />
10-
<shortcutKeys userSelectionEnabled="true" />
10+
<shortcutKeys showButton="true" />
1111
<layout showLogButton="false" showVideoLayout="false" showResetLayout="true" defaultLayout="Default"
1212
showToolbar="true" showFooter="true" showHelpButton="true" showLogoutWindow="true"/>
1313

bigbluebutton-client/src/org/bigbluebutton/core/model/Config.as

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ package org.bigbluebutton.core.model
6767

6868
public function get shortcutKeys():Object {
6969
var a:Object = new Object();
70-
a.userSelectionEnabled = ((config.shortcutKeys.@userSelectionEnabled).toUpperCase() == "TRUE") ? true : false;
70+
a.showButton = ((config.shortcutKeys.@showButton).toUpperCase() == "TRUE") ? true : false;
7171
return a
7272
}
7373

bigbluebutton-client/src/org/bigbluebutton/core/vo/Config.as

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ package org.bigbluebutton.core.vo {
2727
private var _host:String;
2828
private var _numModules:int;
2929
private var _languageEnabled:Boolean;
30-
private var _shortcutKeysEnabled:Boolean;
30+
private var _shortcutKeysShowButton:Boolean;
3131
private var _skinning:String = "";
3232
private var _showDebug:Boolean = false;
3333

@@ -41,7 +41,7 @@ package org.bigbluebutton.core.vo {
4141
_host = builder.host;
4242
_numModules = builder.numModules;
4343
_languageEnabled = builder.languageEnabled;
44-
_shortcutKeysEnabled = builder.shortcutKeysEnabled;
44+
_shortcutKeysShowButton = builder.shortcutKeysShowButton;
4545
_skinning = builder.skinning;
4646
_showDebug = builder.showDebug;
4747
}
@@ -82,8 +82,8 @@ package org.bigbluebutton.core.vo {
8282
return _languageEnabled;
8383
}
8484

85-
public function get shortcutKeysEnabled():Boolean {
86-
return _shortcutKeysEnabled;
85+
public function get shortcutKeysShowButton():Boolean {
86+
return _shortcutKeysShowButton;
8787
}
8888

8989
public function get skinning():String {

bigbluebutton-client/src/org/bigbluebutton/core/vo/ConfigBuilder.as

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ package org.bigbluebutton.core.vo {
2727
internal var host:String;
2828
internal var numModules:int;
2929
internal var languageEnabled:Boolean;
30-
internal var shortcutKeysEnabled:Boolean;
30+
internal var shortcutKeysShowButton:Boolean;
3131
internal var skinning:String = "";
3232
internal var showDebug:Boolean = false;
3333

@@ -71,8 +71,8 @@ package org.bigbluebutton.core.vo {
7171
return this;
7272
}
7373

74-
public function withShortcutKeysEnabled(shortcutKeysEnabled:Boolean):ConfigBuilder {
75-
this.shortcutKeysEnabled = shortcutKeysEnabled;
74+
public function withShortcutKeysShowButton(shortcutKeysShowButton:Boolean):ConfigBuilder {
75+
this.shortcutKeysShowButton = shortcutKeysShowButton;
7676
return this;
7777
}
7878

bigbluebutton-client/src/org/bigbluebutton/main/model/ConfigParameters.as

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ package org.bigbluebutton.main.model
5252
public var host:String;
5353
public var numModules:int;
5454
public var languageEnabled:Boolean;
55-
public var shortcutKeysEnabled:Boolean;
55+
public var shortcutKeysShowButton:Boolean;
5656
public var skinning:String = "";
5757
public var showDebug:Boolean = false;
5858

@@ -102,8 +102,8 @@ package org.bigbluebutton.main.model
102102
if (xml.language.@userSelectionEnabled == "true") languageEnabled = true;
103103
else languageEnabled = false;
104104

105-
if (xml.shortcutKeys.@userSelectionEnabled == "true") shortcutKeysEnabled = true;
106-
else shortcutKeysEnabled = false;
105+
if (xml.shortcutKeys.@showButton == "true") shortcutKeysShowButton = true;
106+
else shortcutKeysShowButton = false;
107107

108108
if (xml.skinning.@enabled == "true") skinning = xml.skinning.@url;
109109

bigbluebutton-client/src/org/bigbluebutton/main/model/modules/ModulesDispatcher.as

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ package org.bigbluebutton.main.model.modules
140140
.withHelpUrl(c.helpURL)
141141
.withHost(c.host)
142142
.withLanguageEnabled(c.languageEnabled)
143-
.withShortcutKeysEnabled(c.shortcutKeysEnabled)
143+
.withShortcutKeysShowButton(c.shortcutKeysShowButton)
144144
.withNumModule(c.numModules)
145145
.withPortTestApplication(c.portTestApplication)
146146
.withPortTestHost(c.portTestHost)

bigbluebutton-client/src/org/bigbluebutton/main/views/MainToolbar.mxml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
192192
193193
private function gotConfigParameters(e:ConfigEvent):void{
194194
langSelector.visible = e.config.languageEnabled;
195-
shortcutKeysBtn.includeInLayout = shortcutKeysBtn.visible = e.config.shortcutKeysEnabled;
195+
shortcutKeysBtn.includeInLayout = shortcutKeysBtn.visible = e.config.shortcutKeysShowButton;
196196
DEFAULT_HELP_URL = e.config.helpURL;
197197
}
198198

0 commit comments

Comments
 (0)