Commit Graph

289 Commits

Author SHA1 Message Date
Anders Jonsson
a8da740ada Update Swedish translation 2019-12-22 11:01:49 +00:00
Jordi Mas i Hernandez
082ec0f592 Update Catalan translation 2019-12-16 06:31:10 +00:00
Daniel Mustieles
d49cad0bc0 Update Spanish translation 2019-12-11 11:32:00 +00:00
Rafael Fontenelle
75d8676de5 Update Brazilian Portuguese translation 2019-12-09 13:24:11 +00:00
James Westman
8081990895 Improve show description UI
Instead of being a scroll window inside a scroll window, the show
description now shows just the first paragraph by default, then displays
a "Read More" button if there is more to the description. Clicking the
button reveals the rest.

Currently, to keep the button from glitching when updating it from the
size-allocate signal, a GtkRevealer with a transition-duration of
1 millisecond is used. It's a hacky workaround but I'm not quite sure
how to do it better.

Fixes #81
2019-12-08 19:26:25 +00:00
Jordan Petridis
bcd610e2e3
cargo fmt 2019-11-18 10:23:59 +02:00
James Westman
0e0d860cd2 headerbar: Add activate handler to add entry
This way, pressing Enter after typing/pasting a URL adds the podcast
feed, instead of needing to press the button separately.
2019-10-28 11:57:51 -05:00
James Westman
33d28d1e7b Fix extra window appearing for some podcasts
Fixes #156.
2019-10-24 23:51:20 +00:00
James Westman
f6eb3dd90e headerbar: Use Handy widgets 2019-10-24 15:46:46 -05:00
Christopher Davis
ea0bb607b6
Release version 0.4.7 2019-10-23 20:45:37 +03:00
Jordan Petridis
073d00b45b
Update cargo deps 2019-10-20 20:21:32 +03:00
Jordan Petridis
982cb13e7e
shows_view: remove reduntant import 2019-10-20 20:14:11 +03:00
Jordan Petridis
6d3d4c8339
meson: install nightly icon 2019-10-20 20:03:07 +03:00
Mohammed Sadiq
61a7b24084 headerbar: Use a smaller width for entry
So that it fits better on smaller screens
2019-10-19 15:26:29 +00:00
Mohammed Sadiq
8b2ca19f1a episode_widget: Allow reaching smaller widths
So that the window fits fine on smaller screens
2019-10-19 15:26:29 +00:00
James Westman
c739935335 Show app icon in PulseAudio settings
According to the docs, `gtk::Window::set_default_icon_name` should take care of
this, but it evidently isn't. So we'll use the environment variable method
instead.

Fixes #142
2019-10-19 01:26:46 -05:00
Asier Sarasua Garmendia
34e4a4f483 Add Basque translation 2019-10-18 08:00:51 +00:00
Felix Häcker
026145e0c7 Remove unnecessary MPRIS Flatpak permissions 2019-10-09 21:03:13 +02:00
Jordan Petridis
a9873da802
cargo fmt 2019-10-04 14:52:19 +03:00
Julian Hofer
d98f0a20a8 Fix link and typo 2019-09-24 21:34:10 +02:00
Jordan Petridis
945b40249c
Do not hardcode deny(warnings) in the source code
When a new version of the compiler introduces a new warning
it makes your perfectly fine older release require manual
patching in order to build again.
2019-09-13 03:05:38 +03:00
Jordan Petridis
1192642811
update cargo deps 2019-09-13 02:55:10 +03:00
Sabri Ünal
66b3f031a5 Update Turkish translation 2019-09-09 06:49:59 +00:00
Julian Hofer
bd10ed93af
player: Playback rate is reset when episode is started
When an episode	is started the "radio_normal"-button is
set to true.
Fixes #65
2019-09-04 17:10:45 +03:00
FeuRenard
1d13384f6c headerbar: Refactor 'add' styling after url parsing
The current code includes many duplications.

I extract a single parameterized style function
accompanied by two delegate functions.

https://gitlab.gnome.org/World/podcasts/issues/45
2019-09-03 22:11:24 +02:00
Jordan Petridis
d8090a8172
Upgrade some cargo deps 2019-09-02 23:55:56 +03:00
Zander Brown
f47413686c
Use a custom GtkApplication instead of GtkApplication direct 2019-09-02 23:55:56 +03:00
Zander Brown
c8a194cf32
Use gtk-rs 0.7.0 2019-09-02 23:55:56 +03:00
Anders Jonsson
6ca2d02c69 Update Swedish translation 2019-08-22 15:54:41 +00:00
Kukuh Syafaat
ca10956014 Update Indonesian translation 2019-07-11 08:22:04 +00:00
Goran Vidović
3984b84b6c Update Croatian translation 2019-06-22 20:30:46 +00:00
Daniel Mustieles
493114e825 Update Spanish translation 2019-06-19 10:34:04 +00:00
Yuri Gomes
7856b6fd27 Update Brazilian Portuguese translation 2019-06-13 18:42:37 +00:00
FeuRenard
86f6a944ff
headerbar: Don't show error when add input is empty
When you add a feed url and clear the input after entering some
characters, then the error label is shown. The empty url check in the
code is broken, because it is performed on a version of the url which
is not the original input and instead a version modified in the code.

I store in a variable whether the original input url is empty.

part of #45
2019-06-09 06:17:22 +03:00
FeuRenard
0dc1f810d2
headerbar: Add ERROR style to Add entry
When you enter an invalid or duplicate URL an error message is shown.
But GTK's error style is not applied to the entry.

This commit applies GTK's error style to the URL entry when appropriate.

part of #45
2019-06-09 05:48:02 +03:00
FeuRenard
51bbe4193b
headerbar: Replace Add error label with icon
Validation errors of an entry should be displayed by an icon with a
tooltip explaining the reason.

For the situation when you add a podcast URL I remove the existing
error label and show the former label text as tooltip of an error icon
in the entry.
2019-06-09 05:29:53 +03:00
Balázs Úr
52d308e5ae Update Hungarian translation 2019-06-03 20:27:55 +00:00
Jiri Grönroos
57f3afae97 Update Finnish translation 2019-06-01 17:21:14 +00:00
Ask Hjorth Larsen
80ff75debc Update Danish translation 2019-05-28 01:34:31 +00:00
Piotr Drąg
d3a3bd2784 Update Polish translation 2019-05-19 10:38:13 +00:00
Piotr Drąg
ed7ac04d64 Use a Unicode apostrophe in a new translatable string
See https://developer.gnome.org/hig/stable/typography.html
2019-05-18 13:29:37 +02:00
Rodrigo Lledó
baf4d2bde6 Update Spanish translation 2019-05-16 16:24:52 +00:00
Christopher Davis
6c701e0c41 build: Add missing source file
In the transition to tightening our meson integration this
file was left untracked by meson.
2019-05-14 08:28:23 +00:00
Jordan Petridis
28ea14f2e9 episode: add a checkmark symbol to further indicate played state
Using only a dim styleclass on the widget is too light and does
not work with the HighContrast theme.

Close #69 #106
2019-05-14 08:28:23 +00:00
Piotr Drąg
78d91826b1 Update POTFILES.in 2019-05-11 13:00:18 +02:00
Jordan Petridis
028e318bd3 app: remove preferences dialog
The dark theme option is broken with themes that don't ship a
dark variant.

The episode garbage collection doesn't seem useful being
configurable at all.

The gsettings are still there, this just removes the ui
dialog since nothing useful made it into it ever.

Also, less toggles the better.

http://www.islinuxaboutchoice.com/
2019-05-10 17:08:35 +02:00
Jordan Petridis
42e73cb7e9
use mpris-player from crates.io 2019-05-10 15:56:28 +02:00
ZephOne
4be473dcea utils: use generic image when a show has no cover
When an episode from a show that has a cover is played. Switching to an
episode of a show that has no cover does not load the generic image in the
player. utils::set_image_from_path implementation does not deal with
DownloadError::NoImageLocation

utils::set_image_from_path deals with DownloadError::NoImageLocation,
this generic is set in this case.

https://gitlab.gnome.org/World/podcasts/issues/114
2019-05-10 14:01:47 +01:00
Jordan Petridis
9d0d20afbd
update deps 2019-03-30 18:13:39 +02:00
Jordan Petridis
4a7d3d5fc2
Use 2018 edition for the crates 2019-03-30 17:49:29 +02:00