rem: state = gtk_toggle_button_get_active (button); gtk_toggle_button_set_active (button, !state);
add: mrl = gtk_playlist_get_current_mrl (totem->playlist); if (mrl == NULL) { play_pause_set_label (totem, FALSE); return; } else { action_set_mrl (totem, mrl); g_free (mrl); return; } }  if (!gtk_xine_is_playing(GTK_XINE(totem->gtx))) { if (gtk_xine_play (GTK_XINE(totem->gtx), totem->mrl, 0, 0) == FALSE) { play_pause_set_label (totem, FALSE); } } else { if (gtk_xine_get_speed (GTK_XINE(totem->gtx)) == SPEED_PAUSE) { gtk_xine_set_speed (GTK_XINE(totem->gtx), SPEED_NORMAL); play_pause_set_label (totem, TRUE); } else { gtk_xine_set_speed (GTK_XINE(totem->gtx), SPEED_PAUSE); play_pause_set_label (totem, FALSE); } }
context: action_play_pause (Totem *totem){	GtkToggleButton *button = GTK_TOGGLE_BUTTON (totem->pp_button);	gboolean state;	state = gtk_toggle_button_get_active (button);	gtk_toggle_button_set_active (button, !state);}