openbsd-ports/www/liferea/patches/patch-src_ui_liferea_shell_c
pea f2ffa774ab Update to 1.6.5
Diff from Levai Daniel (thx) + WANTLIB fix by me.
Maintainer timed out

ok jasper@
2011-04-07 12:07:02 +00:00

31 lines
1.5 KiB
Plaintext

$OpenBSD: patch-src_ui_liferea_shell_c,v 1.2 2011/04/07 12:07:02 pea Exp $
--- src/ui/liferea_shell.c.orig Sun Sep 26 05:13:15 2010
+++ src/ui/liferea_shell.c Wed Mar 23 10:53:57 2011
@@ -682,7 +682,7 @@ on_about_activate (GtkMenuItem *menuitem, gpointer use
static void
on_topics_activate (GtkMenuItem *menuitem, gpointer user_data)
{
- gchar *filename = g_strdup_printf ("file://" PACKAGE_DATA_DIR "/" PACKAGE "/doc/html/%s", _("topics_en.html"));
+ gchar *filename = g_strdup_printf ("file://" PACKAGE_DATA_DIR "/doc/" PACKAGE "/html/%s", _("topics_en.html"));
browser_tabs_add_new (filename, _("Help Topics"), TRUE);
g_free (filename);
}
@@ -690,7 +690,7 @@ on_topics_activate (GtkMenuItem *menuitem, gpointer us
static void
on_quick_reference_activate (GtkMenuItem *menuitem, gpointer user_data)
{
- gchar *filename = g_strdup_printf ("file://" PACKAGE_DATA_DIR "/" PACKAGE "/doc/html/%s", _("reference_en.html"));
+ gchar *filename = g_strdup_printf ("file://" PACKAGE_DATA_DIR "/doc/" PACKAGE "/html/%s", _("reference_en.html"));
browser_tabs_add_new (filename, _("Quick Reference"), TRUE);
g_free (filename);
}
@@ -698,7 +698,7 @@ on_quick_reference_activate (GtkMenuItem *menuitem, gp
static void
on_faq_activate (GtkMenuItem *menuitem, gpointer user_data)
{
- gchar *filename = g_strdup_printf ("file://" PACKAGE_DATA_DIR "/" PACKAGE "/doc/html/%s", _("faq_en.html"));
+ gchar *filename = g_strdup_printf ("file://" PACKAGE_DATA_DIR "/doc/" PACKAGE "/html/%s", _("faq_en.html"));
browser_tabs_add_new (filename, _("FAQ"), TRUE);
g_free (filename);
}