Displaying build number to use
authorepage <eopage@byu.net>
Sat, 29 Aug 2009 22:43:47 +0000 (22:43 +0000)
committerepage <eopage@byu.net>
Sat, 29 Aug 2009 22:43:47 +0000 (22:43 +0000)
git-svn-id: file:///svnroot/gc-dialer/trunk@429 c39d3808-3fe2-4d86-a59f-b7f623ee9f21

src/constants.py
src/dc_glade.py
support/builddeb.py

index 66d055d..3d4e5af 100644 (file)
@@ -3,6 +3,7 @@ import os
 __pretty_app_name__ = "DialCentral"
 __app_name__ = "dialcentral"
 __version__ = "1.0.5"
+__build__ = 0
 __app_magic__ = 0xdeadbeef
 _data_path_ = os.path.join(os.path.expanduser("~"), ".dialcentral")
 _user_settings_ = "%s/settings.ini" % _data_path_
index bcefda0..583ccae 100755 (executable)
@@ -728,7 +728,7 @@ class Dialcentral(object):
        def _on_about_activate(self, *args):
                dlg = gtk.AboutDialog()
                dlg.set_name(constants.__pretty_app_name__)
-               dlg.set_version(constants.__version__)
+               dlg.set_version("%s-%d" % (constants.__version__, constants.__build__))
                dlg.set_copyright("Copyright 2008 - LGPL")
                dlg.set_comments("Dialcentral is a touch screen enhanced interface to your GoogleVoice/Grandcentral account.  This application is not affiliated with Google in any way")
                dlg.set_website("http://gc-dialer.garage.maemo.org/")
index 9988a6c..0a0d993 100755 (executable)
@@ -16,7 +16,7 @@ __description__ = "Touch screen enhanced interface to the GoogleVoice/GrandCentr
 __author__ = "Ed Page"
 __email__ = "eopage@byu.net"
 __version__ = constants.__version__
-__build__ = 0
+__build__ = constants.__build__
 __changelog__ = '''
 1.0.5
 * Contacts Tab remembers the last address book viewed on restart