def __init__(self):
super(Application, self).__init__(
application_id='org.gtimelog',
flags=Gio.ApplicationFlags.HANDLES_COMMAND_LINE,
)
GLib.set_application_name(_("Time Log"))
GLib.set_prgname('gtimelog')
self.add_main_option_entries([
make_option("--version", description=_("Show version number and exit")),
make_option("--debug", description=_("Show debug information on the console")),
])
评论列表
文章目录