From 7989555a870148c59fe36c2e1bf4c5ad8a3d448c Mon Sep 17 00:00:00 2001 From: Jordan Petridis Date: Thu, 26 Oct 2017 10:06:51 +0300 Subject: [PATCH] Added Delete buttons for podcast and episodes in the ui. --- hammond-gtk/gtk/episode_widget.ui | 21 ++++++++++ hammond-gtk/gtk/podcast_widget.ui | 67 +++++++++++++++++++++++++++---- hammond-gtk/gtk/podcasts_child.ui | 10 ++++- 3 files changed, 90 insertions(+), 8 deletions(-) diff --git a/hammond-gtk/gtk/episode_widget.ui b/hammond-gtk/gtk/episode_widget.ui index 640cece..eef57f4 100644 --- a/hammond-gtk/gtk/episode_widget.ui +++ b/hammond-gtk/gtk/episode_widget.ui @@ -83,6 +83,27 @@ 0 + + + delete_button + True + True + center + center + + + True + False + gtk-delete + + + + + False + False + 1 + + True diff --git a/hammond-gtk/gtk/podcast_widget.ui b/hammond-gtk/gtk/podcast_widget.ui index 9420419..e910b88 100644 --- a/hammond-gtk/gtk/podcast_widget.ui +++ b/hammond-gtk/gtk/podcast_widget.ui @@ -50,21 +50,74 @@ True False - center + start start vertical 2 - + True False center - True - end + center + + + True + False + center + + + 50 + True + False + center + Foobar + True + center + True + 28 + False + + + True + True + 0 + + + + + True + True + 0 + + + + + True + True + True + + + True + False + Unsubrscribe from this Podcast. +Warn: This will delete downloaded content associated with this Podcast. + gtk-delete + + + + + False + False + 5 + end + 1 + + - False - False + True + True 0 @@ -81,7 +134,7 @@ False - False + True 1 diff --git a/hammond-gtk/gtk/podcasts_child.ui b/hammond-gtk/gtk/podcasts_child.ui index 8a43d8f..a3c89b3 100644 --- a/hammond-gtk/gtk/podcasts_child.ui +++ b/hammond-gtk/gtk/podcasts_child.ui @@ -7,6 +7,8 @@ 200 True False + center + center vertical @@ -43,12 +45,18 @@ True False + center + center label True + center + end + True + 30 False - True + False 2