Julian Hofer
cb0860cddf
Use clone! macro in more cases
2020-06-20 18:30:44 +03:00
Jordan Petridis
32b257ec30
cargo fmt
2018-11-13 15:29:20 +02:00
Jordan Petridis
6671f8c6fe
podcasts-gtk: Add per file license annotations
2018-11-04 19:35:35 +02:00
Jordan Petridis
ae7f65e938
InAppNotif: Switch the timer to milliseconds
...
This allows for more responsive updates. The implementation still
sucks though. Ideally we would pass a receiver in the callback
and have an even lower timeout_add.
2018-08-14 07:58:29 +03:00
Jordan Petridis
019ec8972f
InAppNotif: Add a spinner
2018-08-14 07:41:58 +03:00
Jordan Petridis
e25e411ebe
App: Use the new updater notif
...
Initial wiring of the new InAppNotif update indicator. This still
misses a spinner, and its overall teribly implemented!
2018-08-14 07:28:10 +03:00
Jordan Petridis
911dcbac9f
InAppNotif: Pass revealer to the callback
...
Let the callback handle if/when the visibility of the notification
2018-08-14 06:22:02 +03:00
Jordan Petridis
25195c972c
InAppNotif: add a method to show/hide the close button
...
This will enable us to create persistant notifications.
2018-08-14 05:36:17 +03:00
Jordan Petridis
304c92f733
InAppNotification: Allow to set a custom timer
...
This allows for a custom timer to be set before the
callback will be run. Currently all the callbacks only
run once and then retunr glib::Continue(false) but this
would allow for setting a low timer and have a callback
that would determine if it needs to be run again, Continue(true),
in a relative responsive way.
2018-08-13 09:13:39 +03:00
Jordan Petridis
336b9a126e
InAppNotif: Fix ref cycles
2018-08-13 09:13:10 +03:00
Jordan Petridis
01efbf5c79
InAppNotif: Refactor to infer the undo state
...
If we use an Optional instead of passing empty closures, we
can infer if the Undo button needs to be shown.
2018-08-13 08:31:52 +03:00
Piotr Drąg
bfdd6b5f7c
podcasts-gtk: Review ALL the strings!
2018-08-10 05:23:15 +00:00
Jordan Petridis
f6c7731377
Fix Rust 2018 edition warnings
2018-08-05 11:24:20 +03:00
Jordan Petridis
04c68ba013
Initial massive renaming.
2018-07-25 03:26:35 +03:00