Jordan Petridis
95b6995649
Headerbar: Elipsisize update label
2018-08-10 15:54:12 +03:00
Jordan Petridis
745064c5ce
AddPopOver: Remove deprication warning
2018-08-10 15:47:20 +03:00
Jordan Petridis
223a3b46bf
Headerbar: Elipsisize show title
2018-08-10 15:46:28 +03:00
Jordan Petridis
fee3e320ab
ShowWidget: Move the listbox back to the glade file
2018-08-10 15:43:19 +03:00
Jordan Petridis
e068cff37b
ShowWidget: Increase the description char limit
2018-08-10 14:44:02 +03:00
Jordan Petridis
28f08ed196
HomeView: handle vadjustment with BaseView
...
Instead of using lazy_static to save the adjustment,
pass it to the widget upon creation. If its the first instance
created, pass None instead.
2018-08-10 14:43:58 +03:00
Jordan Petridis
056d971000
HomeView: make base view field publick
...
There is no point to re-export BaseView's methods.
2018-08-10 14:42:57 +03:00
Jordan Petridis
aa5195e5a9
ShowsView: handle vadjustment with BaseView
...
Instead of using lazy_static to save the adjustment,
pass it to the widget upon creation. If its the first instance
created, pass None instead.
2018-08-10 14:42:52 +03:00
Jordan Petridis
85aaaf80ac
ShowsView: make base view field publick
...
There is no point to re-export BaseView's methods.
2018-08-10 13:54:19 +03:00
Jordan Petridis
5d467a22d0
ShowWidget: make base view field publick
...
There is no point to re-export BaseView's methods.
2018-08-10 13:54:14 +03:00
Jordan Petridis
bcc1cfb67b
ShowWidget: handle vadjustment with BaseView
...
Instead of using lazy_static to save the adjustment,
pass it to the widget upon creation. If previous it doesn't
exists pass None instead.
2018-08-10 13:54:07 +03:00
Jordan Petridis
70a24fba69
BaseView: implement a set_adjustments method
...
Ment to replace the individual set_vadjustment of widgets.
Also remove unused method from ShowWiget.
2018-08-10 13:53:25 +03:00
Jordan Petridis
c3121bef84
ShowsChild: Remove the need for a .ui file
...
Its a simple enough widget that can be written by hand
and does not need a .ui builder file.
2018-08-10 13:53:12 +03:00
Jordan Petridis
8c25be7d05
BaseView: Set scroll policy
2018-08-10 13:53:00 +03:00
Jordan Petridis
7463e9d42c
ShowsView: Use BaseView abstraction
2018-08-10 13:52:56 +03:00
Jordan Petridis
e4dd9f5bb3
HomeView: Use libhandy::Column for the main widget
2018-08-10 13:52:52 +03:00
Jordan Petridis
4e59d648ef
HomeView: Use the new BaseView abstraction
2018-08-10 13:52:48 +03:00
Jordan Petridis
7538e76537
Gtk: Abstract a BaseView Widget
...
Currently it just re-exports its children with getters,
but the idea is that it will also be able to handle
the saving the state of its height adjustment later.
2018-08-10 13:52:44 +03:00
Jordan Petridis
20ddc54edc
ShowWidget: Put the whole thing inside HdyColumn
2018-08-10 13:52:35 +03:00
Jordan Petridis
ac75205933
ShowWidget: Initial prototype w/ libhandy::Column
2018-08-10 13:47:59 +03:00
Jordan Petridis
17b58b159a
ShowWidget: Remove unsused menu from the glade file
2018-08-10 13:47:12 +03:00
Jordan Petridis
191cf445ef
ShowWidget: Do not hardcode the episode listbox in the glade file
2018-08-10 13:47:07 +03:00
Jordan Petridis
65a0c08cb3
Flatpak: fix previous commit that broke it
...
I broke both the manifest and the CI in 4da68ff89c
2018-08-10 13:44:48 +03:00
Jordan Petridis
4da68ff89c
Flatpak: switch to using the 3.28 runtime again
...
Gtk was upgraded yesterday to 3.24. This causes a warning about
widgets being drawn without prior allocation. I am not sure yet if
the bug is in the bindings or if gtk's ABI broke.
2018-08-10 12:11:08 +03:00
Jordan Petridis
a7da4525fd
Flatpak: Grant access to thee dri
...
A warning suggested it, I assume it was coming from Gtk.
2018-08-10 12:08:54 +03:00
Jordan Petridis
92dfbce45a
Merge branch 'wip/piotrdrag/review-strings' into 'master'
...
podcasts-gtk: Review ALL the strings!
See merge request World/podcasts!53
2018-08-10 05:58:11 +00:00
Piotr Drąg
bfdd6b5f7c
podcasts-gtk: Review ALL the strings!
2018-08-10 05:23:15 +00:00
Jordan Petridis
a8a8c09b90
Merge branch 'wip/piotrdrag/appdata-fix' into 'master'
...
appdata: Remove duplicate tag
See merge request World/podcasts!49
2018-08-10 05:21:47 +00:00
Piotr Drąg
4bd13b81cf
appdata: Remove duplicate tag
2018-08-10 08:00:32 +03:00
Jordan Petridis
5a07600664
Merge branch 'wip/piotrdrag/unmark-placeholders' into 'master'
...
episode_widget: Unmark placeholder strings from translation
See merge request World/podcasts!50
2018-08-10 04:59:39 +00:00
Piotr Drąg
f2bc4b21cb
episode_widget: Unmark placeholder strings from translation
2018-08-10 04:37:32 +00:00
Jordan Petridis
778975fbde
Merge branch 'wip/piotrdrag/unmark-copyright' into 'master'
...
aboutdialog: Unmark copyright string from translation
See merge request World/podcasts!51
2018-08-10 04:36:54 +00:00
Piotr Drąg
57f920624f
aboutdialog: Unmark copyright string from translation
2018-08-10 04:05:31 +00:00
Jordan Petridis
3d87940da9
Merge branch 'wip/piotrdrag/translate-appname' into 'master'
...
aboutdialog: Translate the app name
See merge request World/podcasts!52
2018-08-10 04:04:04 +00:00
Piotr Drąg
c33d0836eb
app: Translate the app name
2018-08-10 06:34:02 +03:00
Jordan Petridis
a01cf21f2c
Flatpak: use master runtime of GNOME sdk
2018-08-09 10:25:02 +03:00
Jordan Petridis
10fc1d4a2a
Gitlab: Add merge request template
2018-08-09 10:23:34 +03:00
Jordan Petridis
4fa973007d
App: Make sure to quit on delete event.
...
Since 9a76c6428a I've noticed
the applciation does not quit properly, and then it's unable
to be launched again till it's killed manually.
This patch is an attept to correct/workaroud that by calling
explcitly gio::ApplicationExt::quit().
2018-08-06 01:01:21 +03:00
Jordan Petridis
c27f5ec02e
Merge branch 'readme_improvements' into 'master'
...
Fix some typos in README.md
See merge request World/podcasts!47
2018-08-05 08:57:26 +00:00
Matthew
5d6cf3d17d
Fix some typos in README.md
2018-08-05 11:32:42 +03:00
Jordan Petridis
f6c7731377
Fix Rust 2018 edition warnings
2018-08-05 11:24:20 +03:00
Jordan Petridis
bcd739da76
Merge branch 'i18n' into 'master'
...
Translation support and initial spanish translation
See merge request World/podcasts!46
2018-08-02 14:54:41 +00:00
Daniel García Moreno
bea4915317
Translation support and initial spanish translation
...
Added translation support based on the Fractal i18n. To do this I've
added the gettext-rs crate dep. I'm using my own fork because the
official gettext-rs release includes the gettext source files and that
increase the distribution package a lot and for distribution with
flatkap we don't need to build gettext, the lib is in the gnome sdk. So
this gettext-rs fork is the same, but removing the not needed gettext
source files.
The i18n.rs file adds some useful functions to translate strings. These
functions wraps the original gettext and adds more functionality, to be
able to translate compound strings, something that's not supported by
the gettext function.
The 'i18n' function works like the gettext, receives a plain string
without params.
The 'i18n_f' function receives a string with "{}" and a ref to an array
of &str with substitutions for the "{}" in the original string. The
substitution is done by order.
The 'i18n_k' function receives a string with "{named}" and a ref to an
array of (&str, &str) with substitutions for the "{named}" in the
original string. The substitution is done by name, where the first &str
in the tuple is the name and the second the string to use for the
replace.
This mod also include ni18n variants of the three functions for plural
and singular translations.
I've also created the spanish translation.
See #61
https://gitlab.gnome.org/World/podcasts/issues/61
2018-08-02 15:24:19 +02:00
Jordan Petridis
f695ba4605
cargo fmt
2018-08-02 07:10:22 +03:00
Jordan Petridis
24983ba3af
Readme.md: Improve wording and formatting
2018-08-02 02:44:29 +00:00
Jordan Petridis
0a2a3b3377
Remove unused permission.
2018-08-01 02:14:27 +03:00
Jordan Petridis
d8d7193cbc
README: Add flahub instructions.
2018-07-31 11:40:05 +03:00
Jordan Petridis
042c9eed9c
Appdata: Remove 'lang=' metadata tag from the description.
...
This seems to confuse the flathub store website.
2018-07-31 11:22:15 +03:00
Jordan Petridis
b0c94dd998
Appdata: Add OARS Rating
...
This help with content age rating. Usefull for store
clients like gnome-software.
https://hughsie.github.io/oars/
2018-07-31 10:58:04 +03:00
Jordan Petridis
4c8cc9e823
Version bump.
2018-07-31 00:31:44 +03:00