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