1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-30 01:59:02 +00:00

Spellcheck on all Python files

This commit is contained in:
dmiller
2014-02-20 21:22:30 +00:00
parent 1575c63d7d
commit a72faf3906
21 changed files with 75 additions and 75 deletions

View File

@@ -127,7 +127,7 @@ This module implements GTK Widgets that try their best to adhere to the
GNOME Human Interface Guidelines (aka HIG).
This is mostly implemented by subclassing from the GTK classes, and
providing defaults that better match the HIG specifications/recomendations.
providing defaults that better match the HIG specifications/recommendations.
"""
from gtkutils import *

View File

@@ -148,7 +148,7 @@ class HIGAlertDialog(gtk.MessageDialog):
"""
HIGfied Alert Dialog.
Implements the sugestions documented on:
Implements the suggestions documented in:
http://developer.gnome.org/projects/gup/hig/2.0/windows-alert.html
"""

View File

@@ -146,7 +146,7 @@ class HIGClosableTabLabel(HIGHBox):
self.label_text = label_text
self.__create_widgets()
#self.propery_map = {"label_text" : self.label.get_label}
#self.property_map = {"label_text" : self.label.get_label}
def __create_widgets(self):
self.label = gtk.Label(self.label_text)

View File

@@ -191,7 +191,7 @@ class HIGSpinnerImages:
self.rest_pixbuf = self.static_pixbufs[name]
def set_size(self, width, height):
"""Sets the size of eache pixbuf (static and animated)"""
"""Sets the size of each pixbuf (static and animated)"""
new_animated = []
for p in self.animated_pixbufs:
new_animated.append(p.scale_simple(width, height,
@@ -349,11 +349,11 @@ class HIGSpinner(gtk.EventBox):
self.images_width = 32
self.images_height = 32
# Timeout set to 100 miliseconds per frame, just as the
# Timeout set to 100 milliseconds per frame, just as the
# Nautilus/Epiphany implementation
self.timeout = 120
# Initialize a cache for ouselves
# Initialize a cache for ourselves
self.cache = HIGSpinnerCache()
self.cache.load_static_from_lookup()
self.cache.load_animated_from_lookup()

View File

@@ -141,7 +141,7 @@ class HIGTable(gtk.Table):
# TODO:
# - Automatic position packing,
# - Gereric attach function that detects the widget type
# - Generic attach function that detects the widget type
def __init__(self, rows=1, columns=1, homogeneous=False):
gtk.Table.__init__(self, rows, columns, homogeneous)