diff options
author | Seth Hitefield <sdhitefield@gmail.com> | 2016-05-04 23:38:56 -0400 |
---|---|---|
committer | Sebastian Koslowski <koslowski@kit.edu> | 2016-05-20 13:35:26 +0200 |
commit | 4a739cb097d9e78593aae7d722a4834cd01cddd7 (patch) | |
tree | 49b2eb0dd439d534a89cdf949cce96455ec9c974 /grc/gui/Dialogs.py | |
parent | 4be2523ecc678365c52701a37a1b13c285bef0ba (diff) |
grc: Renamed reports window to console.
Diffstat (limited to 'grc/gui/Dialogs.py')
-rw-r--r-- | grc/gui/Dialogs.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/grc/gui/Dialogs.py b/grc/gui/Dialogs.py index 6cfdd50a34..1d114356c8 100644 --- a/grc/gui/Dialogs.py +++ b/grc/gui/Dialogs.py @@ -92,21 +92,21 @@ class TextDisplay(SimpleTextDisplay): buffer.delete(buffer.get_start_iter(), buffer.get_end_iter()) def save(self, file_path): - report_file = open(file_path, 'w') + console_file = open(file_path, 'w') buffer = self.get_buffer() - report_file.write(buffer.get_text(buffer.get_start_iter(), buffer.get_end_iter(), True)) - report_file.close() + console_file.write(buffer.get_text(buffer.get_start_iter(), buffer.get_end_iter(), True)) + console_file.close() # Callback functions to handle the scrolling lock and clear context menus options # Action functions are set by the ActionHandler's init function def clear_cb(self, menu_item, web_view): - Actions.CLEAR_REPORTS() + Actions.CLEAR_CONSOLE() def scroll_back_cb(self, menu_item, web_view): Actions.TOGGLE_SCROLL_LOCK() def save_cb(self, menu_item, web_view): - Actions.SAVE_REPORTS() + Actions.SAVE_CONSOLE() def populate_popup(self, view, menu): """Create a popup menu for the scroll lock and clear functions""" |