rem: item = glade_xml_get_widget (totem->xml, "tmw_zoom_in_menu_item"); gtk_widget_set_sensitive (item, TRUE); item = glade_xml_get_widget (totem->xml, "tmw_zoom_out_menu_item"); gtk_widget_set_sensitive (item, TRUE); item = glade_xml_get_widget (totem->xml, "tmw_zoom_reset_menu_item"); gtk_widget_set_sensitive (item, TRUE);
add: totem_main_set_sensitivity ("tmw_zoom_in_menu_item", TRUE); totem_main_set_sensitivity ("tmw_zoom_out_menu_item", TRUE); totem_main_set_sensitivity ("tmw_zoom_reset_menu_item", TRUE);
context: totem_action_zoom (Totem *totem, int zoom){	GtkWidget *item;	if (zoom < ZOOM_LOWER || zoom > ZOOM_UPPER)		return;	bacon_video_widget_set_zoom (totem->bvw, zoom);	if (zoom == ZOOM_UPPER) {		item = glade_xml_get_widget			(totem->xml, "tmw_zoom_in_menu_item");		gtk_widget_set_sensitive (item, FALSE);	} else if (zoom == ZOOM_LOWER) {		item = glade_xml_get_widget			(totem->xml, "tmw_zoom_out_menu_item");		gtk_widget_set_sensitive (item, FALSE);	} else if (zoom == ZOOM_RESET) {		item = glade_xml_get_widget			(totem->xml, "tmw_zoom_reset_menu_item");		gtk_widget_set_sensitive (item, FALSE);		item = glade_xml_get_widget			(totem->xml, "tmw_zoom_in_menu_item");		gtk_widget_set_sensitive (item, TRUE);		item = glade_xml_get_widget			(totem->xml, "tmw_zoom_out_menu_item");		gtk_widget_set_sensitive (item, TRUE);	} else {		item = glade_xml_get_widget			(totem->xml, "tmw_zoom_in_menu_item");		gtk_widget_set_sensitive (item, TRUE);		item = glade_xml_get_widget			(totem->xml, "tmw_zoom_out_menu_item");		gtk_widget_set_sensitive (item, TRUE);		item = glade_xml_get_widget			(totem->xml, "tmw_zoom_reset_menu_item");		gtk_widget_set_sensitive (item, TRUE);	}}