rem: item = glade_xml_get_widget (totem->xml, "tmw_dvd_root_menu_item"); gtk_widget_set_sensitive (item, playing); item = glade_xml_get_widget (totem->xml, "tmw_dvd_title_menu_item"); gtk_widget_set_sensitive (item, playing); item = glade_xml_get_widget (totem->xml, "tmw_dvd_audio_menu_item"); gtk_widget_set_sensitive (item, playing); item = glade_xml_get_widget (totem->xml, "tmw_dvd_angle_menu_item"); gtk_widget_set_sensitive (item, playing); item = glade_xml_get_widget (totem->xml, "tmw_dvd_chapter_menu_item"); gtk_widget_set_sensitive (item, playing);
add: totem_main_set_sensitivity ("tmw_dvd_root_menu_item", playing); totem_main_set_sensitivity ("tmw_dvd_title_menu_item", playing); totem_main_set_sensitivity ("tmw_dvd_audio_menu_item", playing); totem_main_set_sensitivity ("tmw_dvd_angle_menu_item", playing); totem_main_set_sensitivity ("tmw_dvd_chapter_menu_item", playing);
context: update_media_menu_items (Totem *totem){        GtkWidget *item;        gboolean playing;	playing = totem_playing_dvd (totem->mrl);	item = glade_xml_get_widget (totem->xml, "tmw_dvd_root_menu_item");	gtk_widget_set_sensitive (item, playing);        item = glade_xml_get_widget (totem->xml, "tmw_dvd_title_menu_item");	gtk_widget_set_sensitive (item, playing);        item = glade_xml_get_widget (totem->xml, "tmw_dvd_audio_menu_item");	gtk_widget_set_sensitive (item, playing);        item = glade_xml_get_widget (totem->xml, "tmw_dvd_angle_menu_item");	gtk_widget_set_sensitive (item, playing);        item = glade_xml_get_widget (totem->xml, "tmw_dvd_chapter_menu_item");	gtk_widget_set_sensitive (item, playing);	playing = totem_is_media (totem->mrl);	item = glade_xml_get_widget (totem->xml, "tmw_eject_menu_item");	gtk_widget_set_sensitive (item, playing);}