Add 'r' as an alias to 'restart' in run dialog
For even faster turnaround inspection of changes. Also add a comment about the idle_add in the 'lg' command.
This commit is contained in:
parent
0f4e9189c5
commit
ecc1f964c9
@ -36,9 +36,16 @@ RunDialog.prototype = {
|
||||
|
||||
this._internalCommands = { 'lg':
|
||||
Lang.bind(this, function() {
|
||||
// Run in an idle to avoid recursive key grab problems
|
||||
Mainloop.idle_add(function() { Main.createLookingGlass().open(); });
|
||||
}),
|
||||
|
||||
|
||||
'r': Lang.bind(this, function() {
|
||||
let global = Shell.Global.get();
|
||||
global.reexec_self();
|
||||
}),
|
||||
|
||||
// Developer brain backwards compatibility
|
||||
'restart': Lang.bind(this, function() {
|
||||
let global = Shell.Global.get();
|
||||
global.reexec_self();
|
||||
|
Loading…
Reference in New Issue
Block a user