Merge pull request #651 from kianmeng/fix-typos

Fix typos
This commit is contained in:
Matt Rose 2022-10-30 11:29:12 -04:00 committed by GitHub
commit df1a433c61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
15 changed files with 35 additions and 35 deletions

View File

@ -151,14 +151,14 @@ terminator 1.90:
* Preselect the current layout when opening Prefs window, and also * Preselect the current layout when opening Prefs window, and also
save config after using the layout 'Save' button (Steve Boddy) save config after using the layout 'Save' button (Steve Boddy)
* Set some default shortcuts based on my preference (Steve Boddy) * Set some default shortcuts based on my preference (Steve Boddy)
* Add high contast icons, make the main window icon loading work * Add high contrast icons, make the main window icon loading work
better, and respect the theme changes (Steve Boddy, LP#305579) better, and respect the theme changes (Steve Boddy, LP#305579)
* Additional windows icon loading works better, and respect the * Additional windows icon loading works better, and respect the
theme changes (LP#305579) theme changes (LP#305579)
* Adjust the config section name to InactivityWatch for * Adjust the config section name to InactivityWatch for
InactivityWatch class InactivityWatch class
* Add a new setting for ActivityWatch to set the time between * Add a new setting for ActivityWatch to set the time between
activty notifications activity notifications
* BIG update to translations, due to additions and changes. * BIG update to translations, due to additions and changes.
* Make the random default group names translatable * Make the random default group names translatable
* Add and improve the mnemonics in the group menu * Add and improve the mnemonics in the group menu
@ -170,7 +170,7 @@ terminator 1.90:
* A few changes to doc strings to make the autodoc prettier * A few changes to doc strings to make the autodoc prettier
* Added help shortcut, by default F1 to open the local manual * Added help shortcut, by default F1 to open the local manual
* Added button to About tab (in Prefs window) to launch manual * Added button to About tab (in Prefs window) to launch manual
* Small tweak to setup.py to seperate build and install, and * Small tweak to setup.py to separate build and install, and
always attempt to install manual by default. always attempt to install manual by default.
* Sort entries in config file, so they don't jump around every * Sort entries in config file, so they don't jump around every
time config is saved for easier troubleshooting time config is saved for easier troubleshooting
@ -258,7 +258,7 @@ terminator 1.90:
terminator class terminator class
* Fix the scroll up/down key bindings to use gtk3 method * Fix the scroll up/down key bindings to use gtk3 method
* Fix getting the handle size (gtk2->gtk3 diff) * Fix getting the handle size (gtk2->gtk3 diff)
* Fix scrollbar doubleclick rebalancing (LP#1423686) * Fix scrollbar double-click rebalancing (LP#1423686)
* Fix allocations (no longer an attribute) when balancing * Fix allocations (no longer an attribute) when balancing
(gtk2->gtk3 diff) (gtk2->gtk3 diff)
* Fix allocations not having the x,y position just w,h (gtk3 bug? * Fix allocations not having the x,y position just w,h (gtk3 bug?
@ -351,7 +351,7 @@ terminator 1.90:
(Egmont Koblinger, LP#1518108) (Egmont Koblinger, LP#1518108)
* Fix copy on selection to work on already open terminals (Egmont * Fix copy on selection to work on already open terminals (Egmont
Koblinger, LP#1518109) Koblinger, LP#1518109)
* Fix unwanted seperator size change, and increase granularity of * Fix unwanted separator size change, and increase granularity of
dim/transparent sliders (Egmont Koblinger, LP#1518114) dim/transparent sliders (Egmont Koblinger, LP#1518114)
* Fix cwd when new term spawned from a symlinked directory (Egmont * Fix cwd when new term spawned from a symlinked directory (Egmont
Koblinger, LP#1518554) Koblinger, LP#1518554)

View File

@ -67,7 +67,7 @@
- Fix Keyboard Input [\#533](https://github.com/gnome-terminator/terminator/issues/533) - Fix Keyboard Input [\#533](https://github.com/gnome-terminator/terminator/issues/533)
- group broadcasting switched on/off for all groups [\#532](https://github.com/gnome-terminator/terminator/issues/532) - group broadcasting switched on/off for all groups [\#532](https://github.com/gnome-terminator/terminator/issues/532)
- Drop a file from nautilus onto terminator window no longer works \(it used to paste the path a la gnome terminal\) [\#530](https://github.com/gnome-terminator/terminator/issues/530) - Drop a file from nautilus onto terminator window no longer works \(it used to paste the path a la gnome terminal\) [\#530](https://github.com/gnome-terminator/terminator/issues/530)
- Crash everytime after encoding is changed to TCVN [\#529](https://github.com/gnome-terminator/terminator/issues/529) - Crash every time after encoding is changed to TCVN [\#529](https://github.com/gnome-terminator/terminator/issues/529)
- Change the color of the current tab to highlight it better [\#522](https://github.com/gnome-terminator/terminator/issues/522) - Change the color of the current tab to highlight it better [\#522](https://github.com/gnome-terminator/terminator/issues/522)
- Feature: Configuration to colorize split screens from default grey colour, Issue: Remove ability to select 0 and 1 handle\_size from configuration gui [\#518](https://github.com/gnome-terminator/terminator/issues/518) - Feature: Configuration to colorize split screens from default grey colour, Issue: Remove ability to select 0 and 1 handle\_size from configuration gui [\#518](https://github.com/gnome-terminator/terminator/issues/518)
- Error when using "Insert Terminal Number" \(Solved?\) [\#517](https://github.com/gnome-terminator/terminator/issues/517) - Error when using "Insert Terminal Number" \(Solved?\) [\#517](https://github.com/gnome-terminator/terminator/issues/517)
@ -79,7 +79,7 @@
- terminator failing to open on ubuntu 21.04 [\#502](https://github.com/gnome-terminator/terminator/issues/502) - terminator failing to open on ubuntu 21.04 [\#502](https://github.com/gnome-terminator/terminator/issues/502)
- Monospace Bold isn't working [\#497](https://github.com/gnome-terminator/terminator/issues/497) - Monospace Bold isn't working [\#497](https://github.com/gnome-terminator/terminator/issues/497)
- No prompt when closing terminator now, despite say vim running in terminal [\#496](https://github.com/gnome-terminator/terminator/issues/496) - No prompt when closing terminator now, despite say vim running in terminal [\#496](https://github.com/gnome-terminator/terminator/issues/496)
- suppor for sixel graphics [\#492](https://github.com/gnome-terminator/terminator/issues/492) - support for sixel graphics [\#492](https://github.com/gnome-terminator/terminator/issues/492)
- which is deprecated and should not be used [\#488](https://github.com/gnome-terminator/terminator/issues/488) - which is deprecated and should not be used [\#488](https://github.com/gnome-terminator/terminator/issues/488)
- could tmux Key bindings using in terminator? [\#474](https://github.com/gnome-terminator/terminator/issues/474) - could tmux Key bindings using in terminator? [\#474](https://github.com/gnome-terminator/terminator/issues/474)
- Support OpenType font features [\#473](https://github.com/gnome-terminator/terminator/issues/473) - Support OpenType font features [\#473](https://github.com/gnome-terminator/terminator/issues/473)
@ -148,7 +148,7 @@
- add parameters to remotinator split commands [\#472](https://github.com/gnome-terminator/terminator/pull/472) ([mattrose](https://github.com/mattrose)) - add parameters to remotinator split commands [\#472](https://github.com/gnome-terminator/terminator/pull/472) ([mattrose](https://github.com/mattrose))
- add switch\_profile\_all command to remotinator [\#471](https://github.com/gnome-terminator/terminator/pull/471) ([mattrose](https://github.com/mattrose)) - add switch\_profile\_all command to remotinator [\#471](https://github.com/gnome-terminator/terminator/pull/471) ([mattrose](https://github.com/mattrose))
- Set CAN\_FOCUS to False for notebook widgets [\#470](https://github.com/gnome-terminator/terminator/pull/470) ([marktimarev](https://github.com/marktimarev)) - Set CAN\_FOCUS to False for notebook widgets [\#470](https://github.com/gnome-terminator/terminator/pull/470) ([marktimarev](https://github.com/marktimarev))
- tell titlebar to start focussed out if it does not have focus [\#462](https://github.com/gnome-terminator/terminator/pull/462) ([mattrose](https://github.com/mattrose)) - tell titlebar to start focused out if it does not have focus [\#462](https://github.com/gnome-terminator/terminator/pull/462) ([mattrose](https://github.com/mattrose))
- Update translation [\#460](https://github.com/gnome-terminator/terminator/pull/460) ([pktiuk](https://github.com/pktiuk)) - Update translation [\#460](https://github.com/gnome-terminator/terminator/pull/460) ([pktiuk](https://github.com/pktiuk))
- Add new plugin for opening current directory using right mouse button [\#459](https://github.com/gnome-terminator/terminator/pull/459) ([pktiuk](https://github.com/pktiuk)) - Add new plugin for opening current directory using right mouse button [\#459](https://github.com/gnome-terminator/terminator/pull/459) ([pktiuk](https://github.com/pktiuk))
- Fixed Issue \#425 \(hide\_window will try to show a destroyed window\) [\#456](https://github.com/gnome-terminator/terminator/pull/456) ([Vulcalien](https://github.com/Vulcalien)) - Fixed Issue \#425 \(hide\_window will try to show a destroyed window\) [\#456](https://github.com/gnome-terminator/terminator/pull/456) ([Vulcalien](https://github.com/Vulcalien))
@ -199,7 +199,7 @@
- Background image not showing up on Xubuntu 20.04 [\#364](https://github.com/gnome-terminator/terminator/issues/364) - Background image not showing up on Xubuntu 20.04 [\#364](https://github.com/gnome-terminator/terminator/issues/364)
- Pasted text is highlighted [\#363](https://github.com/gnome-terminator/terminator/issues/363) - Pasted text is highlighted [\#363](https://github.com/gnome-terminator/terminator/issues/363)
- \[FR\] Option to elide terminal title from the left [\#362](https://github.com/gnome-terminator/terminator/issues/362) - \[FR\] Option to elide terminal title from the left [\#362](https://github.com/gnome-terminator/terminator/issues/362)
- Windows title are not udpated after ssh session disconnected [\#359](https://github.com/gnome-terminator/terminator/issues/359) - Windows title are not updated after ssh session disconnected [\#359](https://github.com/gnome-terminator/terminator/issues/359)
- No broadcast menu in sway [\#357](https://github.com/gnome-terminator/terminator/issues/357) - No broadcast menu in sway [\#357](https://github.com/gnome-terminator/terminator/issues/357)
- Remove spaces between tabs [\#331](https://github.com/gnome-terminator/terminator/issues/331) - Remove spaces between tabs [\#331](https://github.com/gnome-terminator/terminator/issues/331)
- Enhancement: Stjerm Layout Like Functionality [\#298](https://github.com/gnome-terminator/terminator/issues/298) - Enhancement: Stjerm Layout Like Functionality [\#298](https://github.com/gnome-terminator/terminator/issues/298)
@ -244,7 +244,7 @@
- The Alt+L layout chooser is too small [\#345](https://github.com/gnome-terminator/terminator/issues/345) - The Alt+L layout chooser is too small [\#345](https://github.com/gnome-terminator/terminator/issues/345)
- Open in Previous Location [\#337](https://github.com/gnome-terminator/terminator/issues/337) - Open in Previous Location [\#337](https://github.com/gnome-terminator/terminator/issues/337)
- How to install terminator without root privilege? [\#332](https://github.com/gnome-terminator/terminator/issues/332) - How to install terminator without root privilege? [\#332](https://github.com/gnome-terminator/terminator/issues/332)
- Improve separator between splitted terminals [\#329](https://github.com/gnome-terminator/terminator/issues/329) - Improve separator between split terminals [\#329](https://github.com/gnome-terminator/terminator/issues/329)
- Using shift+Super+} for next\_tab key binding doesn't work [\#326](https://github.com/gnome-terminator/terminator/issues/326) - Using shift+Super+} for next\_tab key binding doesn't work [\#326](https://github.com/gnome-terminator/terminator/issues/326)
- "Copy email address" actually doesn't quite do that [\#323](https://github.com/gnome-terminator/terminator/issues/323) - "Copy email address" actually doesn't quite do that [\#323](https://github.com/gnome-terminator/terminator/issues/323)
- Can`t disable key binding [\#322](https://github.com/gnome-terminator/terminator/issues/322) - Can`t disable key binding [\#322](https://github.com/gnome-terminator/terminator/issues/322)
@ -354,7 +354,7 @@ With pull request #70, we removed the need for gettext binaries and switched to
**Closed issues:** **Closed issues:**
- Feature Suggestion: Splitted screen shells based on parent [\#230](https://github.com/gnome-terminator/terminator/issues/230) - Feature Suggestion: Split screen shells based on parent [\#230](https://github.com/gnome-terminator/terminator/issues/230)
- Release 2.0 does not have signed assets [\#228](https://github.com/gnome-terminator/terminator/issues/228) - Release 2.0 does not have signed assets [\#228](https://github.com/gnome-terminator/terminator/issues/228)
- Some files install to the wrong location [\#227](https://github.com/gnome-terminator/terminator/issues/227) - Some files install to the wrong location [\#227](https://github.com/gnome-terminator/terminator/issues/227)
- Multi tab breaks transparent background [\#225](https://github.com/gnome-terminator/terminator/issues/225) - Multi tab breaks transparent background [\#225](https://github.com/gnome-terminator/terminator/issues/225)
@ -423,7 +423,7 @@ With pull request #70, we removed the need for gettext binaries and switched to
- Selecting first char of a line for copy-paste is impossible [\#191](https://github.com/gnome-terminator/terminator/issues/191) - Selecting first char of a line for copy-paste is impossible [\#191](https://github.com/gnome-terminator/terminator/issues/191)
- Duplicate Key Bindings are Allowed in `Preferences > Keybindings` [\#190](https://github.com/gnome-terminator/terminator/issues/190) - Duplicate Key Bindings are Allowed in `Preferences > Keybindings` [\#190](https://github.com/gnome-terminator/terminator/issues/190)
- Cannot open terminator windows with different configs [\#184](https://github.com/gnome-terminator/terminator/issues/184) - Cannot open terminator windows with different configs [\#184](https://github.com/gnome-terminator/terminator/issues/184)
- Feature request: reenable broadcast keybindings and warn on their first use instead [\#183](https://github.com/gnome-terminator/terminator/issues/183) - Feature request: re-enable broadcast keybindings and warn on their first use instead [\#183](https://github.com/gnome-terminator/terminator/issues/183)
- Add Terminator version in About screen [\#169](https://github.com/gnome-terminator/terminator/issues/169) - Add Terminator version in About screen [\#169](https://github.com/gnome-terminator/terminator/issues/169)
- Feature Request: Add hyperlink support [\#164](https://github.com/gnome-terminator/terminator/issues/164) - Feature Request: Add hyperlink support [\#164](https://github.com/gnome-terminator/terminator/issues/164)
- ctrl-alt-a activates even when terminal has no focus [\#163](https://github.com/gnome-terminator/terminator/issues/163) - ctrl-alt-a activates even when terminal has no focus [\#163](https://github.com/gnome-terminator/terminator/issues/163)

View File

@ -1,6 +1,6 @@
The JSONs files in this directory are example config files used by `--config-json` option. The JSONs files in this directory are example config files used by `--config-json` option.
Once this feature would be documented officialy this directoy can be removed. Once this feature would be documented officially this directory can be removed.
Example: Example:
``` ```

View File

@ -251,7 +251,7 @@ the tab will also close all terminals within it.')
maker = Factory() maker = Factory()
mytype = maker.type(self) mytype = maker.type(self)
if not mytype: if not mytype:
err('unable to detemine own type. %s' % self) err('unable to determine own type. %s' % self)
return({}) return({})
layout['type'] = mytype layout['type'] = mytype

View File

@ -23,7 +23,7 @@ class EditableLabel(Gtk.EventBox):
# pylint: disable-msg=W0212 # pylint: disable-msg=W0212
# pylint: disable-msg=R0904 # pylint: disable-msg=R0904
""" """
An eventbox that partialy emulate a Gtk.Label An eventbox that partially emulate a Gtk.Label
On double-click or key binding the label is editable, entering an empty On double-click or key binding the label is editable, entering an empty
will revert back to automatic text will revert back to automatic text
""" """

View File

@ -239,7 +239,7 @@ class Notebook(Container, Gtk.Notebook):
def get_child_metadata(self, widget): def get_child_metadata(self, widget):
"""Fetch the relevant metadata for a widget which we'd need """Fetch the relevant metadata for a widget which we'd need
to recreate it when it's readded""" to recreate it when it's re-added"""
metadata = {} metadata = {}
metadata['tabnum'] = self.page_num(widget) metadata['tabnum'] = self.page_num(widget)
label = self.get_tab_label(widget) label = self.get_tab_label(widget)

View File

@ -101,7 +101,7 @@ class Logger(plugin.MenuItem):
last_saved_row = self.loggers[vte_terminal]["row"] last_saved_row = self.loggers[vte_terminal]["row"]
(col, row) = vte_terminal.get_cursor_position() (col, row) = vte_terminal.get_cursor_position()
if last_saved_col != col or last_saved_row != row: if last_saved_col != col or last_saved_row != row:
# Save unwritten bufer to the file # Save unwritten buffer to the file
self.write_content(vte_terminal, last_saved_row, last_saved_col, row, col) self.write_content(vte_terminal, last_saved_row, last_saved_col, row, col)
fd = self.loggers[vte_terminal]["fd"] fd = self.loggers[vte_terminal]["fd"]
fd.close() fd.close()

View File

@ -16,7 +16,7 @@ from terminatorlib.util import get_config_dir, err, dbg, gerr
AVAILABLE = ['RunCmdOnMatchMenu'] AVAILABLE = ['RunCmdOnMatchMenu']
# For example, open scripts names outputed by python in Vim at the given line number: # For example, open scripts names outputted by python in Vim at the given line number:
# match = r'\B(/\S+?\.py)\S{2}\sline\s(\d+)' # Python's log file matching # match = r'\B(/\S+?\.py)\S{2}\sline\s(\d+)' # Python's log file matching
# cmd = "gvim --servername IDE --remote +{1} {0}" # cmd = "gvim --servername IDE --remote +{1} {0}"
@ -61,7 +61,7 @@ class RunCmdOnMatch(plugin.URLHandler):
try: try:
runcmd = self.__class__.cmd.format(*groups) runcmd = self.__class__.cmd.format(*groups)
except Exception as e: except Exception as e:
err("Exception occured while formating the command: {} {}".format(type(e).__name__, e)) err("Exception occurred while formatting the command: {} {}".format(type(e).__name__, e))
dbg("run: {cmd}".format(cmd=runcmd)) dbg("run: {cmd}".format(cmd=runcmd))
subprocess.run(runcmd.split()) subprocess.run(runcmd.split())
@ -170,7 +170,7 @@ class RunCmdOnMatchMenu(plugin.MenuItem):
rcom_name = "_RunCmdOnMatch_{}".format(key) # key is just the index rcom_name = "_RunCmdOnMatch_{}".format(key) # key is just the index
# Make a handler class. # Make a handler class.
RCOM = MetaRCOM(rcom_name, handler["regexp"], handler["command"]) RCOM = MetaRCOM(rcom_name, handler["regexp"], handler["command"])
# Instanciate the class. # Instantiate the class.
setattr(me, rcom_name, RCOM) setattr(me, rcom_name, RCOM)
if rcom_name not in AVAILABLE: if rcom_name not in AVAILABLE:

View File

@ -1006,7 +1006,7 @@
</child> </child>
<child> <child>
<object class="GtkCheckButton" id="extrastylingcheck"> <object class="GtkCheckButton" id="extrastylingcheck">
<property name="label" translatable="yes">Extra Styling (Theme dependant)</property> <property name="label" translatable="yes">Extra Styling (Theme dependent)</property>
<property name="use-action-appearance">False</property> <property name="use-action-appearance">False</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>

View File

@ -666,7 +666,7 @@ class PrefsEditor:
# Scrollback infinite # Scrollback infinite
widget = guiget('scrollback_infinite') widget = guiget('scrollback_infinite')
widget.set_active(self.config['scrollback_infinite']) widget.set_active(self.config['scrollback_infinite'])
# Scroll on outut # Scroll on output
widget = guiget('scroll_on_output_checkbutton') widget = guiget('scroll_on_output_checkbutton')
widget.set_active(self.config['scroll_on_output']) widget.set_active(self.config['scroll_on_output'])
# Scroll on keystroke # Scroll on keystroke
@ -1219,7 +1219,7 @@ class PrefsEditor:
self.config.save() self.config.save()
def on_title_transmit_bg_color_color_set(self, widget): def on_title_transmit_bg_color_color_set(self, widget):
"""Title transmit backgruond colour changed""" """Title transmit background colour changed"""
self.config['title_transmit_bg_color'] = color2hex(widget) self.config['title_transmit_bg_color'] = color2hex(widget)
self.config.save() self.config.save()

View File

@ -148,7 +148,7 @@ class Searchbar(Gtk.HBox):
self.config.base.set_item('case_sensitive', toggled_state) self.config.base.set_item('case_sensitive', toggled_state)
self.config.save() self.config.save()
self.do_search(self.entry) # Start a new search everytime the check box is toggled. self.do_search(self.entry) # Start a new search every time the check box is toggled.
def get_vte(self): def get_vte(self):
"""Find our parent widget""" """Find our parent widget"""

View File

@ -1113,7 +1113,7 @@ class Terminal(Gtk.VBox):
connec = widget.connect_after('draw', self.on_draw) connec = widget.connect_after('draw', self.on_draw)
widget.queue_draw_area(0, 0, alloc.width, alloc.height) widget.queue_draw_area(0, 0, alloc.width, alloc.height)
widget.get_window().process_updates(True) widget.get_window().process_updates(True)
# finaly reset the values # finally reset the values
widget.disconnect(connec) widget.disconnect(connec)
widget._draw_data = None widget._draw_data = None
@ -1230,7 +1230,7 @@ class Terminal(Gtk.VBox):
def get_location(self, term, x, y): def get_location(self, term, x, y):
"""Get our location within the terminal""" """Get our location within the terminal"""
pos = '' pos = ''
# get the diagonales function for the receiving widget # get the diagonals function for the receiving widget
term_alloc = term.get_allocation() term_alloc = term.get_allocation()
coef1 = float(term_alloc.height)/float(term_alloc.width) coef1 = float(term_alloc.height)/float(term_alloc.width)
coef2 = -float(term_alloc.height)/float(term_alloc.width) coef2 = -float(term_alloc.height)/float(term_alloc.width)
@ -1261,7 +1261,7 @@ class Terminal(Gtk.VBox):
self.vte.grab_focus() self.vte.grab_focus()
def ensure_visible_and_focussed(self): def ensure_visible_and_focussed(self):
"""Make sure that we're visible and focussed""" """Make sure that we're visible and focused"""
window = self.get_toplevel() window = self.get_toplevel()
try: try:
topchild = window.get_children()[0] topchild = window.get_children()[0]
@ -1374,7 +1374,7 @@ class Terminal(Gtk.VBox):
def zoom_scale(self, widget, allocation, old_data): def zoom_scale(self, widget, allocation, old_data):
"""Scale our font correctly based on how big we are not vs before""" """Scale our font correctly based on how big we are not vs before"""
self.cnxids.remove_signal(self, 'size-allocate') self.cnxids.remove_signal(self, 'size-allocate')
# FIXME: Is a zoom signal actualy used anywhere? # FIXME: Is a zoom signal actually used anywhere?
self.cnxids.remove_signal(self, 'zoom') self.cnxids.remove_signal(self, 'zoom')
new_columns = self.vte.get_column_count() new_columns = self.vte.get_column_count()
@ -1663,7 +1663,7 @@ class Terminal(Gtk.VBox):
self.vte.set_font(fontdesc) self.vte.set_font(fontdesc)
def get_cursor_position(self): def get_cursor_position(self):
"""Return the co-ordinates of our cursor""" """Return the coordinates of our cursor"""
# FIXME: THIS METHOD IS DEPRECATED AND UNUSED # FIXME: THIS METHOD IS DEPRECATED AND UNUSED
col, row = self.vte.get_cursor_position() col, row = self.vte.get_cursor_position()
width = self.vte.get_char_width() width = self.vte.get_char_width()
@ -1704,7 +1704,7 @@ class Terminal(Gtk.VBox):
connec = widget.connect_after('draw', self.on_draw) connec = widget.connect_after('draw', self.on_draw)
widget.queue_draw_area(0, 0, alloc.width, alloc.height) widget.queue_draw_area(0, 0, alloc.width, alloc.height)
widget.get_window().process_updates(True) widget.get_window().process_updates(True)
# finaly reset the values # finally reset the values
widget.disconnect(connec) widget.disconnect(connec)
widget._draw_data = None widget._draw_data = None

View File

@ -325,7 +325,7 @@ class Terminator(Borg):
for window in self.windows: for window in self.windows:
if not window.is_child_notebook(): if not window.is_child_notebook():
# For windows without a notebook ensure Terminal is visible and focussed # For windows without a notebook ensure Terminal is visible and focused
if window_last_active_term_mapping[window]: if window_last_active_term_mapping[window]:
term = self.find_terminal_by_uuid(window_last_active_term_mapping[window].urn) term = self.find_terminal_by_uuid(window_last_active_term_mapping[window].urn)
term.ensure_visible_and_focussed() term.ensure_visible_and_focussed()

View File

@ -402,11 +402,11 @@ def update_config_to_cell_height(filename):
dbg('Updted line_height to cell_height.') dbg('Updted line_height to cell_height.')
except Exception as ex: except Exception as ex:
err('Unable to open %s for reading and/or writting.\n(%s)' err('Unable to open %s for reading and/or writing.\n(%s)'
% (filename, ex)) % (filename, ex))
def get_flatpak_args(args, envv, cwd): def get_flatpak_args(args, envv, cwd):
"""Contruct args to be executed via flatpak-spawn""" """Construct args to be executed via flatpak-spawn"""
flatpak_args = None flatpak_args = None
env_args = ['--env={}'.format(env) for env in envv] env_args = ['--env={}'.format(env) for env in envv]
flatpak_spawn = [ flatpak_spawn = [

View File

@ -888,9 +888,9 @@ class Window(Container, Gtk.Window):
allocation = terminal.get_allocation() allocation = terminal.get_allocation()
possibles = [] possibles = []
# Get the co-ordinate of the appropriate edge for this direction # Get the coordinate of the appropriate edge for this direction
edge, p1, p2 = util.get_edge(allocation, direction) edge, p1, p2 = util.get_edge(allocation, direction)
# Find all visible terminals which are, in their entirity, in the # Find all visible terminals which are, in their entirety, in the
# direction we want to move, and are at least partially spanning # direction we want to move, and are at least partially spanning
# p1 to p2 # p1 to p2
for term in layout: for term in layout: