Commit Graph

261 Commits

Author SHA1 Message Date
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
Jordan Petridis
644ca7d0d0
widgets/episode: replace deprecated method 2019-03-30 16:59:15 +02:00
Jordan Petridis
7dc1b25ee7
don't error on warnings
Nice and all when you keep up with development,
but can cause random errors by the addition of new
errors to the compiler.
2019-03-30 16:34:55 +02:00
Goran Vidović
3f28b9abc4 Update Croatian translation 2019-03-27 15:20:05 +00:00
Jordan Petridis
78283e51f6
app: remove .present() workaround
This should no longer be needed now.
https://gitlab.gnome.org/GNOME/gtk/issues/1754
2019-03-20 23:06:44 +02:00
Piotr Drąg
814ddaa532 Update POTFILES.in 2019-03-16 12:29:47 +00:00
Bruce Cowan
b927b5fac2 Add British English translation 2019-03-16 11:47:15 +00:00
Anders Jonsson
e9cf140177 Update Swedish translation 2019-03-13 22:01:05 +00:00
Nathan Follens
53844aa0ff Add Dutch translation 2019-03-10 12:54:18 +00:00
Rafael Fontenelle
5801736955 Update Brazilian Portuguese translation 2019-03-10 01:32:30 +00:00
Tim Sabsch
11afc4c37d Update German translation 2019-03-09 18:58:46 +00:00
Christopher Davis
8898fd6e2f
build: use build_by_default in cargo-build target
build_always_stale is deprecated and build_by_default can be
used now that we don't have build.rs.

Requires that we list our sources.
2019-03-07 07:04:24 +02:00
Christopher Davis
7a77f31aa3
build: Place target in meson build dir
Instead of putting target/ and target_test/ in the source
directory, we can tell our cargo script to put both target
and our cargo-home in meson's build directory.

In addition, makes tests and builds use the same target
directory, significantly reducing the time it takes to run tests.
2019-03-07 07:04:23 +02:00
Christopher Davis
5b2edc73ec build: Build resources with meson instead of build.rs
Allows us to get rid of build.rs, which was only used to
compile resources. static_resource.rs is now created by
meson, and the meson path is used for include_bytes!.

Closes https://gitlab.gnome.org/World/podcasts/issues/55
2019-03-07 04:35:31 +00:00
Christopher Davis
395e31ff85 build: Use config.rs instead of env! macro
Previously we were using the env! macro to determine
build-time variables like version, app ID, and locale dir.
Instead of relying on env vars, we can create a configuration
file with meson and import it.
2019-03-07 04:35:31 +00:00
Sabri Ünal
dd0d828794 Update Turkish translation 2019-03-06 10:46:39 +00:00
Jordan Petridis
277f324cf0 cargo fmt 2019-03-03 17:47:11 +02:00
Jordan Petridis
0ed6c8979e Upgrade crossbeam-channel 2019-03-03 17:45:43 +02:00
Jordan Petridis
075dd1adeb cargo: change email metadata of the crates 2019-03-03 04:59:52 +02:00
Jordan Petridis
027faf1949 Change formatting of podcasts-gtk/Cargo.toml 2019-03-03 04:58:40 +02:00
Jordan Petridis
54e049874c html2text: Use upstream git repo 2019-03-03 04:54:42 +02:00
Jordan Petridis
c4c6ba9ea4
Update dependencies 2019-03-03 04:46:19 +02:00
Jordan Petridis
a77bf0b8fb
Update gtk-rs family of crates 2019-03-03 04:46:19 +02:00
Kukuh Syafaat
b1058933b8 Update Indonesian translation 2019-03-02 12:18:56 +00:00
Jiri Grönroos
32c7f6b29e Update Finnish translation 2019-03-02 08:51:28 +00:00
Milo Casagrande
137705450b Update Italian translation 2019-02-28 08:25:39 +00:00
Ask Hjorth Larsen
4dc6034de8 Add Danish translation 2019-02-24 17:46:33 +00:00
Daniel Mustieles
7fa18fe38f Update Spanish translation 2019-02-19 15:05:09 +00:00
Felix Häcker
68fa547b06 Implement MPRIS pause and play methods.
Till now we were only using the play_pause method and
was enough for most of the usecases, but looks like
some mpris clients only use the individual methods.

https://specifications.freedesktop.org/mpris-spec/latest/Player_Interface.html#Method:PlayPause

Close #115
2019-02-05 20:47:56 +00:00