diff --git a/gui/griffon-app/controllers/com/muwire/gui/OptionsController.groovy b/gui/griffon-app/controllers/com/muwire/gui/OptionsController.groovy index 29c0b6db..364bfa35 100644 --- a/gui/griffon-app/controllers/com/muwire/gui/OptionsController.groovy +++ b/gui/griffon-app/controllers/com/muwire/gui/OptionsController.groovy @@ -77,9 +77,9 @@ class OptionsController { model.font = text uiSettings.font = text - boolean showMonitor = view.monitorCheckbox.model.isSelected() - model.showMonitor = showMonitor - uiSettings.showMonitor = showMonitor +// boolean showMonitor = view.monitorCheckbox.model.isSelected() +// model.showMonitor = showMonitor +// uiSettings.showMonitor = showMonitor boolean clearCancelledDownloads = view.clearCancelledDownloadsCheckbox.model.isSelected() model.clearCancelledDownloads = clearCancelledDownloads @@ -93,9 +93,9 @@ class OptionsController { model.excludeLocalResult = excludeLocalResult uiSettings.excludeLocalResult = excludeLocalResult - boolean showSearchHashes = view.showSearchHashesCheckbox.model.isSelected() - model.showSearchHashes = showSearchHashes - uiSettings.showSearchHashes = showSearchHashes +// boolean showSearchHashes = view.showSearchHashesCheckbox.model.isSelected() +// model.showSearchHashes = showSearchHashes +// uiSettings.showSearchHashes = showSearchHashes File uiSettingsFile = new File(core.home, "gui.properties") uiSettingsFile.withOutputStream { diff --git a/gui/griffon-app/views/com/muwire/gui/OptionsView.groovy b/gui/griffon-app/views/com/muwire/gui/OptionsView.groovy index 919bee8a..4ca319d9 100644 --- a/gui/griffon-app/views/com/muwire/gui/OptionsView.groovy +++ b/gui/griffon-app/views/com/muwire/gui/OptionsView.groovy @@ -89,16 +89,16 @@ class OptionsView { lnfField = textField(text : bind {model.lnf}, columns : 4, constraints : gbc(gridx : 1, gridy : 1)) label(text : "Font", constraints : gbc(gridx: 0, gridy : 2)) fontField = textField(text : bind {model.font}, columns : 4, constraints : gbc(gridx : 1, gridy:2)) - label(text : "Show Monitor", constraints : gbc(gridx :0, gridy: 3)) - monitorCheckbox = checkBox(selected : bind {model.showMonitor}, constraints : gbc(gridx : 1, gridy: 3)) +// label(text : "Show Monitor", constraints : gbc(gridx :0, gridy: 3)) +// monitorCheckbox = checkBox(selected : bind {model.showMonitor}, constraints : gbc(gridx : 1, gridy: 3)) label(text : "Clear Cancelled Downloads", constraints: gbc(gridx: 0, gridy:4)) clearCancelledDownloadsCheckbox = checkBox(selected : bind {model.clearCancelledDownloads}, constraints : gbc(gridx : 1, gridy:4)) label(text : "Clear Finished Downloads", constraints: gbc(gridx: 0, gridy:5)) clearFinishedDownloadsCheckbox = checkBox(selected : bind {model.clearFinishedDownloads}, constraints : gbc(gridx : 1, gridy:5)) label(text : "Exclude Local Files From Results", constraints: gbc(gridx:0, gridy:6)) excludeLocalResultCheckbox = checkBox(selected : bind {model.excludeLocalResult}, constraints : gbc(gridx: 1, gridy : 6)) - label(text : "Show Hash Searches In Monitor", constraints: gbc(gridx:0, gridy:7)) - showSearchHashesCheckbox = checkBox(selected : bind {model.showSearchHashes}, constraints : gbc(gridx: 1, gridy: 7)) +// label(text : "Show Hash Searches In Monitor", constraints: gbc(gridx:0, gridy:7)) +// showSearchHashesCheckbox = checkBox(selected : bind {model.showSearchHashes}, constraints : gbc(gridx: 1, gridy: 7)) } buttonsPanel = builder.panel { gridBagLayout()