Commit Graph
63 Commits
Author SHA1 Message Date
Jordan Petridis 91ac2c6445 Minor cleanups. 2017-12-01 06:40:32 +02:00
Jordan Petridis 2d4acc3ba3 Tweaked stack transition effects. 2017-12-01 06:21:48 +02:00
Jordan Petridis fb6fc68d23 Fix empty view. 2017-12-01 06:00:06 +02:00
Jordan Petridis 3fca086d14 Renamed stack children. 2017-12-01 05:32:47 +02:00
Jordan Petridis dcc541d832 Added a PodcastChild struct and groupd some flowbox_child methods. 2017-12-01 04:22:26 +02:00
Jordan Petridis 300fc3467d Remove more stuff. 2017-12-01 03:50:23 +02:00
Jordan Petridis 326ee75cd8 Remove old implementation. 2017-12-01 02:57:55 +02:00
Jordan Petridis dd0034327b Add Content Struct. 2017-12-01 01:12:25 +02:00
Jordan Petridis 774e5b38a0 Add EmptyView Struct. 2017-12-01 01:03:10 +02:00
Jordan Petridis f1f4d10fe3 Add PopulatedView struct. 2017-12-01 01:00:07 +02:00
Jordan Petridis 94879b4256 Move get_pixbuf_from_path into hammond_gtk/src/utils.rs module. 2017-11-30 21:38:21 +02:00
Jordan Petridis b32e35c574 Rename podcasts_view module. 2017-11-30 21:10:05 +02:00
Jordan Petridis 9e03aaae27 Upgrade gtk-rs crates. 2017-11-26 21:25:46 +02:00
Jordan Petridis 9bc6df2cba Made Disel NewModels private. 2017-11-22 05:50:25 +02:00
Jordan Petridis 5ad52fa4b2 Refactored to remove from Database refferences. 2017-11-19 23:32:37 +02:00
Jordan Petridis 494761beaf Removed id function from diesel models.
It's automaticly declared upon derive identifiable,
And there's no need to overwrite it.
2017-11-18 15:23:40 +02:00
Jordan Petridis 1ec4370c7b Moved Database type-alias into hammond-data/src/lib.rs. 2017-11-17 21:37:55 +02:00
Jordan Petridis 8b4701f1a1 Renamed Gresource path in order to be less confusing. 2017-11-15 14:55:26 +02:00
Jordan Petridis f2476cde65 Refactored empty view logic. 2017-11-10 16:15:53 +02:00
Jordan Petridis 07c1395c29 Cleanup of downloader module. 2017-11-09 17:47:38 +02:00
Jordan Petridis 8c5cdf75a7 Cleaned up a bit the downloader moduel and added some unit tests. 2017-11-08 20:22:07 +02:00
Jordan Petridis 8d17d30c82 Completed #6, switch to gresource instead of include_str! macro. 2017-11-06 17:17:55 +02:00
Jordan Petridis 944156d6fe #6 Switched to using the safe api for GResource. 2017-11-06 14:56:59 +02:00
Jordan Petridis 79d9f62da5 Draft of implementation using gresources safe api. 2017-11-06 14:35:50 +02:00
Jordan Petridis 60a3b39339 Initial implementation of #6 Gresource support. 2017-11-06 12:19:10 +02:00
Jordan Petridis 7b5bca2162 Partial cleanup of dbqueries. 2017-11-05 14:56:24 +02:00
Jordan Petridis 27c73e3d30 Flowbox polish. 2017-11-05 11:36:41 +02:00
Jordan Petridis 0e2d8ffd37 Removed the grid from the podcasts_view. 2017-11-05 10:59:56 +02:00
Jordan Petridis ed0bbfe1ba Flobox bug fix, connect_child_activated was connected only on the initial flowobx. 2017-11-04 21:40:22 +02:00
Jordan Petridis e2d1466073 Changed the transition type of the stack. 2017-11-04 18:46:43 +02:00
Jordan Petridis b0369974da Restructe of podcast_widget and podcasts_view modules. 2017-11-04 18:40:54 +02:00
Jordan Petridis a31dc069de Fixed #1. Though it's an ugly hack for now. 2017-11-04 17:57:50 +02:00
Jordan Petridis 7e8f39119d Moved banner.png from assets into hammond-gtk/gtk 2017-11-04 11:28:10 +02:00
Jordan Petridis 72ac709cda Removed the multiple declarations of the clone macro. 2017-11-03 17:42:48 +02:00
Jordan Petridis 422e3fc638 Crappy and ugly prototype of an episode banner prototype. 2017-11-02 13:25:35 +02:00
Jordan Petridis 300fe86dc5 Refactored create_flowbox_child constructor to use Podcast struct instead of raw strings/pixbuf. 2017-11-02 10:10:02 +02:00
Jordan Petridis 0e6b6b2cce Update dependancies. 2017-11-01 10:54:36 +02:00
Jordan Petridis 401c13eee7 Refactored podcast_widget constructor. 2017-10-31 12:25:15 +02:00
Jordan Petridis e6ceb86201 Completed functionality of the delete buttons. 2017-10-27 04:31:39 +03:00
Jordan Petridis e2a06fc074 Removed ListStore entirely. 2017-10-24 00:25:48 +03:00
Jordan Petridis 8a313c145b Made a type allias for Arc<Mutex<SqliteConnection>. 2017-10-23 12:29:04 +03:00
Jordan Petridis 0e5d976514 Database optimizations. 2017-10-23 10:47:54 +03:00
Jordan Petridis 9beea21a4f Code cleanup.
Converted rest of .clone() s on ref pointer to use the macro instead.
Stopped ignoring clippy clone_on_ref_pointer warnings since there shouldn't
be any, anymore.
2017-10-23 07:37:07 +03:00
Jordan Petridis 539a5eae2f Implemented the recommended clone macro from gtk-rs docs. 2017-10-23 07:09:23 +03:00
Jordan Petridis 6accae0fbe Cleaned up Gtk::Application a bit. 2017-10-22 07:45:29 +03:00
Jordan Petridis 6ffacaa6d8 Final2, I swear, when dealing with Arc/rc always use references. 2017-10-22 04:51:34 +03:00
Jordan Petridis 716806e0e9 Trying out storeless designt. 2017-10-22 04:09:44 +03:00
Jordan Petridis 28a10ac462 Async update refinements, Stack transition refinements. 2017-10-21 23:27:53 +03:00
Jordan Petridis 2077215491 Changed arguments Arc<T> to bepassed by value, clone on arc just copies the refference anyway. 2017-10-21 22:53:04 +03:00
Jordan Petridis f58ad6bd8c applied some clippy suggestions. 2017-10-21 21:24:19 +03:00