mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
ShellApp+ShellGlobal: unify app launch context code
Extend shell_global_create_app_launch_context() with the required parameters and use that for shell_app_launch() too. https://bugzilla.gnome.org/show_bug.cgi?id=669603
This commit is contained in:
parent
7e27afb645
commit
3227d4f3ed
11 changed files with 30 additions and 43 deletions
|
|
@ -283,7 +283,7 @@ const RemoteSearchProvider = new Lang.Class({
|
|||
// the provider is not compatible with the new version of the interface, launch
|
||||
// the app itself but warn so we can catch the error in logs
|
||||
log('Search provider ' + this.appInfo.get_id() + ' does not implement LaunchSearch');
|
||||
this.appInfo.launch([], global.create_app_launch_context());
|
||||
this.appInfo.launch([], global.create_app_launch_context(0, -1));
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue