diff --git a/js/app/controllers/ExplorerModule.js b/js/app/controllers/ExplorerModule.js index 6f6037d..27a2aae 100644 --- a/js/app/controllers/ExplorerModule.js +++ b/js/app/controllers/ExplorerModule.js @@ -114,7 +114,7 @@ Ext.define('amdaDesktop.ExplorerModule', stateful: true, stateId: 'LogPanel', tools: [{ - type: 'close', + type: 'trash', tooltip: 'Clear logs', handler: function () { var logPanel = win.items.get('LogPanel') diff --git a/js/resources/css/amda.css b/js/resources/css/amda.css index 51ce619..ae8bacc 100644 --- a/js/resources/css/amda.css +++ b/js/resources/css/amda.css @@ -121,6 +121,14 @@ background-image: url(../images/small_cancel_centered.png); } /** +Custom tool typ icons + */ + +.x-tool-trash { + background-image: url(../images/trash.png) !important; +} + +/** * RangeMenu Styles **/ @@ -504,4 +512,4 @@ p + p { .epntap_cell { padding: 4px; white-space: normal; -} \ No newline at end of file +} diff --git a/js/resources/images/trash.png b/js/resources/images/trash.png new file mode 100644 index 0000000..4af9a4f Binary files /dev/null and b/js/resources/images/trash.png differ -- libgit2 0.21.2