Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.9, 1.9.1, and 1.9.2

rename viewhelp.py to helpmessages.py

Changeset 72cf764bfbd4

Parent caac309fab2a

by Adrian Buehlmann

Changes to 2 files · Browse files at 72cf764bfbd4 Showing diff from parent caac309fab2a Diff from another changeset...

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
 
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
 
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
 # -*- coding: iso-8859-1 -*-  #!/usr/bin/env python  #  # Copyright (C) 2007-2010 Logilab. All rights reserved.  #  # This software may be used and distributed according to the terms  # of the GNU General Public License, incorporated herein by reference.  """  Help window  """  import sys, os  import re    from PyQt4 import QtCore, QtGui, Qsci    from tortoisehg.hgqt import icon as geticon  from tortoisehg.hgqt.dialogmixin import HgDialogMixin -from tortoisehg.hgqt.viewhelp import help_msg, get_options_helpmsg +from tortoisehg.hgqt.helpmessages import help_msg, get_options_helpmsg    Qt = QtCore.Qt  bold = QtGui.QFont.Bold  connect = QtCore.QObject.connect  SIGNAL = QtCore.SIGNAL    from docutils.core import publish_string    class HelpDialog(QtGui.QDialog, HgDialogMixin):   """hgview simple help viewer"""   _uifile = 'HelpDialog.ui'   def __init__(self, repo, parent=None):   self.repo = repo   QtGui.QDialog.__init__(self, parent)   HgDialogMixin.__init__(self)   data = help_msg + get_options_helpmsg(rest=True)     html = publish_string(data, writer_name='html')   self.textBrowser.setText(html)     # must be redefined cause it's a QDialog   def accept(self):   QtGui.QDialog.accept(self)     def reject(self):   QtGui.QDialog.reject(self)    
Show Entire File tortoisehg/​hgqt/​helpmessages.py Stacked
renamed from tortoisehg/hgqt/viewhelp.py
(No changes)