EMail fix, app title, version bump
authorepage <eopage@byu.net>
Fri, 20 Nov 2009 02:12:07 +0000 (02:12 +0000)
committerepage <eopage@byu.net>
Fri, 20 Nov 2009 02:12:07 +0000 (02:12 +0000)
git-svn-id: file:///svnroot/quicknote/trunk@78 bb7704e3-badb-4cfa-9ab3-9374dc87eaa2

src/constants.py
src/quicknote.py
src/quicknote_gtk.py

index cdd5ea7..9a49b82 100644 (file)
@@ -3,7 +3,7 @@ import os
 __pretty_app_name__ = "Quicknote"
 __app_name__ = "quicknote"
 __version__ = "0.7.8"
 __pretty_app_name__ = "Quicknote"
 __app_name__ = "quicknote"
 __version__ = "0.7.8"
-__build__ = 6
+__build__ = 7
 _data_path_ = os.path.join(os.path.expanduser("~"), ".quicknote")
 __app_magic__ = 0xdeadbeef
 _user_logpath_ = "%s/quicknote.log" % _data_path_
 _data_path_ = os.path.join(os.path.expanduser("~"), ".quicknote")
 __app_magic__ = 0xdeadbeef
 _user_logpath_ = "%s/quicknote.log" % _data_path_
index b4e25c7..2bc9412 100755 (executable)
@@ -32,5 +32,4 @@ if __name__ == "__main__":
        logging.basicConfig(level=logging.DEBUG, filename=constants._user_logpath_)
        _moduleLogger.info("quicknote %s-%s" % (constants.__version__, constants.__build__))
 
        logging.basicConfig(level=logging.DEBUG, filename=constants._user_logpath_)
        _moduleLogger.info("quicknote %s-%s" % (constants.__version__, constants.__build__))
 
-       app = quicknote_gtk.QuicknoteProgram()
-       app.main()
+       quicknote_gtk.run_quicknote()
index 2f49fa0..49fb897 100644 (file)
@@ -444,12 +444,18 @@ class QuicknoteProgram(hildonize.get_app_class()):
                dialog.set_website("http://axique.de/index.php?f=Quicknote")
                comments = _("%s is a note taking program; it is optimised for quick save and search of notes") % constants.__pretty_app_name__
                dialog.set_comments(comments)
                dialog.set_website("http://axique.de/index.php?f=Quicknote")
                comments = _("%s is a note taking program; it is optimised for quick save and search of notes") % constants.__pretty_app_name__
                dialog.set_comments(comments)
-               dialog.set_authors(["Christoph Wurstle <n800@axique.net>", "Ed Page <edpage@byu.net> (Blame him for the most recent bugs)"])
+               dialog.set_authors(["Christoph Wurstle <n800@axique.net>", "Ed Page <eopage@byu.net> (Blame him for the most recent bugs)"])
                dialog.run()
                dialog.destroy()
 
 
                dialog.run()
                dialog.destroy()
 
 
-if __name__ == "__main__":
-       logging.basicConfig(level=logging.DEBUG)
+def run_quicknote():
+       if hildonize.IS_HILDON_SUPPORTED:
+               gtk.set_application_name(constants.__pretty_app_name__)
        app = QuicknoteProgram()
        app.main()
        app = QuicknoteProgram()
        app.main()
+
+
+if __name__ == "__main__":
+       logging.basicConfig(level=logging.DEBUG)
+       run_quicknote()