[goffice] Fix context sensitive help support on win32.



commit e8e52ce352778a85e8f360078f00eaa3ab5475e3
Author: Jody Goldberg <jody gnome org>
Date:   Fri Dec 4 06:10:54 2009 -0500

    Fix context sensitive help support on win32.

 ChangeLog                 |    5 +++++
 NEWS                      |    3 +++
 goffice/gtk/goffice-gtk.c |    2 +-
 3 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index e03756a..607cce1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-12-04  Jody Goldberg <jody gnome org>
+
+	* goffice/gtk/goffice-gtk.c (go_help_display) : support tab as a
+	  seperator in the hhmap file.
+
 2009-12-02  Morten Welinder  <terra gnome org>
 
 	* goffice/app/go-cmd-context.c (go_cmd_context_progress_set,
diff --git a/NEWS b/NEWS
index 884a9a5..f310ba9 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,8 @@
 goffice 0.7.17:
 
+Jody:
+	* Fix context sensitive help support on win32.
+
 Morten:
 	* Make GOCmdContext require less implementation.
 
diff --git a/goffice/gtk/goffice-gtk.c b/goffice/gtk/goffice-gtk.c
index 10e90e3..55704ed 100644
--- a/goffice/gtk/goffice-gtk.c
+++ b/goffice/gtk/goffice-gtk.c
@@ -912,7 +912,7 @@ go_help_display (CBHelpPaths const *paths)
 							      i, path, line);
 					continue;
 				}
-				for (; *topic == ' '; ++topic);
+				for (; *topic == ' ' || *topic == '\t'; ++topic);
 				g_hash_table_insert (context_help_map, g_strdup (topic),
 					(gpointer)id);
 			}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]