[gnote] * Help didn't work in the Note windows. (Closes #581200)
- From: Hubert Figuière <hub src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnote] * Help didn't work in the Note windows. (Closes #581200)
- Date: Mon, 4 May 2009 20:55:06 -0400 (EDT)
commit ea15d74cc4d59723a5e4d7bc863bac528dd6cad3
Author: Hubert Figuiere <hub figuiere net>
Date: Mon May 4 19:05:38 2009 -0400
* Help didn't work in the Note windows. (Closes #581200)
---
NEWS | 1 +
src/notewindow.cpp | 2 +-
src/utils.cpp | 2 +-
3 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/NEWS b/NEWS
index e56a942..99d8b2d 100644
--- a/NEWS
+++ b/NEWS
@@ -11,6 +11,7 @@ Fixes:
* .desktop file didn't have the version (Jonathon Jongsma)
* .desktop has improper XFCE category and should have OnlyShowIn entry
for GNOME and XFCE (Closes #580481)
+ * Help didn't work in the Note windows. (Closes #581200)
Translations:
diff --git a/src/notewindow.cpp b/src/notewindow.cpp
index bc56357..6cc2aa3 100644
--- a/src/notewindow.cpp
+++ b/src/notewindow.cpp
@@ -597,7 +597,7 @@ namespace gnote {
void NoteWindow::open_help_activate()
{
- utils::show_help("gnote.xml", "editing-notes", get_screen()->gobj(), this);
+ utils::show_help("gnote", "editing-notes", get_screen()->gobj(), this);
}
void NoteWindow::create_new_note ()
diff --git a/src/utils.cpp b/src/utils.cpp
index 7164d23..d94e55b 100644
--- a/src/utils.cpp
+++ b/src/utils.cpp
@@ -123,7 +123,7 @@ namespace gnote {
{
std::string uri = "ghelp:" + filename;
if(!link_id.empty()) {
- uri += link_id;
+ uri += "#" + link_id;
}
GError *error = NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]