[devhelp/gnome-2-32] Fixed: some functions cannot be viewed in Assistant
- From: Frederic Peters <fpeters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [devhelp/gnome-2-32] Fixed: some functions cannot be viewed in Assistant
- Date: Sat, 28 Aug 2010 08:07:33 +0000 (UTC)
commit 9eefdeae8aa563d8a1b38dc9cabe3bd0fc9fb2ea
Author: Eiichi Sato <sato eiichi gmail com>
Date: Tue Aug 24 13:26:18 2010 +0900
Fixed: some functions cannot be viewed in Assistant
Fixed a bug Assistant shows a blank page for some keywords,
such as "g_str_hash", which are documented at the bottom
of their *.html files.
https://bugzilla.gnome.org/show_bug.cgi?id=627795
src/dh-assistant-view.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/dh-assistant-view.c b/src/dh-assistant-view.c
index c4f3762..7430b73 100644
--- a/src/dh-assistant-view.c
+++ b/src/dh-assistant-view.c
@@ -259,6 +259,12 @@ dh_assistant_view_set_link (DhAssistantView *view,
end = find_in_buffer (start, end_key,
length - strlen (start_key),
strlen (end_key));
+ if (!end) {
+ end_key = "<div class=\"footer";
+ end = find_in_buffer (start, end_key,
+ length - strlen (start_key),
+ strlen (end_key));
+ }
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]