diff options
author | Seth Hitefield <sdhitefield@gmail.com> | 2016-08-11 14:30:33 -0400 |
---|---|---|
committer | Seth Hitefield <sdhitefield@gmail.com> | 2016-09-23 16:18:10 -0400 |
commit | c7ea78c37db2d36ace3051ce10bc94fe71501819 (patch) | |
tree | 411bfeedb42f84c45780e87187b63a96f49c825e /grc/gui | |
parent | 03af90b98904b636b6fca75c3a4837391e3c03e2 (diff) |
grc: gtk3: Renamed the ActionHandler to Application
Diffstat (limited to 'grc/gui')
-rw-r--r-- | grc/gui/Application.py (renamed from grc/gui/ActionHandler.py) | 4 | ||||
-rw-r--r-- | grc/gui/Dialogs.py | 2 | ||||
-rw-r--r-- | grc/gui/Executor.py | 3 |
3 files changed, 3 insertions, 6 deletions
diff --git a/grc/gui/ActionHandler.py b/grc/gui/Application.py index 7898146dcc..c68b38bbaf 100644 --- a/grc/gui/ActionHandler.py +++ b/grc/gui/Application.py @@ -33,7 +33,7 @@ from .PropsDialog import PropsDialog from ..core import ParseXML, Messages -class ActionHandler(Gtk.Application): +class Application(Gtk.Application): """ The action handler will setup all the major window components, and handle button presses and flow graph operations from the GUI. @@ -42,7 +42,7 @@ class ActionHandler(Gtk.Application): def __init__(self, file_paths, platform): Gtk.Application.__init__(self) """ - ActionHandler constructor. + Application constructor. Create the main window, setup the message handler, import the preferences, and connect all of the action handlers. Finally, enter the gtk main loop and block. diff --git a/grc/gui/Dialogs.py b/grc/gui/Dialogs.py index da4b11a3b6..0eb88952b7 100644 --- a/grc/gui/Dialogs.py +++ b/grc/gui/Dialogs.py @@ -124,7 +124,7 @@ class TextDisplay(SimpleTextDisplay): logfile.write(buf.get_text(buf.get_start_iter(), buf.get_end_iter(), True)) - # Action functions are set by the ActionHandler's init function + # Action functions are set by the Application's init function def clear_cb(self, menu_item, web_view): """ Callback function to clear the text buffer """ Actions.CLEAR_CONSOLE() diff --git a/grc/gui/Executor.py b/grc/gui/Executor.py index a8c67986e5..7168c9ef46 100644 --- a/grc/gui/Executor.py +++ b/grc/gui/Executor.py @@ -35,9 +35,6 @@ class ExecFlowGraphThread(threading.Thread): def __init__(self, flow_graph_page, xterm_executable, callback): """ ExecFlowGraphThread constructor. - - Args: - action_handler: an instance of an ActionHandler """ threading.Thread.__init__(self) |