[gnome-music/wip/mschraal/help-launcher: 1/2] application: Fix launching help
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/mschraal/help-launcher: 1/2] application: Fix launching help
- Date: Fri, 18 Feb 2022 00:03:44 +0000 (UTC)
commit 3d587b2738fe42dbbb1e6cbce1a2ea1fc47a9e66
Author: Marinus Schraal <mschraal gnome org>
Date: Fri Feb 18 00:47:09 2022 +0100
application: Fix launching help
Passing window to show_uri fixes the lockup.
Fixes: #503
gnomemusic/application.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gnomemusic/application.py b/gnomemusic/application.py
index aeb2da9c3..391b901c9 100644
--- a/gnomemusic/application.py
+++ b/gnomemusic/application.py
@@ -206,7 +206,7 @@ class Application(Gtk.Application):
def _help(self, action, param):
try:
- Gtk.show_uri(None, "help:gnome-music", Gdk.CURRENT_TIME)
+ Gtk.show_uri(self._window, "help:gnome-music", Gdk.CURRENT_TIME)
except GLib.Error:
self._log.message("Help handler not available.")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]