drive-menu: Update for gnome-shell changes
Since shell commit 3227d4f3edad, Shell.Global.create_app_launch_context() expects additional parameters.
This commit is contained in:
@@ -108,8 +108,9 @@ const MountMenuItem = new Lang.Class({
|
||||
},
|
||||
|
||||
activate: function(event) {
|
||||
let context = global.create_app_launch_context(event.get_time(), -1);
|
||||
Gio.AppInfo.launch_default_for_uri(this.mount.get_root().get_uri(),
|
||||
global.create_app_launch_context());
|
||||
context);
|
||||
|
||||
this.parent(event);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user