~googol-deactivatedaccount/openlp/bug-1296104-2.0

« back to all changes in this revision

Viewing changes to openlp/plugins/bibles/forms/languagedialog.py

  • Committer: Tim Bentley
  • Author(s): Raoul Snyman
  • Date: 2014-01-19 08:10:39 UTC
  • mfrom: (2186.1.4 bug-1157938-2.0)
  • Revision ID: tim.bentley@gmail.com-20140119081039-cx7dsu8lo2sm47w8
Try to fix bug #1157938 by changing all the png icons to svg
Change the copyright year

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
###############################################################################
5
5
# OpenLP - Open Source Lyrics Projection                                      #
6
6
# --------------------------------------------------------------------------- #
7
 
# Copyright (c) 2008-2013 Raoul Snyman                                        #
8
 
# Portions copyright (c) 2008-2013 Tim Bentley, Gerald Britton, Jonathan      #
 
7
# Copyright (c) 2008-2014 Raoul Snyman                                        #
 
8
# Portions copyright (c) 2008-2014 Tim Bentley, Gerald Britton, Jonathan      #
9
9
# Corwin, Samuel Findlay, Michael Gorven, Scott Guerrieri, Matthias Hub,      #
10
10
# Meinert Jordan, Armin Köhler, Erik Lundin, Edwin Lunando, Brian T. Meyer.   #
11
11
# Joshua Miller, Stevan Pettit, Andreas Preikschat, Mattias Põldaru,          #
29
29
 
30
30
from PyQt4 import QtGui
31
31
 
32
 
from openlp.core.lib import translate
 
32
from openlp.core.lib import translate, build_icon
33
33
from openlp.core.lib.ui import create_button_box
34
34
 
 
35
 
35
36
class Ui_LanguageDialog(object):
36
37
    def setupUi(self, languageDialog):
37
38
        languageDialog.setObjectName(u'languageDialog')
38
39
        languageDialog.resize(400, 165)
 
40
        languageDialog.setWindowIcon(build_icon(u':/icon/openlp-logo.svg'))
39
41
        self.languageLayout = QtGui.QVBoxLayout(languageDialog)
40
42
        self.languageLayout.setSpacing(8)
41
43
        self.languageLayout.setMargin(8)