openbsd-ports/www/liferea/patches/patch-src_callbacks_c
jasper 84d42b6b05 import liferea 1.2.17
Liferea is an aggregator for online news feeds. There are many other
news readers available, but these others are not available for Unix or
require many extra libraries to be installed. Liferea tries to fill this
gap by creating a fast, easy to use, easy to install news aggregator for
GTK/GNOME.

joint work with Wiktor Izdebski <vicviq at gmail.com>
ok martynas@
2007-06-28 16:20:42 +00:00

28 lines
1.3 KiB
Plaintext

$OpenBSD: patch-src_callbacks_c,v 1.1.1.1 2007/06/28 16:20:42 jasper Exp $
--- src/callbacks.c.orig Mon Jun 25 22:58:51 2007
+++ src/callbacks.c Mon Jun 25 23:01:06 2007
@@ -115,20 +115,20 @@ void on_homepagebtn_clicked(GtkButton *button, gpointe
}
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"));
ui_tabs_new(filename, _("Help Topics"), TRUE);
g_free(filename);
}
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"));
ui_tabs_new(filename, _("Quick Reference"), TRUE);
g_free(filename);
}
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"));
ui_tabs_new(filename, _("FAQ"), TRUE);
g_free(filename);
}