rem: name = gtk_playlist_mrl_to_title (totem->mrl); widget = glade_xml_get_widget (totem->xml, "label1"); time = gtk_xine_get_stream_length (GTK_XINE (totem->gtx)); time_text = time_to_string (time / 1000); text = g_strdup_printf ("<span size=\"medium\"><b>%s (%s)</b></span>", name, time_text); rb_ellipsizing_label_set_markup (RB_ELLIPSIZING_LABEL (widget), text); widget = glade_xml_get_widget (totem->xml, "custom2"); rb_ellipsizing_label_set_markup (RB_ELLIPSIZING_LABEL (widget), text); g_free (text); g_free (time_text); g_free (name);   gtk_xine_properties_update (GTK_XINE (totem->gtx), FALSE);
context: totem_action_play (Totem *totem, int offset){	GtkWidget *widget;	int retval, time;	char *time_text, *name, *text;	D("action_play");	if (totem->mrl == NULL)		return;	retval = gtk_xine_play (GTK_XINE (totem->gtx), offset , 0);	play_pause_set_label (totem, retval);	/* Set the new label */	name = gtk_playlist_mrl_to_title (totem->mrl);	widget = glade_xml_get_widget (totem->xml, "label1");	time = gtk_xine_get_stream_length (GTK_XINE (totem->gtx));	time_text = time_to_string (time / 1000);	text = g_strdup_printf ("<span size=\"medium\"><b>%s (%s)</b></span>",		 name, time_text);	rb_ellipsizing_label_set_markup (RB_ELLIPSIZING_LABEL (widget), text);	widget = glade_xml_get_widget (totem->xml, "custom2");	rb_ellipsizing_label_set_markup (RB_ELLIPSIZING_LABEL (widget), text);	g_free (text);	g_free (time_text);	g_free (name);	/* Update the properties */	gtk_xine_properties_update (GTK_XINE (totem->gtx), FALSE);}