parameters: (dad)
docstring: Application About Dialog
docstring_summary: Application About Dialog
docstring_tokens: Application About Dialog
function: def dialog_about(dad):
      """Application About Dialog"""
      dialog = gtk.AboutDialog()
      dialog.set_program_name("CherryTree")
      dialog.set_version(cons.VERSION)
      dialog.set_copyright("""Copyright © 2009-2020
  Giuseppe Penone <giuspen@gmail.com>
  Evgenii Gurianov <https://github.com/txe>""")
      dialog.set_comments(_("A Hierarchical Note Taking Application, featuring Rich Text and Syntax Highlighting"))
      dialog.set_license(_("""
  This program is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation; either version 3 of the License, or
  (at your option) any later version.
    
  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.
    
  You should have received a copy of the GNU General Public License
  along with this program; if not, write to the Free Software
  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
  MA 02110-1301, USA.
  """))
      dialog.set_website("http://www.giuspen.com/cherrytree/")
      dialog.set_authors(["Giuseppe Penone <giuspen@gmail.com>", "Evgenii Gurianov <https://github.com/txe>"])
      dialog.set_artists(["OCAL <http://www.openclipart.org/>", "Zeltak <zeltak@gmail.com>", "Angelo Penone <angelo.penone@gmail.com>"])
      dialog.set_translator_credits(
  _("Armenian")+" (hy) Seda Stamboltsyan <sedastam@yandex.com>"+cons.CHAR_NEWLINE+
  _("Chinese Simplified")+" (zh_CN) Channing Wong <channing.wong@qq.com>"+cons.CHAR_NEWLINE+
  _("Czech")+" (cs) Pavel Fric <fripohled@blogspot.com>"+cons.CHAR_NEWLINE+
  _("Dutch")+" (nl) Luuk Geurts, Patrick Vijgeboom <pj.vijgeboom@gmail.com>"+cons.CHAR_NEWLINE+
  _("Finnish")+" (fi) Henri Kaustinen <hendrix.ks81@gmail.com>"+cons.CHAR_NEWLINE+
  _("French")+" (fr) Klaus Becker <colonius@free.fr>"+cons.CHAR_NEWLINE+
  _("German")+" (de) Stefan Pöschel <basic.master@gmx.de>"+cons.CHAR_NEWLINE+
  _("Greek")+" (el) Delphina <delphina.2009@yahoo.gr>"+cons.CHAR_NEWLINE+
  _("Italian")+" (it) Vincenzo Reale <smart2128@baslug.org>"+cons.CHAR_NEWLINE+
  _("Japanese")+" (ja) Piyo <py2@live.jp>"+cons.CHAR_NEWLINE+
  _("Lithuanian")+" (lt) Zygis <zygimantus@gmail.com>"+cons.CHAR_NEWLINE+
  _("Polish")+" (pl) Marcin Swierczynski <orneo1212@gmail.com>"+cons.CHAR_NEWLINE+
  _("Portuguese Brazil")+" (pt_BR) Vinicius Schmidt <viniciussm@rocketmail.com>"+cons.CHAR_NEWLINE+
  _("Russian")+" (ru) Andriy Kovtun <kovtunos@yandex.ru>"+cons.CHAR_NEWLINE+
  _("Slovenian")+" (sl) Erik Lovrič <erik.lovric@gmail.com>"+cons.CHAR_NEWLINE+
  _("Spanish")+" (es) Daniel MC <i.e.betel@gmail.com>"+cons.CHAR_NEWLINE+
  _("Swedish")+" (sv) Åke Engelbrektson <eson@svenskasprakfiler.se>"+cons.CHAR_NEWLINE+
  _("Turkish")+" (tr) Ferhat Aydin <ferhataydin44@gmail.com>"+cons.CHAR_NEWLINE+
  _("Ukrainian")+" (uk) Andriy Kovtun <kovtunos@yandex.ru>")
      dialog.set_logo(gtk.gdk.pixbuf_new_from_file(os.path.join(cons.GLADE_PATH, "cherrytree.png")))
      dialog.set_title(_("About CherryTree"))
      dialog.set_transient_for(dad.window)
      dialog.set_position(gtk.WIN_POS_CENTER_ON_PARENT)
      dialog.set_modal(True)
      def f_url_hook(dialog, link, user_data):
          webbrowser.open(link)
      gtk.about_dialog_set_url_hook(f_url_hook, None)
      dialog.run()
      dialog.hide()
function_tokens: def dialog_about ( dad ) : dialog = gtk . AboutDialog ( ) dialog . set_program_name ( "CherryTree" ) dialog . set_version ( cons . VERSION ) dialog . set_copyright ( """Copyright © 2009-2020
  Giuseppe Penone <giuspen@gmail.com>
  Evgenii Gurianov <https://github.com/txe>""" ) dialog . set_comments ( _ ( "A Hierarchical Note Taking Application, featuring Rich Text and Syntax Highlighting" ) ) dialog . set_license ( _ ( """
  This program is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation; either version 3 of the License, or
  (at your option) any later version.
    
  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.
    
  You should have received a copy of the GNU General Public License
  along with this program; if not, write to the Free Software
  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
  MA 02110-1301, USA.
  """ ) ) dialog . set_website ( "http://www.giuspen.com/cherrytree/" ) dialog . set_authors ( [ "Giuseppe Penone <giuspen@gmail.com>" , "Evgenii Gurianov <https://github.com/txe>" ] ) dialog . set_artists ( [ "OCAL <http://www.openclipart.org/>" , "Zeltak <zeltak@gmail.com>" , "Angelo Penone <angelo.penone@gmail.com>" ] ) dialog . set_translator_credits ( _ ( "Armenian" ) + " (hy) Seda Stamboltsyan <sedastam@yandex.com>" + cons . CHAR_NEWLINE + _ ( "Chinese Simplified" ) + " (zh_CN) Channing Wong <channing.wong@qq.com>" + cons . CHAR_NEWLINE + _ ( "Czech" ) + " (cs) Pavel Fric <fripohled@blogspot.com>" + cons . CHAR_NEWLINE + _ ( "Dutch" ) + " (nl) Luuk Geurts, Patrick Vijgeboom <pj.vijgeboom@gmail.com>" + cons . CHAR_NEWLINE + _ ( "Finnish" ) + " (fi) Henri Kaustinen <hendrix.ks81@gmail.com>" + cons . CHAR_NEWLINE + _ ( "French" ) + " (fr) Klaus Becker <colonius@free.fr>" + cons . CHAR_NEWLINE + _ ( "German" ) + " (de) Stefan Pöschel <basic.master@gmx.de>"+ c ons. C HAR_NEWLINE+ _ ( "Greek" ) + " (el) Delphina <delphina.2009@yahoo.gr>" + cons . CHAR_NEWLINE + _ ( "Italian" ) + " (it) Vincenzo Reale <smart2128@baslug.org>" + cons . CHAR_NEWLINE + _ ( "Japanese" ) + " (ja) Piyo <py2@live.jp>" + cons . CHAR_NEWLINE + _ ( "Lithuanian" ) + " (lt) Zygis <zygimantus@gmail.com>" + cons . CHAR_NEWLINE + _ ( "Polish" ) + " (pl) Marcin Swierczynski <orneo1212@gmail.com>" + cons . CHAR_NEWLINE + _ ( "Portuguese Brazil" ) + " (pt_BR) Vinicius Schmidt <viniciussm@rocketmail.com>" + cons . CHAR_NEWLINE + _ ( "Russian" ) + " (ru) Andriy Kovtun <kovtunos@yandex.ru>" + cons . CHAR_NEWLINE + _ ( "Slovenian" ) + " (sl) Erik Lovrič <erik.lovric@gmail.com>"+ c ons. C HAR_NEWLINE+ _ ( "Spanish" ) + " (es) Daniel MC <i.e.betel@gmail.com>" + cons . CHAR_NEWLINE + _ ( "Swedish" ) + " (sv) Åke Engelbrektson <eson@svenskasprakfiler.se>"+ c ons. C HAR_NEWLINE+ _ ( "Turkish" ) + " (tr) Ferhat Aydin <ferhataydin44@gmail.com>" + cons . CHAR_NEWLINE + _ ( "Ukrainian" ) + " (uk) Andriy Kovtun <kovtunos@yandex.ru>" ) dialog . set_logo ( gtk . gdk . pixbuf_new_from_file ( os . path . join ( cons . GLADE_PATH , "cherrytree.png" ) ) ) dialog . set_title ( _ ( "About CherryTree" ) ) dialog . set_transient_for ( dad . window ) dialog . set_position ( gtk . WIN_POS_CENTER_ON_PARENT ) dialog . set_modal ( True ) def f_url_hook ( dialog , link , user_data ) : webbrowser . open ( link ) gtk . about_dialog_set_url_hook ( f_url_hook , None ) dialog . run ( ) dialog . hide ( )