X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2Fquicknote_gtk.py;h=49fb897160b32bb424e9a841bc8b7f4e8a49d8cf;hb=421d659436025fff8c3238e01ab72d550ed11f7b;hp=2f49fa0f3410490f07e7c8c2944c5f3c0cea6414;hpb=e693347a3991ac29fac2ed611b50ae272c1d2a07;p=quicknote diff --git a/src/quicknote_gtk.py b/src/quicknote_gtk.py index 2f49fa0..49fb897 100644 --- a/src/quicknote_gtk.py +++ b/src/quicknote_gtk.py @@ -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_authors(["Christoph Wurstle ", "Ed Page (Blame him for the most recent bugs)"]) + dialog.set_authors(["Christoph Wurstle ", "Ed Page (Blame him for the most recent bugs)"]) 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() + + +if __name__ == "__main__": + logging.basicConfig(level=logging.DEBUG) + run_quicknote()