Skip to content
This repository has been archived by the owner on Jan 31, 2019. It is now read-only.

Commit

Permalink
Added forgoten file help.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergio Costas committed Oct 28, 2015
1 parent dd8e5b5 commit 58776ef
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/devedeng/help.py
@@ -0,0 +1,17 @@
#!/usr/bin/env python3

from gi.repository import Gtk,Gdk
import devedeng.configuration_data
import os

class help:

def __init__(self,help_page):

self.config = devedeng.configuration_data.configuration.get_config()

file="file://"+os.path.join(self.config.help_path,"html",help_page)

retval = Gtk.show_uri(None,file,Gdk.CURRENT_TIME)
if retval == False:
msg=devede_dialogs.show_error(gladefile,_("Can't open the help files."))

0 comments on commit 58776ef

Please sign in to comment.