[rhythmbox] display-page-tree: remove page on remove action
- From: Jonathan Matthew <jmatthew src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox] display-page-tree: remove page on remove action
- Date: Sat, 8 Mar 2014 09:41:39 +0000 (UTC)
commit 14f0637173b6d1a8a9d0d8911c8b819f89956983
Author: Jamie Nicol <jamie thenicols net>
Date: Thu Sep 5 01:01:13 2013 +0100
display-page-tree: remove page on remove action
Instead of calling rb_display_page_delete_thyself, call
rb_display_page_remove. This allows the page to perform any required
logic before it deletes itself. Audioscrobbler radio sources will now
remain removed after application restart, as they are now able to save
the updated station list upon removal.
https://bugzilla.gnome.org/show_bug.cgi?id=707525
sources/rb-display-page-tree.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/sources/rb-display-page-tree.c b/sources/rb-display-page-tree.c
index ff58aef..df3b818 100644
--- a/sources/rb-display-page-tree.c
+++ b/sources/rb-display-page-tree.c
@@ -641,7 +641,7 @@ remove_action_cb (GSimpleAction *action, GVariant *parameter, gpointer user_data
{
RBDisplayPage *page = get_selected_page (RB_DISPLAY_PAGE_TREE (user_data));
if (page) {
- rb_display_page_delete_thyself (page);
+ rb_display_page_remove (page);
g_object_unref (page);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]