rhythmbox r6103 - in trunk: . plugins/iradio podcast



Author: jmatthew
Date: Wed Dec 17 10:44:50 2008
New Revision: 6103
URL: http://svn.gnome.org/viewvc/rhythmbox?rev=6103&view=rev

Log:
2008-12-17  Jonathan Matthew  <jonathan d14n org>

	patch by:  John Daiker  <daikerjohn gmail com>

	* plugins/iradio/rb-station-properties-dialog.c:
	(rb_station_properties_dialog_update_last_played):
	* podcast/rb-feed-podcast-properties-dialog.c:
	(rb_feed_podcast_properties_dialog_update_last_update),
	(rb_feed_podcast_properties_dialog_update_last_episode),
	(rb_feed_podcast_properties_dialog_update_summary):
	* podcast/rb-podcast-properties-dialog.c:
	(rb_podcast_properties_dialog_update_last_played),
	(rb_podcast_properties_dialog_update_date),
	(rb_podcast_properties_dialog_update_description):
	Replace calls to gtk_label_set with gtk_label_set_text.
	From #564800.


Modified:
   trunk/ChangeLog
   trunk/plugins/iradio/rb-station-properties-dialog.c
   trunk/podcast/rb-feed-podcast-properties-dialog.c
   trunk/podcast/rb-podcast-properties-dialog.c

Modified: trunk/plugins/iradio/rb-station-properties-dialog.c
==============================================================================
--- trunk/plugins/iradio/rb-station-properties-dialog.c	(original)
+++ trunk/plugins/iradio/rb-station-properties-dialog.c	Wed Dec 17 10:44:50 2008
@@ -507,7 +507,7 @@
 
 	if (dialog->priv->current_entry)
 		last_played = rhythmdb_entry_get_string (dialog->priv->current_entry, RHYTHMDB_PROP_LAST_PLAYED_STR);
-	gtk_label_set (GTK_LABEL (dialog->priv->lastplayed), last_played);
+	gtk_label_set_text (GTK_LABEL (dialog->priv->lastplayed), last_played);
 }
 
 static void

Modified: trunk/podcast/rb-feed-podcast-properties-dialog.c
==============================================================================
--- trunk/podcast/rb-feed-podcast-properties-dialog.c	(original)
+++ trunk/podcast/rb-feed-podcast-properties-dialog.c	Wed Dec 17 10:44:50 2008
@@ -276,7 +276,7 @@
 
 	time_val = rhythmdb_entry_get_ulong (dialog->priv->current_entry, RHYTHMDB_PROP_LAST_SEEN);
 	time_str = rb_feed_podcast_properties_dialog_parse_time (time_val);
-	gtk_label_set (GTK_LABEL (dialog->priv->last_update), time_str);
+	gtk_label_set_text (GTK_LABEL (dialog->priv->last_update), time_str);
 	g_free (time_str);
 }
 
@@ -288,7 +288,7 @@
 
 	time_val = rhythmdb_entry_get_ulong (dialog->priv->current_entry, RHYTHMDB_PROP_POST_TIME);
 	time_str = rb_feed_podcast_properties_dialog_parse_time (time_val);
-	gtk_label_set (GTK_LABEL (dialog->priv->last_episode), time_str);
+	gtk_label_set_text (GTK_LABEL (dialog->priv->last_episode), time_str);
 	g_free (time_str);
 }
 
@@ -308,7 +308,7 @@
 						     RHYTHMDB_PROP_SUBTITLE);
 	}
 
-	gtk_label_set (GTK_LABEL (dialog->priv->summary), summary);
+	gtk_label_set_text (GTK_LABEL (dialog->priv->summary), summary);
 }
 
 static char *

Modified: trunk/podcast/rb-podcast-properties-dialog.c
==============================================================================
--- trunk/podcast/rb-podcast-properties-dialog.c	(original)
+++ trunk/podcast/rb-podcast-properties-dialog.c	Wed Dec 17 10:44:50 2008
@@ -496,7 +496,7 @@
 	const char *str;
 
 	str = rhythmdb_entry_get_string (dialog->priv->current_entry, RHYTHMDB_PROP_LAST_PLAYED_STR);
-	gtk_label_set (GTK_LABEL (dialog->priv->lastplayed), str);
+	gtk_label_set_text (GTK_LABEL (dialog->priv->lastplayed), str);
 }
 
 static void
@@ -517,8 +517,7 @@
 	post_time = rhythmdb_entry_get_ulong (dialog->priv->current_entry, RHYTHMDB_PROP_POST_TIME);
 	time = rb_podcast_properties_dialog_parse_time (post_time);
 
-	gtk_label_set (GTK_LABEL (dialog->priv->date),
-		       time);
+	gtk_label_set_text (GTK_LABEL (dialog->priv->date), time);
 	g_free (time);
 }
 
@@ -528,7 +527,7 @@
 	const char *str;
 
 	str = rhythmdb_entry_get_string (dialog->priv->current_entry, RHYTHMDB_PROP_DESCRIPTION);
-	gtk_label_set (GTK_LABEL (dialog->priv->description), str);
+	gtk_label_set_text (GTK_LABEL (dialog->priv->description), str);
 }
 
 static char *



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