Compare commits

...

3 Commits
45.2 ... 3.14.2

Author SHA1 Message Date
Florian Müllner
ea893b2262 Bump version to 3.14.2
To go along GNOME Shell 3.14.2
2014-11-12 19:59:39 +01:00
Florian Müllner
3fca9e88b2 drive-menu: Adjust for renamed .desktop file name
Nautilus now uses reverse domain notation for its .desktop file,
adjust for that.

https://bugzilla.gnome.org/show_bug.cgi?id=739931
2014-11-12 19:54:45 +01:00
Florian Müllner
a1ab174e7a drive-menu: Update for gnome-shell changes
Since shell commit 3227d4f3edad, Shell.Global.create_app_launch_context()
expects additional parameters.

https://bugzilla.gnome.org/show_bug.cgi?id=739931
2014-11-12 19:54:38 +01:00
3 changed files with 8 additions and 3 deletions

4
NEWS
View File

@@ -1,3 +1,7 @@
3.14.2
======
* drive-menu: Update for nautilus/gnome-shell changes
3.14.1
======
* alternateTab: Fix dismissing popup with Escape

View File

@@ -1,5 +1,5 @@
AC_PREREQ(2.63)
AC_INIT([gnome-shell-extensions],[3.14.1],[https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-shell&component=extensions])
AC_INIT([gnome-shell-extensions],[3.14.2],[https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-shell&component=extensions])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_AUX_DIR([config])

View File

@@ -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);
}
@@ -149,7 +150,7 @@ const DriveMenu = new Lang.Class({
this.menu.addMenuItem(new PopupMenu.PopupSeparatorMenuItem());
this.menu.addAction(_("Open File"), function(event) {
let appSystem = Shell.AppSystem.get_default();
let app = appSystem.lookup_app('nautilus.desktop');
let app = appSystem.lookup_app('org.gnome.Nautilus.desktop');
app.activate_full(-1, event.get_time());
});