openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #06824
[Merge] lp:~raoul-snyman/openlp/language-menu into lp:openlp
Raoul Snyman has proposed merging lp:~raoul-snyman/openlp/language-menu into lp:openlp.
Requested reviews:
OpenLP Core (openlp-core)
For more details, see:
https://code.launchpad.net/~raoul-snyman/openlp/language-menu/+merge/52711
Change the "autodetect" item into a radio button and stop disabling the language items. This is a more sane and less irritating approach to selecting a language.
--
https://code.launchpad.net/~raoul-snyman/openlp/language-menu/+merge/52711
Your team OpenLP Core is requested to review the proposed merge of lp:~raoul-snyman/openlp/language-menu into lp:openlp.
=== modified file 'openlp/core/ui/mainwindow.py'
--- openlp/core/ui/mainwindow.py 2011-03-06 19:25:35 +0000
+++ openlp/core/ui/mainwindow.py 2011-03-09 16:22:01 +0000
@@ -228,11 +228,12 @@
# i18n Language Items
self.AutoLanguageItem = checkable_action(mainWindow,
u'AutoLanguageItem', LanguageManager.auto_language)
- mainWindow.actionList.add_action(self.AutoLanguageItem, u'Settings')
+ #mainWindow.actionList.add_action(self.AutoLanguageItem, u'Settings')
self.LanguageGroup = QtGui.QActionGroup(mainWindow)
self.LanguageGroup.setExclusive(True)
self.LanguageGroup.setObjectName(u'LanguageGroup')
- self.LanguageGroup.setDisabled(LanguageManager.auto_language)
+ #self.LanguageGroup.setDisabled(LanguageManager.auto_language)
+ add_actions(self.LanguageGroup, [self.AutoLanguageItem])
qmList = LanguageManager.get_qm_list()
savedLanguage = LanguageManager.get_language()
for key in sorted(qmList.keys()):
Follow ups