summaryrefslogtreecommitdiff
path: root/grc/gui
diff options
context:
space:
mode:
Diffstat (limited to 'grc/gui')
-rw-r--r--grc/gui/Actions.py2
-rw-r--r--grc/gui/Block.py2
-rw-r--r--grc/gui/Dialogs.py2
-rw-r--r--grc/gui/DrawingArea.py2
-rw-r--r--grc/gui/Executor.py2
-rw-r--r--grc/gui/FileDialogs.py2
-rw-r--r--grc/gui/Port.py2
-rw-r--r--grc/gui/StateCache.py2
8 files changed, 8 insertions, 8 deletions
diff --git a/grc/gui/Actions.py b/grc/gui/Actions.py
index 6eccab75fb..5e728a350f 100644
--- a/grc/gui/Actions.py
+++ b/grc/gui/Actions.py
@@ -87,7 +87,7 @@ class _ActionBase(object):
# set the accelerator group, and accelerator path
# register the key name and mod mask with the accelerator path
if label is None:
- continue # dont register accel
+ continue # don't register accel
accel_path = '<main>/' + self.get_name()
self.set_accel_group(get_accel_group())
self.set_accel_path(accel_path)
diff --git a/grc/gui/Block.py b/grc/gui/Block.py
index 39c6993a37..e3de04961d 100644
--- a/grc/gui/Block.py
+++ b/grc/gui/Block.py
@@ -54,7 +54,7 @@ class Block(Element, _Block):
def __init__(self, flow_graph, n):
"""
- Block contructor.
+ Block constructor.
Add graphics related params to the block.
"""
_Block.__init__(self, flow_graph, n)
diff --git a/grc/gui/Dialogs.py b/grc/gui/Dialogs.py
index 83ad9651b2..4c89810bb6 100644
--- a/grc/gui/Dialogs.py
+++ b/grc/gui/Dialogs.py
@@ -251,7 +251,7 @@ def ChooseEditorDialog(config):
'Would you like to choose the editor to use?', gtk.RESPONSE_YES, buttons
)
- # Handle the inital default/choose/cancel response
+ # Handle the initial default/choose/cancel response
# User wants to choose the editor to use
if response == gtk.RESPONSE_YES:
file_dialog = gtk.FileChooserDialog(
diff --git a/grc/gui/DrawingArea.py b/grc/gui/DrawingArea.py
index 6a1df27a8c..64862ce6d8 100644
--- a/grc/gui/DrawingArea.py
+++ b/grc/gui/DrawingArea.py
@@ -33,7 +33,7 @@ class DrawingArea(gtk.DrawingArea):
def __init__(self, flow_graph):
"""
- DrawingArea contructor.
+ DrawingArea constructor.
Connect event handlers.
Args:
diff --git a/grc/gui/Executor.py b/grc/gui/Executor.py
index f91a341541..bab23dfdb8 100644
--- a/grc/gui/Executor.py
+++ b/grc/gui/Executor.py
@@ -39,7 +39,7 @@ class ExecFlowGraphThread(threading.Thread):
"""
threading.Thread.__init__(self)
- self.page = flow_graph_page # store page and dont use main window calls in run
+ self.page = flow_graph_page # store page and don't use main window calls in run
self.xterm_executable = xterm_executable
self.update_callback = callback
diff --git a/grc/gui/FileDialogs.py b/grc/gui/FileDialogs.py
index 9d047b1ffd..30978bbf9d 100644
--- a/grc/gui/FileDialogs.py
+++ b/grc/gui/FileDialogs.py
@@ -90,7 +90,7 @@ class FileDialogHelper(gtk.FileChooserDialog):
def __init__(self, action, title):
"""
- FileDialogHelper contructor.
+ FileDialogHelper constructor.
Create a save or open dialog with cancel and ok buttons.
Use standard settings: no multiple selection, local files only, and the * filter.
diff --git a/grc/gui/Port.py b/grc/gui/Port.py
index 6314b7ede8..690b1087e3 100644
--- a/grc/gui/Port.py
+++ b/grc/gui/Port.py
@@ -40,7 +40,7 @@ class Port(_Port, Element):
def __init__(self, block, n, dir):
"""
- Port contructor.
+ Port constructor.
Create list of connector coordinates.
"""
_Port.__init__(self, block, n, dir)
diff --git a/grc/gui/StateCache.py b/grc/gui/StateCache.py
index 3cdb5f30ce..12ec9305b0 100644
--- a/grc/gui/StateCache.py
+++ b/grc/gui/StateCache.py
@@ -32,7 +32,7 @@ class StateCache(object):
StateCache constructor.
Args:
- initial_state: the intial state (nested data)
+ initial_state: the initial state (nested data)
"""
self.states = [None] * STATE_CACHE_SIZE #fill states
self.current_state_index = 0