Package flumotion :: Package admin :: Package gtk :: Module about
[hide private]

Source Code for Module flumotion.admin.gtk.about

  1  # -*- Mode: Python; test-case-name: flumotion.test.test_dialogs -*- 
  2  # -*- coding: UTF-8 -*- 
  3  # vi:si:et:sw=4:sts=4:ts=4 
  4  # 
  5  # Flumotion - a streaming media server 
  6  # Copyright (C) 2004,2005,2006,2007,2008 Fluendo, S.L. (www.fluendo.com). 
  7  # All rights reserved. 
  8   
  9  # This file may be distributed and/or modified under the terms of 
 10  # the GNU General Public License version 2 as published by 
 11  # the Free Software Foundation. 
 12  # This file is distributed without any warranty; without even the implied 
 13  # warranty of merchantability or fitness for a particular purpose. 
 14  # See "LICENSE.GPL" in the source distribution for more information. 
 15   
 16  # Licensees having purchased or holding a valid Flumotion Advanced 
 17  # Streaming Server license may use this file in accordance with the 
 18  # Flumotion Advanced Streaming Server Commercial License Agreement. 
 19  # See "LICENSE.Flumotion" in the source distribution for more information. 
 20   
 21  # Headers in this file shall remain intact. 
 22   
 23  """new about dialog""" 
 24   
 25  import gettext 
 26  import os 
 27   
 28  import gtk 
 29   
 30  from flumotion.configure import configure 
 31   
 32  __version__ = "$Rev: 8811 $" 
 33  _ = gettext.gettext 
 34   
 35   
36 -class GtkAboutDialog(gtk.AboutDialog):
37
38 - def __init__(self, parent=None):
39 gtk.AboutDialog.__init__(self) 40 41 self.set_name('Flumotion') 42 self.set_website("http://www.flumotion.net") 43 44 authors = [ 45 'Johan Dahlin', 46 'Alvin Delagon', 47 'David Gay i Tello', 48 'Pedro Gracia Fajardo', 49 'Aitor Guevara Escalante', 50 'Arek Korbik', 51 'Marek Kowalski', 52 'Julien Le Goff', 53 'Marc-André Lureau', 54 'Xavier Martinez', 55 'Jordi Massaguer Pla', 56 'Andoni Morales Alastruey', 57 'Zaheer Abbas Merali', 58 'Sébastien Merle', 59 'Thodoris Paschidis', 60 'Xavier Queralt Mateu', 61 'Guillaume Quintard', 62 'Josep Joan "Pepe" Ribas', 63 'Mike Smith', 64 'Guillem Solà', 65 'Wim Taymans', 66 'Jan Urbański', 67 'Thomas Vander Stichele', 68 'Andy Wingo', 69 ] 70 71 self.set_authors(authors) 72 73 image = gtk.Image() 74 image.set_from_file(os.path.join(configure.imagedir, 'flumotion.png')) 75 76 self.set_logo(image.get_pixbuf()) 77 self.set_version(configure.version) 78 79 comments = _('Flumotion is a streaming media server.\n\n' 80 '© 2004-2010 Fluendo S.L. (www.fluendo.com)') 81 self.set_comments(comments) 82 83 license = _('Flumotion - a streaming media server\n' 84 'Copyright (C) 2004-2010 Fluendo, S.L. ' 85 '(www.fluendo.com).\n' 86 'All rights reserved.\n\n' 87 'This software is available under two license ' 88 'agreements:\n\n' 89 'The first license agreement is the GPL version 2.\n' 90 'See "LICENSE.GPL" in the root of this distribution.\n\n' 91 'The second license is the Flumotion Advanced Commercial ' 92 'License Agreement.\n' 93 'This license agreement is available to licensees holding ' 94 'valid Flumotion Advanced licenses.\n' 95 'See "LICENSE.Flumotion" in the root of this ' 96 'distribution.') 97 self.set_license(license) 98 self.set_wrap_license(True)
99