add: } else if (event->keyval == GDK_Escape) { gtk_dialog_response (GTK_DIALOG (playlist), GTK_RESPONSE_CLOSE);
context: totem_playlist_key_press (GtkWidget *win, GdkEventKey *event, TotemPlaylist *playlist){	/* Special case some shortcuts */	if (event->state != 0			&& (event->state &GDK_CONTROL_MASK))	{		switch (event->keyval)		case GDK_a:			gtk_tree_selection_select_all (playlist->_priv->selection);			return TRUE;	}	/* If we have modifiers, and either Ctrl, Mod1 (Alt), or any	 * of Mod3 to Mod5 (Mod2 is num-lock...) are pressed, we	 * let Gtk+ handle the key */	if (event->state != 0			&& ((event->state & GDK_CONTROL_MASK)			|| (event->state & GDK_MOD1_MASK)			|| (event->state & GDK_MOD3_MASK)			|| (event->state & GDK_MOD4_MASK)			|| (event->state & GDK_MOD5_MASK)))		return FALSE;	if (event->keyval == GDK_Delete)	{		totem_playlist_remove_files (NULL, playlist);		return TRUE;	}	return FALSE;}