diff options
author | Calum Lind <calumlind+deluge@gmail.com> | 2021-09-21 21:40:13 +0100 |
---|---|---|
committer | Calum Lind <calumlind+deluge@gmail.com> | 2021-09-21 21:43:53 +0100 |
commit | 1e6cc0394666ae95e9521f1016d07d56a3ed43a5 (patch) | |
tree | 9c4a1cd6da29403c8f14e6f190490ff39ab656ae /deluge/ui/gtk3 | |
parent | d8526ba65335bcd48e3f5fa7056081d9a8cd5bd3 (diff) | |
download | deluge-1e6cc0394666ae95e9521f1016d07d56a3ed43a5.tar.gz deluge-1e6cc0394666ae95e9521f1016d07d56a3ed43a5.tar.bz2 deluge-1e6cc0394666ae95e9521f1016d07d56a3ed43a5.zip |
[Lint] Fix spelling mistakes
A quick fix of some of the mistakes caught by codespell.
Updated readme with new IRC server
Useful to add it as part of linting checks.
Diffstat (limited to 'deluge/ui/gtk3')
-rw-r--r-- | deluge/ui/gtk3/files_tab.py | 2 | ||||
-rw-r--r-- | deluge/ui/gtk3/filtertreeview.py | 2 | ||||
-rw-r--r-- | deluge/ui/gtk3/glade/preferences_dialog.ui | 2 | ||||
-rw-r--r-- | deluge/ui/gtk3/gtkui.py | 2 | ||||
-rw-r--r-- | deluge/ui/gtk3/listview.py | 2 | ||||
-rw-r--r-- | deluge/ui/gtk3/status_tab.py | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/deluge/ui/gtk3/files_tab.py b/deluge/ui/gtk3/files_tab.py index 6fda2fd37..50f8a4587 100644 --- a/deluge/ui/gtk3/files_tab.py +++ b/deluge/ui/gtk3/files_tab.py @@ -449,7 +449,7 @@ class FilesTab(Tab): try: value = completed_bytes / self.treestore[parent][1] * 100 except ZeroDivisionError: - # Catch the unusal error found when moving folders around + # Catch the unusual error found when moving folders around value = 0 self.treestore[parent][3] = value self.treestore[parent][2] = '%i%%' % value diff --git a/deluge/ui/gtk3/filtertreeview.py b/deluge/ui/gtk3/filtertreeview.py index a7b6aa87c..4272ef018 100644 --- a/deluge/ui/gtk3/filtertreeview.py +++ b/deluge/ui/gtk3/filtertreeview.py @@ -224,7 +224,7 @@ class FilterTreeView(component.Component): label = decode_bytes(model.get_value(row, 2)) count = model.get_value(row, 3) - # Supress Warning: g_object_set_qdata: assertion `G_IS_OBJECT (object)' failed + # Suppress Warning: g_object_set_qdata: assertion `G_IS_OBJECT (object)' failed original_filters = warnings.filters[:] warnings.simplefilter('ignore') try: diff --git a/deluge/ui/gtk3/glade/preferences_dialog.ui b/deluge/ui/gtk3/glade/preferences_dialog.ui index 1882521fd..11eda3296 100644 --- a/deluge/ui/gtk3/glade/preferences_dialog.ui +++ b/deluge/ui/gtk3/glade/preferences_dialog.ui @@ -2204,7 +2204,7 @@ used sparingly.</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> - <property name="tooltip_text" translatable="yes">Torrents not transfering any data do not count towards download/seeding active count.</property> + <property name="tooltip_text" translatable="yes">Torrents not transferring any data do not count towards download/seeding active count.</property> <property name="halign">start</property> <property name="draw_indicator">True</property> </object> diff --git a/deluge/ui/gtk3/gtkui.py b/deluge/ui/gtk3/gtkui.py index ebb78e8b2..74f29384e 100644 --- a/deluge/ui/gtk3/gtkui.py +++ b/deluge/ui/gtk3/gtkui.py @@ -221,7 +221,7 @@ class GtkUI(object): menubar_osx(self, self.osxapp) self.osxapp.ready() - # Initalize the plugins + # Initialize the plugins self.plugins = PluginManager() # Show the connection manager diff --git a/deluge/ui/gtk3/listview.py b/deluge/ui/gtk3/listview.py index 07b366978..4e9fe5db8 100644 --- a/deluge/ui/gtk3/listview.py +++ b/deluge/ui/gtk3/listview.py @@ -112,7 +112,7 @@ class ListView(object): Gtk.TreeViewColumn.set_visible(self, visible) if self.data_func: if not visible: - # Set data function to None to prevent unecessary calls when column is hidden + # Set data function to None to prevent unnecessary calls when column is hidden self.set_cell_data_func(self.cell_renderer, None, func_data=None) else: self.set_cell_data_func( diff --git a/deluge/ui/gtk3/status_tab.py b/deluge/ui/gtk3/status_tab.py index fab671940..938c2dd7d 100644 --- a/deluge/ui/gtk3/status_tab.py +++ b/deluge/ui/gtk3/status_tab.py @@ -110,7 +110,7 @@ class StatusTab(Tab): if decode_bytes(widget[0].get_text()) != txt: widget[0].set_text(txt) - # Update progress bar seperately as it's a special case (not a label). + # Update progress bar separately as it's a special case (not a label). fraction = status['progress'] / 100 if self.config['show_piecesbar']: |