summaryrefslogtreecommitdiff
path: root/community/gnome-subtitles/fix-help.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/gnome-subtitles/fix-help.patch')
-rw-r--r--community/gnome-subtitles/fix-help.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/community/gnome-subtitles/fix-help.patch b/community/gnome-subtitles/fix-help.patch
new file mode 100644
index 000000000..e888bfb41
--- /dev/null
+++ b/community/gnome-subtitles/fix-help.patch
@@ -0,0 +1,31 @@
+From 0b66f14b812bb83ca149bc29906716c17f388da1 Mon Sep 17 00:00:00 2001
+From: Pedro Castro <pedro@gnomesubtitles.org>
+Date: Sat, 10 Mar 2012 11:32:28 +0000
+Subject: Fix #671567 (Fix opening help), based on a patch from György Balló.
+
+Fix keyboard shortcuts url.
+---
+diff --git a/src/GnomeSubtitles/Core/EventHandlers.cs b/src/GnomeSubtitles/Core/EventHandlers.cs
+index 014fc54..6de82b0 100644
+--- a/src/GnomeSubtitles/Core/EventHandlers.cs
++++ b/src/GnomeSubtitles/Core/EventHandlers.cs
+@@ -392,15 +392,11 @@ public class EventHandlers {
+ /* Help Menu */
+
+ public void OnHelpContents (object o, EventArgs args) {
+- const string arg = "ghelp:gnome-subtitles";
+- if ((!Util.OpenUrl("gnome-help " + arg)) && (!Util.OpenUrl("yelp " + arg))) {
+- BasicErrorDialog errorDialog = new BasicErrorDialog(Catalog.GetString("The Gnome Subtitles Manual could not be found."), Catalog.GetString("Please verify that your installation has been completed successfully."));
+- errorDialog.Show();
+- }
++ Util.OpenUrl("ghelp:gnome-subtitles");
+ }
+
+ public void OnHelpKeyboardShortcuts (object o, EventArgs args) {
+- Util.OpenUrl("http://gnome-subtitles.sourceforge.net/shortcuts");
++ Util.OpenUrl("http://gnomesubtitles.org/shortcuts");
+ }
+
+ public void OnHelpRequestFeature (object o, EventArgs args) {
+--
+cgit v0.9.0.2