|
|
@ -314,8 +314,10 @@ Ext.define('Rambox.view.main.MainController', { |
|
|
|
|
|
|
|
|
|
|
|
btn.setText(locale['app.main[16]']+': ' + ( btn.pressed ? locale['app.window[20]'] : locale['app.window[21]'] )); |
|
|
|
btn.setText(locale['app.main[16]']+': ' + ( btn.pressed ? locale['app.window[20]'] : locale['app.window[21]'] )); |
|
|
|
|
|
|
|
|
|
|
|
var btn_icon = document.getElementById('disturbBtn-btnIconEl'); |
|
|
|
// var btn_icon = document.getElementById('disturbBtn-btnIconEl');
|
|
|
|
btn_icon.innerHTML = btn.pressed ? "" : ""; |
|
|
|
// btn_icon.innerHTML = btn.pressed ? "" : "";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
btn.pressed ? btn.setGlyph('xf1f7@FontAwesome') : btn.setGlyph('xf0f3@FontAwesome'); |
|
|
|
|
|
|
|
|
|
|
|
// If this method is called from Lock method, prevent showing toast
|
|
|
|
// If this method is called from Lock method, prevent showing toast
|
|
|
|
if ( !e ) return; |
|
|
|
if ( !e ) return; |
|
|
|