Sitelet https://github.com/gpodder/gpodder/pull/1172
Skip to content

Remove deprecated GTK features from episodeselector - #1172

Merged
auouymous merged 4 commits into
gpodder:masterfrom
tpikonen:stockless-episodeselector
Oct 28, 2021
Merged

auouymous merged 4 commits into
gpodder:masterfrom
tpikonen:stockless-episodeselector

Conversation

@tpikonen

Copy link
Copy Markdown
Contributor

Split from #1129 with additional fixes.

 * Replace GTK stock labels with text
 * Replace icon stock-ids with standard icon names
 * Remove deprecated Alignment widgets
 * Set always show image in OK button
 * Rename gPodderEpisodeSelector constructor kwarg 'stock_ok_button'
   to 'ok_button'. Change callers in main.py to use it with text labels
   instead of Gtk.STOCK_* values
 * Set transient for parent widget
@auouymous

Copy link
Copy Markdown
Member

I know about downloading episodes, deleting episodes and deleting channels. What else uses this that shows the OK and Remove buttons?

Should OK, Remove, Download, Mark as old, Select all and Select none have mneumonics? Some of them have use-underline set but have no underscore in the label.

Set use-underline on all buttons in gpodderepisodeselector.ui.

Add underscore mnemonics to the special 'gpodder-download' button and in
'remove-button' and 'ok-button' args of callers in main.py.
@tpikonen

Copy link
Copy Markdown
Contributor Author

I added mnemonics to all buttons.

@auouymous, in addition to the uses you mentioned, episodeselector is used in gPodderSyncUI to select episodes to delete. I think the button labels in the ui-file are only used there.

@auouymous
auouymous merged commit 5499658 into gpodder:master Oct 28, 2021
@auouymous

Copy link
Copy Markdown
Member

Thank you.

@tpikonen
tpikonen deleted the stockless-episodeselector branch October 29, 2021 09:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants