Does this make any sense? I can't test it:P
in runner.vala:
around line 56:
private Settings gp_settings;
+
+ private bool search_string_executable = false;
around line 246:
/* complete again system executables */
else
{
foreach (var exec_candidate in this.executables)
{
if (exec_candidate.has_prefix (search_string)) // this line is
changed as in David's patch
+ {
+ if (exec_candidate != search_string)
+ {
+ executables_match.add (exec_candidate);
+ }
+ else
+ {
+ search_string_executable = true;
+ }
}
}
}
and around line 272:
// 1. enable launching the exact search string if no other result or if
it's executable
if ((executables_match.size == 0) && (dirs_match.size == 0) ||
search_string_executable == true))
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/842108
Title:
run command (alt+F2): results do not contain the exact match
To manage notifications about this bug go to:
https://bugs.launchpad.net/unity/+bug/842108/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs