Jordan Petridis
00e747eb5f
h-gtk: Wire the import_shows button on the hamburger menu to the the opml import.
2018-05-12 22:55:35 +03:00
Jordan Petridis
be1a8df3ef
Headerbar: simplify the naming scheme a bit.
...
The type of the widgets is already a Button so there's no need in
repeating that in the struct field.
Also remove some type annotations since the compiler can infer them
from the type of the struct fields.
2018-05-12 14:45:00 +03:00
Jordan Petridis
e8ca2faaa7
Headerbar: Add import and export items in the hamburger menu.
...
I strongly believe that these do not belong there and should be moved
elsewhere. But for the time being and prototyping they are "good enough".
People most of the time tend to import from an OPML file only on the first
use of the App. Then the functionality sits there and is never used again.
That's why I think import should be moved into a preferences dialogs and
have the empty view suggest the action.
Exporting OPML files is also not that common, I also believe this should be
moved into a preference dialog instead of the hamburger menu.
2018-05-12 14:17:40 +03:00
Jordan Petridis
d86a17f76e
ShowWidget: Set max_width_charters in the Description.
...
If the window is fullscreen or given a big width description
expands and becomes harder to read. This sets the character limit
of the description to 70charaters. The exact size might differ
from machine-to-machine based on user settings. (Hi-dpi, chosen
font, etc.)
2018-05-02 19:29:55 +03:00
Jordan Petridis
115df7f884
h-gtk: Re-work the minimum widget requests.
2018-04-27 12:08:07 +03:00
Jordan Petridis
a76e69e05d
ShowWidget: Center the description label.
2018-04-21 09:25:21 +03:00
Jordan Petridis
9a5cc1595d
ShowWidget: re-arrange the show's cover/desc/buttons widgets.
2018-04-20 10:20:09 +03:00
Jordan Petridis
3b5831f317
ShowsView: Do not block while loading ShowChilds.
2018-04-19 07:51:48 +03:00
Jordan Petridis
f49012ab51
EpisodeView: Reduce boilderplate.
2018-04-19 05:40:07 +03:00
Jordan Petridis
b8995d838a
ShowWidget: Move listbox population to widgets/show.rs
2018-04-17 04:44:55 +03:00
Jordan Petridis
76c177bc0f
ShowWidget: Add a scrolled-window to the show description.
2018-04-15 04:07:43 +03:00
Jordan Petridis
ef655ef5e0
EpisodeWidget: Keep the widget's heigth contant. Fixes #57
2018-04-04 18:44:23 +03:00
Jordan Petridis
af1cb43bd6
NewPodcast: Prefer the rss.description attribute.
...
Since we can handle rendering html stuff by converting it to pango
we no longer need the text-only itunes summary attribure.
2018-04-03 19:42:09 +00:00
Jordan Petridis
f693c986ec
Add an empty_show if Show has no episodes.
2018-03-28 13:24:26 +03:00
Rowan Lewis
2497cb31d0
Remove shadow_type from the show widget.
2018-03-26 18:53:48 +00:00
Rowan Lewis
446a0ede54
Fix #52 by removing the specified shadow_type from the episodes and shows scrolled windows.
2018-03-26 18:53:47 +00:00
Jordan Petridis
a11c4c9bd2
InAppNotification: Twek the margins around the text label.
2018-03-14 00:43:17 +02:00
Jordan Petridis
d4b98b5cb2
I hate everything that has to do with centering stuff.
2018-03-14 00:40:29 +02:00
Jordan Petridis
064879c4ce
InAppNotification: Remove reduntant Overlay.
2018-03-09 19:46:46 +02:00
Jordan Petridis
8614922213
InAppNotification: Change box margins.
2018-03-09 19:36:43 +02:00
Jordan Petridis
99bc80c15b
ShowWidget: Add a 6px margin to the settings popup.
2018-03-09 17:04:11 +02:00
Jordan Petridis
3423d854e1
ShowWidget: Change the mark_all notif wording.
2018-03-09 16:43:13 +02:00
Jordan Petridis
483fd090f1
InAppNotification: Add close button.
2018-03-09 15:25:53 +02:00
Jordan Petridis
82988b6011
Implement in-app notifications as App wide actions.
...
At first I tried creating custom InAppNotifications and send
them to the main loop to be added. That does not work sicne gtk
widgets are not thread safe. For now we can try having Action messages
that create them on demand. As oppose to create first then pass them.
2018-03-09 14:53:13 +02:00
Jordan Petridis
d1821163c2
Factor out the In-app notification into something generic.
2018-03-09 01:21:54 +02:00
Jordan Petridis
e4814dbfbc
ShowWidget: Initial prototype of an undo notification.
2018-03-07 16:37:10 +02:00
Jordan Petridis
10db4f7210
ShowWidget: Initial implementation of a menu popup.
...
Re implement mark_all_episodes_as_watched functionality too.
2018-03-05 20:14:06 +02:00
Jordan Petridis
038d28779c
ShowWidget: Limit description to 100 chars width.
2018-02-16 07:45:29 +02:00
Jordan Petridis
e803e11c81
Fix EpisodeWidget Vertical alignment.
2018-02-15 11:56:56 +02:00
Jordan Petridis
a24c9b1350
EpisodesView: Fix EpisodeWidget spacing.
2018-02-14 12:44:30 +02:00
Jordan Petridis
8913b7aedb
SHowWidet: Experiement with dynamic size. Relevant to #35 .
2018-02-14 08:44:02 +02:00
Jordan Petridis
978edfc11f
EpisodeWidget: Allow the title to ellipsize. Releavnt to #35 .
2018-02-14 08:04:59 +02:00
Jordan Petridis
f4b41d0fd3
ShowWidget: Restrict horizontal scrolling. Relevant to #35 .
2018-02-14 07:56:27 +02:00
Jordan Petridis
20162a16a8
EpisodesView: Re-work box/frame layout
...
Restrict horizontal scrolling,
Allow the episode widget to expand along when more space becomes available.
2018-02-14 07:03:26 +02:00
Jordan Petridis
4ba82c1515
EpisodeWidget: Set title alignment from glade.
2018-02-08 05:29:47 +02:00
Jordan Petridis
c6f5a4200d
EpisodeWidget: Fix progressbar alignment.
2018-02-07 22:08:52 +02:00
Jordan Petridis
a2cf2357c6
Add about a basic about dialog.
2018-01-29 18:02:24 +02:00
Jordan Petridis
a4660a0700
Headerbar: Do not allow insertion of duplicate urls.
2018-01-27 14:40:51 +02:00
Jordan Petridis
18e55e23ee
Headerbar: Do not allow insertion of invalid urls.
2018-01-27 14:11:02 +02:00
Jordan Petridis
e192cf6618
Headerbar: Use application action channel instead of GAction.
2018-01-12 01:41:36 +02:00
Jordan Petridis
8a90de3c0e
Implement download cancel action. #24
2018-01-10 09:43:38 +02:00
Jordan Petridis
3899e8ed39
Add GPL notices to the glade ui files.
2018-01-10 02:59:47 +02:00
Jordan Petridis
9dafb0ae9e
EpisodeWidget: Add local_size label that shows the amount of bytes downloaded.
2018-01-09 03:58:13 +02:00
Jordan Petridis
eef83fc98c
EpisodeWidget: Implement API to update the progress bar.
2018-01-08 05:11:37 +02:00
Jordan Petridis
299d2e8db1
ShowsView: Retain vertical scrolling adjustment upon view refresh.
2018-01-05 00:09:09 +02:00
Jordan Petridis
8ad5bf6f09
ShowWidget: Retain vertical scrolling adjustment upon view refresh.
2018-01-04 23:43:31 +02:00
Jordan Petridis
112b61d39e
EpisodesView: Retain vertical scrolling adjustment upon view refresh.
2018-01-04 23:19:15 +02:00
Jordan Petridis
9d82b0edda
EpisodeWidget ui tweaks.
2018-01-04 17:27:55 +02:00
Jordan Petridis
33cd6e69ff
EpisodeWidget: Migrate to use a Channel Action instead of simple Action.
2018-01-03 06:53:19 +02:00
Jordan Petridis
84da6aac8c
ShowWidget: Replace the unsub simple action with a Channel Action.
2018-01-03 06:23:12 +02:00