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
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
Balázs Úr
a113ed049d
Update Hungarian translation
2019-02-05 20:45:43 +00:00
Piotr Drąg
2f8a6a91f8
Update Polish translation
2019-02-02 15:31:37 +00:00
Piotr Drąg
06091d1af4
Use Unicode ellipsis in a user-visible string
...
See https://developer.gnome.org/hig/stable/typography.html
2019-02-02 12:14:29 +01:00
Daniel Mustieles
fb4e550122
Update Spanish translation
2019-01-29 15:28:41 +00:00
Balázs Úr
a74301f479
Update Hungarian translation
2019-01-28 22:42:49 +00:00
Rafael Fontenelle
c49f417d00
Update Brazilian Portuguese translation
2019-01-28 21:22:53 +00:00
Christopher Davis
6c34686d8d
p-data: Implment support for exporting the shows to an OPML file
...
Close #41
2019-01-27 06:06:46 +02:00
Jordan Petridis
2cb6bf2b98
p-gtk: Update the libhandy bindings
2019-01-21 03:13:51 +02:00
Jiri Grönroos
d8cddfafa0
Update Finnish translation
2019-01-16 18:04:16 +00:00
Bilal Elmoussaoui
bc8d521853
appdata: Improve the appdata file per the specs
...
freedesktop specs:https://freedesktop.org/software/appstream/docs/chap-Quickstart.html
kudos documentation: https://gitlab.gnome.org/GNOME/gnome-software/blob/master/doc/kudos.md
2019-01-09 19:21:29 +00:00
Bilal Elmoussaoui
32424e7938
Meson: add tests to validate desktop & appdata files
2019-01-09 18:24:11 +00:00
Milo Casagrande
c47d375a58
Update Italian translation
2018-12-11 16:49:14 +00:00
Jordan Petridis
9f8ae75691
Remove depricated lints
2018-12-09 03:53:17 +02:00
Christopher Davis
ed62f2b1f2
style.css: Remove custom .devel style class
...
GTK includes it's own .devel style class, so we don't need to
override by creating our own.
2018-12-06 00:30:00 -05:00
Jordan Petridis
b72ba8c66a
podcasts-gtk: make it possible to compile with just cargo
...
This is not supported at all, and it still won't run with cargo
run, thankfully, you should use meson instead...
The only purpose of this commit is to make it possible for
cargo check, and by extension rls, to function and work
properly.
Part of #110
2018-12-02 02:10:09 +02:00
Jordan Petridis
f9f0dad203
cargo fmt
2018-11-29 14:36:06 +02:00
Jordan Petridis
fdb064ffc8
Update dependancies
2018-11-29 11:57:27 +02:00
Jordan Petridis
0888da2197
Upgrade dependencies
2018-11-18 12:59:02 +00:00
Jordan Petridis
19e0b7e565
Further preparations for Rusto 2018 edition
2018-11-18 12:59:01 +00:00
Jordan Petridis
fd4128c364
Prepare for Rust 2018 edition
2018-11-18 12:59:01 +00:00
Jordan Petridis
98f105fda0
Player: Use a wrapper struct to write methods on &self
...
Previously, methods that required the Player to be ref counted,
were using static methods with s: &Rc<Self> as the first argument.
Now the wrapper type auto-derefs to the inner struct and you can
declare methods on just &self.
2018-11-18 12:59:01 +00:00
Kukuh Syafaat
201f2e23c7
Update Indonesian translation
2018-11-15 16:42:30 +00:00
Jordan Petridis
32b257ec30
cargo fmt
2018-11-13 15:29:20 +02:00
Zander Brown
fbda4c76f0
player.rs: Improve the fast-forward handling
...
Previously if you hit fast-forward but the offset remaining was
let that the amount you wanted to seek, it would do nothing.
Now it resets the stream and seekbar to the start.
Eventually this will just move on to the next episode in the
Queue once that's implemented.
2018-11-07 00:46:40 +02:00
Zander Brown
85387a0a9b
Fix for https://gitlab.gnome.org/World/podcasts/issues/105
...
Wow that was a quick one
2018-11-05 17:55:46 +00:00
Jordan Petridis
5ac4f6dcf9
Mpris: Actually raise the window
...
This fixes a bug where can_raise was never registered on dbus,
but it also works around a wayland issue with the .present()
method.
https://gitlab.gnome.org/GNOME/gtk/issues/624
2018-11-04 21:05:09 +02:00
Jordan Petridis
6671f8c6fe
podcasts-gtk: Add per file license annotations
2018-11-04 19:35:35 +02:00
Daniel Mustieles
534c627300
Update Spanish translation
2018-11-02 12:26:05 +00:00
Jordan Petridis
1a1e5ecd3f
Update App icon. Close #102
2018-10-30 20:34:47 +02:00
Alexandre Franke
3e555c64d9
Add French translation
2018-10-29 12:54:45 +00:00
Dušan Kazik
8d6b5f7105
Update Slovak translation
2018-10-28 21:00:26 +00:00
Dušan Kazik
4692be663e
Add Slovak translation
2018-10-28 15:31:17 +00:00
gogo
5ae0fb1b0e
Update Croatian translation
2018-10-24 19:46:48 +00:00