__pretty_app_name__ = "Quicknote"
__app_name__ = "quicknote"
__version__ = "0.7.8"
__pretty_app_name__ = "Quicknote"
__app_name__ = "quicknote"
__version__ = "0.7.8"
_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_
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()
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()