[pybliographer] Update the method to open the documentation



commit f9d3b6c7db73d18a4df161055b0013b81b14f110
Author: Zoltan Kota <zoltank gmail com>
Date:   Thu Sep 29 00:25:39 2011 +0200

    Update the method to open the documentation

 Pyblio/GnomeUI/Document.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/Pyblio/GnomeUI/Document.py b/Pyblio/GnomeUI/Document.py
index 6ab63b1..2f6af90 100644
--- a/Pyblio/GnomeUI/Document.py
+++ b/Pyblio/GnomeUI/Document.py
@@ -1218,8 +1218,9 @@ class Document (Connector.Publisher):
     def on_documentation (self, *args):
         import gobject
 
+        timestamp = gtk.gdk.CURRENT_TIME
         try:
-            gnome.help_display ('pybliographer', None)
+            gtk.show_uri (None, "ghelp:pybliographer", timestamp)
             
         except gobject.GError, msg:
             self.w.error (_("Can't display documentation:\n%s") % msg)



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