[rhythmbox] podcast: hide info bar when feed selection changes in search results



commit 107a0dd02ccf20f05408bbae955632c9c197873f
Author: crvi <crvisqr gmail com>
Date:   Mon Mar 8 01:17:50 2021 +0530

    podcast: hide info bar when feed selection changes in search results
    
    Feeds with error status, display the info bar, while unparsed and
    successfully parsed feeds do not. So, we reset the info bar by hiding
    it during search result feed selection change, to avoid displaying
    info bar with possible errors from previously selected feeds.

 podcast/rb-podcast-add-dialog.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/podcast/rb-podcast-add-dialog.c b/podcast/rb-podcast-add-dialog.c
index 411710c71..5bad4ae1b 100644
--- a/podcast/rb-podcast-add-dialog.c
+++ b/podcast/rb-podcast-add-dialog.c
@@ -556,6 +556,8 @@ feed_selection_changed_cb (GtkTreeSelection *selection, RBPodcastAddDialog *dial
        if (dialog->priv->clearing)
                return;
 
+       gtk_widget_hide (dialog->priv->info_bar);
+
        dialog->priv->have_selection =
                gtk_tree_selection_get_selected (selection, &model, &dialog->priv->selected_feed);
        gtk_widget_set_sensitive (dialog->priv->subscribe_button, dialog->priv->have_selection);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]