Skip to content

Commit

Permalink
On version.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilya Portnov committed Sep 4, 2016
1 parent f83646f commit 10275f4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 3 additions & 2 deletions palette-editor/bin/palette_editor.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ def locate_locales():
from dialogs.options import OptionsDialog
from models.models import *
from models.options import Options
from version import VERSION

__version__ = '0.0.7'

def locate_icon(name):
path = join(datarootdir, "icons", name)
Expand Down Expand Up @@ -1182,7 +1183,7 @@ def on_help(self):

def on_about(self):
title = _("About Palette Editor")
text = _("This is Palette Editor version {0}.\nPlease report issues at {1}.").format(VERSION, 'https://github.com/portnov/color-palette/issues')
text = _("This is Palette Editor version {0}.\nPlease report issues at {1}.").format(__version__, 'https://github.com/portnov/color-palette/issues')
QtGui.QMessageBox.about(self, title, text)

def closeEvent(self, event):
Expand Down
2 changes: 0 additions & 2 deletions palette-editor/version.py

This file was deleted.

0 comments on commit 10275f4

Please sign in to comment.