Jordan Petridis
c0dca6ab9a
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-09 10:36:51 +03:00
Jordan Petridis
286a44a47e
BaseView: implement a set_adjustments method
...
Ment to replace the individual set_vadjustment of widgets.
Also remove unused method from ShowWiget.
2018-08-09 10:36:44 +03:00
Jordan Petridis
4a0e6028d8
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-09 10:36:10 +03:00
Jordan Petridis
796ef563c3
ShowWidget: Put the whole thing inside HdyColumn
2018-08-09 10:36:05 +03:00
Jordan Petridis
f898d9f865
ShowWidget: Initial prototype w/ libhandy::Column
2018-08-09 10:36:01 +03:00
Jordan Petridis
a9060c7198
ShowWidget: Do not hardcode the episode listbox in the glade file
2018-08-09 10:35:51 +03:00
Jordan Petridis
f6c7731377
Fix Rust 2018 edition warnings
2018-08-05 11:24:20 +03:00
Jordan Petridis
838320785e
Replace SendCell with fragile.
...
SendCell is depricated now and its advised to use the Fragile
crate instead.
https://github.com/sdroege/send-cell/issues/5
2018-07-28 19:46:01 +03:00
Jordan Petridis
04c68ba013
Initial massive renaming.
2018-07-25 03:26:35 +03:00