Skip to content

Commit

Permalink
Added version name
Browse files Browse the repository at this point in the history
  • Loading branch information
RandyParedis committed Dec 20, 2019
1 parent 9940cf7 commit 37251b6
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ texteditor, Graphviz-viewer and a terminal open at all times. Not anymore!
`GraphDonkey`, originally called `DotGaper`, solves this issue by combining
these applications into one.

**Current Version:** `0.1.1`<br/>
**Build Type:** `beta`<br/>
**Latest Release Version:** _Jack-in-a-Box_ (`v0.1.1`)<br/>
**Executable OS:** Only `Linux` at this point in time
(maybe Mac as well, but cannot confirm)<br/>
**Author:** Randy Paredis
Expand Down
4 changes: 2 additions & 2 deletions __main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@

print("LAUNCING APP...")
print("GraphViz Version:", graphviz.__version__)
print("GraphDonkey Version:", Constants.APP_VERSION)
print("GraphDonkey Version:", Constants.APP_VERSION_NAME, "(" + Constants.APP_VERSION + ")")

app = QtWidgets.QApplication(sys.argv)
app.setApplicationName(Constants.APP_NAME)
app.setApplicationVersion(Constants.APP_VERSION)
app.setApplicationDisplayName(Constants.APP_NAME + " v" + Constants.APP_VERSION)
app.setApplicationDisplayName(Constants.APP_NAME + " [" + Constants.APP_VERSION_NAME + "] v" + Constants.APP_VERSION)
app.setWindowIcon(Constants.APP_ICON)

mainwindow = MainWindow()
Expand Down
2 changes: 1 addition & 1 deletion main/MainWindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ def aboutGraphDonkey(self):
"<p>A simple and easy-to-use application for visualizing and editing Graphviz Dot files. It is "
"based on the idea of xdot, combined with a texteditor that can live-update the images.</p>"
"<p>Current version is <b>%s</b>.</p>"
"<p>Created by <b>Randy Paredis</b>." % Constants.APP_VERSION)
"<p>Created by <b>Randy Paredis</b>." % (Constants.APP_VERSION_NAME + " v" + Constants.APP_VERSION))

def aboutQt(self):
QtWidgets.QMessageBox.aboutQt(self)
1 change: 1 addition & 0 deletions main/extra/Constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

APP_NAME = "GraphDonkey"
APP_VERSION = "0.1.1"
APP_VERSION_NAME = "Jack-in-a-Box"
APP_ICON = QIcon(IOHandler.dir_icons("graphdonkey.svg"))

ICON_GRAPHVIZ = QImage(IOHandler.dir_icons("graphviz.png"))
Expand Down

0 comments on commit 37251b6

Please sign in to comment.