[pybliographer] Update the method to open the documentation
- From: Zoltan Kota <zkota src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pybliographer] Update the method to open the documentation
- Date: Wed, 28 Sep 2011 22:26:36 +0000 (UTC)
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]