[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] [gnuradio] 86/101: grc: gtk3: Renamed the ActionHandle
From: |
git |
Subject: |
[Commit-gnuradio] [gnuradio] 86/101: grc: gtk3: Renamed the ActionHandler to Application |
Date: |
Thu, 16 Mar 2017 14:58:12 +0000 (UTC) |
This is an automated email from the git hooks/post-receive script.
jcorgan pushed a commit to branch python3
in repository gnuradio.
commit c7ea78c37db2d36ace3051ce10bc94fe71501819
Author: Seth Hitefield <address@hidden>
Date: Thu Aug 11 14:30:33 2016 -0400
grc: gtk3: Renamed the ActionHandler to Application
---
grc/gui/{ActionHandler.py => Application.py} | 4 ++--
grc/gui/Dialogs.py | 2 +-
grc/gui/Executor.py | 3 ---
grc/main.py | 6 +++---
4 files changed, 6 insertions(+), 9 deletions(-)
diff --git a/grc/gui/ActionHandler.py b/grc/gui/Application.py
similarity index 99%
rename from grc/gui/ActionHandler.py
rename to grc/gui/Application.py
index 7898146..c68b38b 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 da4b11a..0eb8895 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 a8c6798..7168c9e 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)
diff --git a/grc/main.py b/grc/main.py
index e4d2cef..e0f2b26 100755
--- a/grc/main.py
+++ b/grc/main.py
@@ -24,7 +24,7 @@ from gi.repository import Gtk
from gnuradio import gr
from .gui.Platform import Platform
-from .gui.ActionHandler import ActionHandler
+from .gui.Application import Application
VERSION_AND_DISCLAIMER_TEMPLATE = """\
@@ -53,6 +53,6 @@ def main():
prefs=gr.prefs(),
install_prefix=gr.prefix()
)
-
- app = ActionHandler(args.flow_graphs, platform)
+
+ app = Application(args.flow_graphs, platform)
sys.exit(app.run())
- [Commit-gnuradio] [gnuradio] 69/101: grc: gtk3: use darkened bg color for port border, (continued)
- [Commit-gnuradio] [gnuradio] 69/101: grc: gtk3: use darkened bg color for port border, git, 2017/03/16
- [Commit-gnuradio] [gnuradio] 55/101: grc: various clean-ups and fixes, git, 2017/03/16
- [Commit-gnuradio] [gnuradio] 48/101: grc: refactor: class for nports port clones, git, 2017/03/16
- [Commit-gnuradio] [gnuradio] 49/101: grc: refactor: some more bus ports stuff, git, 2017/03/16
- [Commit-gnuradio] [gnuradio] 50/101: grc: refactor: move type and port controllers to gui, git, 2017/03/16
- [Commit-gnuradio] [gnuradio] 66/101: grc: gtk3: remove deprecated add_with_viewport(), git, 2017/03/16
- [Commit-gnuradio] [gnuradio] 73/101: grc: gtk3: Tweaked color styles for ports, git, 2017/03/16
- [Commit-gnuradio] [gnuradio] 63/101: grc: gtk3: speed up what_is_selected(), git, 2017/03/16
- [Commit-gnuradio] [gnuradio] 76/101: grc: gtk3: calculate flowgraph canvas size, git, 2017/03/16
- [Commit-gnuradio] [gnuradio] 39/101: grc: gtk3: update gui element class, git, 2017/03/16
- [Commit-gnuradio] [gnuradio] 86/101: grc: gtk3: Renamed the ActionHandler to Application,
git <=
- [Commit-gnuradio] [gnuradio] 58/101: grc: gtk3: fix bug in mouse motion handling, git, 2017/03/16
- [Commit-gnuradio] [gnuradio] 51/101: grc: gtk3: fix port label hiding, git, 2017/03/16
- [Commit-gnuradio] [gnuradio] 59/101: grc: gtk3: fix drag and drop from block tree, git, 2017/03/16
- [Commit-gnuradio] [gnuradio] 30/101: grc: refactor: selected blocks handling, git, 2017/03/16
- [Commit-gnuradio] [gnuradio] 74/101: grc: gtk3: minor gui flowgraph cleanup, git, 2017/03/16
- [Commit-gnuradio] [gnuradio] 93/101: grc: gtk3: python3 error, some cmake fixes, git, 2017/03/16
- [Commit-gnuradio] [gnuradio] 85/101: grc: refactor: Moved the notebook and console into separate classes., git, 2017/03/16
- [Commit-gnuradio] [gnuradio] 61/101: grc: gtk3: draw ports before blocks and simplyfied draw code, git, 2017/03/16
- [Commit-gnuradio] [gnuradio] 80/101: grc: gtk3: fix MessageDialog for Variable Panel config, git, 2017/03/16
- [Commit-gnuradio] [gnuradio] 87/101: grc: refactor: Added logging, git, 2017/03/16