[gnome-shell-extensions] drive-menu: Update for gnome-shell changes
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell-extensions] drive-menu: Update for gnome-shell changes
- Date: Wed, 12 Nov 2014 18:53:40 +0000 (UTC)
commit 109bdd1cd08570acc95fcbb086da29e42b9a9a0e
Author: Florian Müllner <fmuellner gnome org>
Date: Wed Nov 12 19:42:49 2014 +0100
drive-menu: Update for gnome-shell changes
Since shell commit 3227d4f3edad, Shell.Global.create_app_launch_context()
expects additional parameters.
extensions/drive-menu/extension.js | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/extensions/drive-menu/extension.js b/extensions/drive-menu/extension.js
index 7f73477..a7133ce 100644
--- a/extensions/drive-menu/extension.js
+++ b/extensions/drive-menu/extension.js
@@ -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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]