Commit Graph
104 Commits
Author SHA1 Message Date
Jordan Petridis e7185d2cd3 Visual tweaks, and other minor stuff.
Added margins bottom margins on EpisodesView and ShowWidget.
Added some comment's to the code.
Silenced needless_pass_by_value clippy warning.
Updated TODO.md.
2017-12-23 16:56:03 +02:00
Jordan Petridis 2d6f02c407 EpisodeWidget: Do not display size if it's 0 bytes. 2017-12-23 15:44:28 +02:00
Julian Sparber 32c60e7ffa merge 2017-12-22 22:10:40 +01:00
Julian Sparber 95c290df50 [ui] add custom style and [fix] draw List separators with css 2017-12-22 21:54:28 +01:00
Jordan Petridis 832495bece EpisodesView: Remove Year category. 2017-12-22 22:14:08 +02:00
Jordan Petridis ae6a97d725 EpisodesViewWidget: Add margins from the cover. 2017-12-22 21:21:39 +02:00
Jordan Petridis fac048a24d Small Visual tweaks all over the client. 2017-12-22 20:47:37 +02:00
Jordan Petridis 8513ba3644 EpisodesView: Use chrono to categorize widgets intead of epoch calculations. 2017-12-22 14:29:41 +02:00
Jordan Petridis 378b8609aa EpisodeWidget: Change the byte unit based on the size. Closes #18. 2017-12-21 21:31:25 +02:00
Jordan Petridis c8310b1eb9 EpisodesView: Bump the labels size a bit. 2017-12-21 20:01:24 +02:00
Jordan Petridis 994ea5af22 EpisodesView: Remove unused label. 2017-12-20 22:08:07 +02:00
Jordan Petridis c070fc3032 EpisodesView: Ugly and Hacky Prototype of episode splitting. 2017-12-20 15:12:55 +02:00
Jordan Petridis ace62f7ed6 EpisodesView: Initial draft of episodewidget's splitting into the frames. 2017-12-20 14:49:28 +02:00
Jordan Petridis 5220eaceee EpisodesView: Add an empty cover to the widget. 2017-12-18 21:35:51 +02:00
Jordan Petridis 61bd7893c7 EpisodeWidget: Remove Podcast depndancy from new() method. 2017-12-18 19:10:50 +02:00
Jordan Petridis 32cd24fc7b EpisodesView: Added glade files and initial yak shaving. 2017-12-18 18:20:40 +02:00
Jordan Petridis 945600b20d Merge branch 'master' into 'master'
Set dim-label for secondary labels of EpisodeWidget in Glade.

See merge request alatiera/Hammond!7
2017-12-17 14:30:10 +00:00
Jordan Petridis e04de5a576 ShowsView: Move title to a tooltip, fix gresource, center flowbox halign. 2017-12-17 15:57:06 +02:00
Jordan Petridis 0826514cbc ShowsView: Remove new_episodes indicator. 2017-12-17 15:34:34 +02:00
Constantin Nickel 681b91d368 Set dim-label for secondary labels of EpisodeWidget in Glade. 2017-12-17 13:17:04 +01:00
Jordan Petridis 2eb58eae00 Headerbar: Remove refresh button. 2017-12-17 13:57:08 +02:00
Jordan Petridis aca35c0513 ShowWidget: Improve? description handling. 2017-12-16 19:20:40 +02:00
Jordan Petridis 0653460fb2 EpisodeWidget: prevent title label overflow.
Set label's maximu character width to prevent it and elipsize instead.
2017-12-16 14:58:16 +02:00
Jordan Petridis dbe08f7deb EpisodeListBox: Improve the separator workaround. 2017-12-16 14:17:27 +02:00
Jordan Petridis 5989f4f541 ShowWidget: Set widget width to 600. 2017-12-15 21:15:20 +02:00
Jordan Petridis 4375c7f4ce EpisodeWidget: Added a separator in each widget.
This is a work around since list_box_set_header_func is not yet
available in the gtk-rs bindings.
2017-12-15 21:06:57 +02:00
Jordan Petridis 3c90e98d43 ShowWidget: Make settings button a GtkMenuButton. 2017-12-15 21:06:43 +02:00
Jordan Petridis 6614818418 Use Gtk::Frame to limit ShowWidget's size. 2017-12-15 19:55:13 +02:00
Jordan Petridis c74153f56a Initial implementation of the new ShowWidget. 2017-12-15 18:42:49 +02:00
Jordan Petridis 4b0a6ea0f7 Add Show title in the Headerbar when switching to ShowWidget. 2017-12-15 13:45:08 +02:00
Jordan Petridis 6284c8828b Merge branch 'episode_widget_redisgn' into 'master'
Episode widget redisgn

See merge request alatiera/Hammond!5
2017-12-15 11:30:15 +00:00
Jordan Petridis 0c1e759a45 Dim out secondary label of EpisodeWidget. 2017-12-15 12:27:30 +02:00
Jordan Petridis 0ac78fcff1 Added date label into EpisodeWidget. 2017-12-14 18:03:37 +02:00
Jordan Petridis e3b540170a Add file size indication based on rss item length. 2017-12-14 15:32:21 +02:00
Jordan Petridis a7208b0c61 Set EpisodeWidget button valignment to center instead of fill. 2017-12-14 14:46:41 +02:00
Jordan Petridis 9d07ba24b8 HeaderBar Refactor.
Removed the Headerbar stack.
Removed the ShowTitle.
Fixed StackSwitcher centering.
Set the Headerbar button valignment to center instead of fill.
2017-12-14 14:27:51 +02:00
Jordan Petridis afdb79b712 Set the progress bar into activity mode. 2017-12-14 13:38:18 +02:00
Jordan Petridis ebbebf7735 Initial implementation of the new EpisodeWidget. 2017-12-14 10:57:29 +02:00
Jordan Petridis fe136c8dbe use user-trash-symbolic instead of edit-delete-symbolic icon. 2017-12-14 08:42:52 +02:00
Jordan Petridis f0de6bfb1b Use symbolic icons instead. 2017-12-13 17:58:55 +02:00
Jordan Petridis d74aa9c625 Wire Headerbar back button and change initialiazation order. 2017-12-13 16:36:40 +02:00
Jordan Petridis 0bb0035f3c Rework of the Headerbar.
Added a stack to switch between a normal and a BackButton view.
Also added a centered stack switcher and removed the Home button.
Backbutton is not wired yet.
2017-12-13 13:53:15 +02:00
Jordan Petridis 0a52f87f3a Rename glade files. 2017-12-13 12:21:34 +02:00
Jordan Petridis 2461dca94d Remove home button. 2017-12-10 19:15:32 +02:00
Jordan Petridis e127941d8a Initial stackswitcher addition into the headerbar. 2017-12-10 09:53:05 +02:00
Jordan Petridis b4b2f24c77 Use content struct instead of plain stack. 2017-12-01 01:30:19 +02:00
Jordan Petridis 84c918bbd5 Fix bug where the played button will always be shown by setting default state to not visible. 2017-11-30 21:39:21 +02:00
Jordan Petridis 1fbcfa47ac Refactor Headerbar into a Wrapped struct type. 2017-11-30 21:02:26 +02:00
Jordan Petridis faab32ba17 Fix podcast flowbox_child title label. 2017-11-25 02:00:37 +02:00
Jordan Petridis 6098f0f54a Banner fix? Closes #14. 2017-11-22 10:44:32 +02:00