[rhythmbox] Revert "podcast: set the icon during construction"
- From: Jonathan Matthew <jmatthew src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox] Revert "podcast: set the icon during construction"
- Date: Sun, 5 Nov 2017 02:13:42 +0000 (UTC)
commit 956314067e62ae8c860aa559f5b348ad110d9ab7
Author: Jonathan Matthew <jonathan d14n org>
Date: Sun Nov 5 12:11:07 2017 +1000
Revert "podcast: set the icon during construction"
This reverts commit 67d845842ba54b046339a0b689a987ef6b65aed5.
podcast/rb-podcast-source.c | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/podcast/rb-podcast-source.c b/podcast/rb-podcast-source.c
index 523e101..ec06805 100644
--- a/podcast/rb-podcast-source.c
+++ b/podcast/rb-podcast-source.c
@@ -984,9 +984,7 @@ rb_podcast_source_new (RBShell *shell,
GSettings *settings;
GtkBuilder *builder;
GMenu *toolbar;
- GIcon *icon;
- icon = g_themed_icon_new (icon_name);
settings = g_settings_new (PODCAST_SETTINGS_SCHEMA);
builder = rb_builder_load ("podcast-toolbar.ui", NULL);
@@ -996,16 +994,15 @@ rb_podcast_source_new (RBShell *shell,
source = RB_SOURCE (g_object_new (RB_TYPE_PODCAST_SOURCE,
"name", name,
"shell", shell,
- "icon", icon,
"entry-type", RHYTHMDB_ENTRY_TYPE_PODCAST_POST,
"podcast-manager", podcast_manager,
"base-query", base_query,
"settings", g_settings_get_child (settings, "source"),
"toolbar-menu", toolbar,
NULL));
+ rb_display_page_set_icon_name (RB_DISPLAY_PAGE (source), icon_name);
g_object_unref (settings);
g_object_unref (builder);
- g_object_unref (icon);
return source;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]