Skip to content

Commit

Permalink
Fix codestyle and 'make lint'
Browse files Browse the repository at this point in the history
  • Loading branch information
tpikonen committed Jan 26, 2024
1 parent 60a972e commit 9161f1e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/gpodder/gtkui/interface/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,7 @@ def set_cursor_to_first(cls, treeview):
treeview.set_cursor(path)
return True


class ExtensionMenuHelper(object):
"""A helper class to handle extension submenus"""

Expand Down
5 changes: 3 additions & 2 deletions src/gpodder/gtkui/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -469,8 +469,8 @@ def create_actions(self):
# ('moveDown', self.on_move_selected_items_down),
# ('remove', self.on_remove_from_download_list),
('delete', self.on_delete_activate),
# ('toggleEpisodeNew', self.on_item_toggle_played_activate),
# ('toggleEpisodeLock', self.on_item_toggle_lock_activate),
# ('toggleEpisodeNew', self.on_item_toggle_played_activate),
# ('toggleEpisodeLock', self.on_item_toggle_lock_activate),
('openEpisodeDownloadFolder', self.on_open_episode_download_folder),
('openChannelDownloadFolder', self.on_open_download_folder),
('selectChannel', self.on_select_channel_of_episode),
Expand Down Expand Up @@ -549,6 +549,7 @@ def update_header_bar_subtitle(self, text=None):
self.header_bar.set_subtitle("%s channels, %s episodes" % (chs, eps))
else:
self.header_bar.set_subtitle(text)

def on_resume_all_infobar_response(self, infobar, response_id):
if response_id == Gtk.ResponseType.OK:
selection = self.treeDownloads.get_selection()
Expand Down

0 comments on commit 9161f1e

Please sign in to comment.