Fix some spelling, spacing and language. Remove a FIXME that was fixed in 0.1

This commit is contained in:
Chris Jones 2007-07-28 19:36:51 +01:00
parent 40b56c14af
commit 8b06997fb2
1 changed files with 4 additions and 5 deletions

View File

@ -29,7 +29,6 @@ class TerminatorTerm:
# Our settings # Our settings
# FIXME: Add commandline and/or gconf options to change these # FIXME: Add commandline and/or gconf options to change these
# FIXME: Track profile default command behaviour
defaults = { defaults = {
'profile_dir' : '/apps/gnome-terminal/profiles/', 'profile_dir' : '/apps/gnome-terminal/profiles/',
'profile' : 'Default', 'profile' : 'Default',
@ -128,7 +127,7 @@ class TerminatorTerm:
# Set our compatibility # Set our compatibility
backspace = self.gconf_client.get_string (self.profile + "/backspace_binding") or self.defaults['backspace_binding'] backspace = self.gconf_client.get_string (self.profile + "/backspace_binding") or self.defaults['backspace_binding']
delete = self.gconf_client.get_string (self.profile + "/delete_bindin") or self.defaults['delete_binding'] delete = self.gconf_client.get_string (self.profile + "/delete_binding") or self.defaults['delete_binding']
# Note, each of the 4 following comments should replace the line beneath it, but the python-vte bindings don't appear to support this constant, so the magic values are being assumed from the C enum :/ # Note, each of the 4 following comments should replace the line beneath it, but the python-vte bindings don't appear to support this constant, so the magic values are being assumed from the C enum :/
if backspace == "ascii-del": if backspace == "ascii-del":
@ -165,7 +164,7 @@ class TerminatorTerm:
# Set our color scheme, preferably from gconf settings # Set our color scheme, preferably from gconf settings
palette = self.gconf_client.get_string (self.profile + "/palette") or self.defaults['palette'] palette = self.gconf_client.get_string (self.profile + "/palette") or self.defaults['palette']
if self.gconf_client.get_bool (self.profile + "/use_theme_colors") == True: if self.gconf_client.get_bool (self.profile + "/use_theme_colors") == True:
# FIXME: For some reason this isn't working properly, but it appears to be analogous to what gnome-terminal does in C # FIXME: For some reason this isn't working properly, but the code appears to be analogous to what gnome-terminal does in C
fg_color = self._vte.get_style().text[gtk.STATE_NORMAL] fg_color = self._vte.get_style().text[gtk.STATE_NORMAL]
bg_color = self._vte.get_style().base[gtk.STATE_NORMAL] bg_color = self._vte.get_style().base[gtk.STATE_NORMAL]
else: else: