Browse the code

 

Differences between 210 and 211 on /.
Number of edited files: 1 (0 added, 0 deleted and 1 modified)
Revision 211

About 1 month and 9 days ago.

* Updated the way AboutDialog is shown (seems to fix #3074)
Added file(s) Deleted file(s) Modified file(s)

 

Old New Code
120
120
            dialog.set_transient_for(self.main_window)
121
121

                                        
122
122
            dialog.set_artists(['Thomas Julien <terr1enrun@gmail.com>'])
123
 
            dialog.set_authors(['Erwan Briand <erwan@codingteam.net>',
124
 
                                'Vincent Berset <msieurhappy@gmail.com>',
125
 
                                'Thibaut Girka <thibaut.girka@gmail.com>',
126
 
                                'Ľubomír Remák <lubomirr88@gmail.com>',
127
 
                                'Anaël Verrier <elghinn@free.fr>'])
128
 
            dialog.set_translator_credits(
129
 
                            'Bruno Conde <blconde@gmail.com>\n' +
130
 
                            'Niklas Grahn <terra.unknown@yahoo.com>\n' +
131
 
                            'Ľubomír Remák <lubomirr88@gmail.com>\n' +
132
 
                            'Salvatore Tomarchio <tommyx_x@yahoo.it>\n' +
133
 
                            'Shang Yuanchun <05281253@bjtu.edu.cn>'
134
 
                        )
 
123
            dialog.set_authors(['Erwan Briand <erwan@codingteam.net>'])
 
124
            dialog.set_translator_credits()
135
125

                                        
136
 
            dialog.set_copyright('Copyright © 2007-2016 Erwan Briand ' +
 
126
            dialog.set_copyright('Copyright © 2007-2017 Erwan Briand ' +
137
127
                                 '<erwan@codingteam.net>')
138
128

                                        
139
129
            dialog.set_comments(_('Ergonomic and modern music player ' +
140
130
                                  'designed for audiophiles.'))
141
131

                                        
142
 
            dialog.set_license('GNU General Public License (v3)')
143
132
            dialog.set_license_type(10)
144
133

                                        
145
134
            dialog.set_program_name('Bluemindo')
150
139
                          'image', 'logo_head_big.png'), 60, 60, True)
151
140
            dialog.set_logo(pxbf)
152
141

                                        
153
 
            dialog.show_all()
 
142
            def on_response(self, response, dialog):
 
143
                dialog.destroy()
 
144
            dialog.connect('response', on_response, dialog)
154
145

                                        
 
146
            dialog.run()
 
147

                                    
155
148
        about_button.connect('clicked', show_dialog)
156
149

                                        
157
150
        # Start main handler
158
151