mirror of https://github.com/zlatinb/muwire
ability to not show monitor panel
parent
042d67d784
commit
0b4f261bc1
|
@ -41,6 +41,7 @@ class MainFrameView {
|
|||
def lastDownloadSortEvent
|
||||
|
||||
void initUI() {
|
||||
UISettings settings = application.context.get("ui-settings")
|
||||
builder.with {
|
||||
application(size : [1024,768], id: 'main-frame',
|
||||
locationRelativeTo : null,
|
||||
|
@ -63,6 +64,7 @@ class MainFrameView {
|
|||
gridLayout(rows:1, cols: 2)
|
||||
button(text: "Searches", actionPerformed : showSearchWindow)
|
||||
button(text: "Uploads", actionPerformed : showUploadsWindow)
|
||||
if (settings.showMonitor)
|
||||
button(text: "Monitor", actionPerformed : showMonitorWindow)
|
||||
button(text: "Trust", actionPerformed : showTrustWindow)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue