rem: widget = glade_xml_get_widget (totem->xml, "fs_previous_button"); gtk_widget_set_sensitive (widget, TRUE); widget = glade_xml_get_widget (totem->xml, "fs_next_button"); gtk_widget_set_sensitive (widget, TRUE);
add: widget = glade_xml_get_widget (totem->xml, "fs_volume_hbox"); gtk_widget_set_sensitive (widget, gtk_xine_can_set_volume (GTK_XINE (totem->gtx)));
context: totem_action_set_mrl (Totem *totem, const char *mrl){	GtkWidget *widget;	char *text;	gtk_xine_stop (GTK_XINE (totem->gtx));	if (totem->mrl != NULL)	{		g_free (totem->mrl);		gtk_xine_close (GTK_XINE (totem->gtx));	}	if (mrl == NULL)	{		gtk_window_set_title (GTK_WINDOW (totem->win), _("Totem"));		/* Play/Pause */		gtk_widget_set_sensitive (totem->pp_button, FALSE);		widget = glade_xml_get_widget (totem->xml, "play1");		gtk_widget_set_sensitive (widget, FALSE);		/* Label */		widget = glade_xml_get_widget (totem->xml, "label1");		text = g_strdup_printf			("<span size=\"medium\"><b>%s</b></span>",			 _("No file"));		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);		/* Title */		gtk_window_set_title (GTK_WINDOW (totem->win), "Totem");		/* Seek bar and seek buttons */		gtk_widget_set_sensitive (totem->seek, FALSE);		widget = glade_xml_get_widget (totem->xml, "skip_forward1");		gtk_widget_set_sensitive (totem->seek, FALSE);		widget = glade_xml_get_widget (totem->xml, "skip_backwards1");		gtk_widget_set_sensitive (totem->seek, FALSE);		/* Volume */		widget = glade_xml_get_widget (totem->xml, "volume_hbox");		gtk_widget_set_sensitive (widget, FALSE);		/* Control popup */		gtk_widget_set_sensitive (totem->fs_seek, FALSE);		gtk_widget_set_sensitive (totem->fs_volume, FALSE);		gtk_widget_set_sensitive (totem->fs_pp_button, FALSE);		widget = glade_xml_get_widget (totem->xml,				"fs_previous_button"); 		gtk_widget_set_sensitive (widget, FALSE);		widget = glade_xml_get_widget (totem->xml, "fs_next_button"); 		gtk_widget_set_sensitive (widget, FALSE);		/* Set the logo */		totem->mrl = g_strdup (LOGO_PATH);		gtk_xine_open (GTK_XINE (totem->gtx), totem->mrl);		/* Reset the properties */		gtk_xine_properties_update (GTK_XINE (totem->gtx), TRUE);		gtk_xine_play (GTK_XINE (totem->gtx), 0 , 0);	} else {		char *title, *time_text, *name;		int time;		gtk_xine_open (GTK_XINE (totem->gtx), mrl);		totem->mrl = g_strdup (mrl);		name = gtk_playlist_mrl_to_title (mrl);		/* Play/Pause */		gtk_widget_set_sensitive (totem->pp_button, TRUE);		widget = glade_xml_get_widget (totem->xml, "play1");		gtk_widget_set_sensitive (widget, TRUE);		/* Title */		title = g_strdup_printf ("%s - Totem", name);		gtk_window_set_title (GTK_WINDOW (totem->win), title);		g_free (title);		/* Seek bar */		gtk_widget_set_sensitive (totem->seek,				gtk_xine_is_seekable(GTK_XINE (totem->gtx)));		widget = glade_xml_get_widget (totem->xml, "skip_forward1");		gtk_widget_set_sensitive (widget, TRUE);		widget = glade_xml_get_widget (totem->xml, "skip_backwards1");		gtk_widget_set_sensitive (widget, TRUE);		/* Control popup */		gtk_widget_set_sensitive (totem->fs_seek,                 gtk_xine_is_seekable(GTK_XINE (totem->gtx)));		gtk_widget_set_sensitive (totem->fs_pp_button, TRUE);		widget = glade_xml_get_widget (totem->xml,				"fs_previous_button"); 		gtk_widget_set_sensitive (widget, TRUE);		widget = glade_xml_get_widget (totem->xml, "fs_next_button"); 		gtk_widget_set_sensitive (widget, TRUE);		/* Volume */		widget = glade_xml_get_widget (totem->xml, "volume_hbox");		gtk_widget_set_sensitive (widget, gtk_xine_can_set_volume				(GTK_XINE (totem->gtx)));		/* Set the playlist */		gtk_playlist_set_playing (totem->playlist, TRUE);		/* Label */		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);	}}