linuxmint/Cinnamon — pull request #1263 by earl (2012-10-10 00:18:05+00:00)
Title: Run dialog: don't keep duplicate commands in history

The run dialog should only show unique commands. This makes the run
dialog significantly more useful as a quick launcher for regularly used
commands. History deduplication matches the behaviour of e.g. gmrun or
the the venerable Metacity/MATE run dialog.

Technically, if recalling a previously used command from history, the
command will be appended as most recent item to the history and all
earlier occurrences will be removed.

This patch also provides a smooth upgrade path for existing histories.
The history is initially left untouched, but once a previous command is
recalled, all duplicates are removed.