forked from openlp/openlp
Correct Theme name for Export if default
This commit is contained in:
parent
f53a6fddeb
commit
56930f1e65
@ -90,7 +90,7 @@ class ThemeManager(QtGui.QWidget):
|
||||
self.onDeleteTheme))
|
||||
self.ThemeListWidget.addAction(contextMenuAction(self.ThemeListWidget,
|
||||
u':/themes/theme_export.png',
|
||||
translate(u'ThemeManager', u'Make Global Theme'),
|
||||
translate(u'ThemeManager', u'Make Global'),
|
||||
self.changeGlobalFromScreen))
|
||||
self.ThemeListWidget.addAction(contextMenuAction(self.ThemeListWidget,
|
||||
u':/themes/theme_export.png',
|
||||
@ -207,7 +207,7 @@ class ThemeManager(QtGui.QWidget):
|
||||
u'You have not selected a theme!'),
|
||||
QtGui.QMessageBox.StandardButtons(QtGui.QMessageBox.Ok))
|
||||
return
|
||||
theme = unicode(item.text())
|
||||
theme = unicode(item.data(QtCore.Qt.UserRole).toString())
|
||||
path = QtGui.QFileDialog.getExistingDirectory(self,
|
||||
u'Save Theme - (%s)' % theme,
|
||||
self.config.get_last_dir(1) )
|
||||
|
@ -45,7 +45,7 @@ class LatestVersion(object):
|
||||
if lastTest != thisTest:
|
||||
print "Now check"
|
||||
version_string = u''
|
||||
req = urllib2.Request(u'http://www.openlp.oeg/files/version.txt')
|
||||
req = urllib2.Request(u'http://www.openlp.org/files/version.txt')
|
||||
req.add_header(u'User-Agent', u'Mozilla/4.0 (compatible; MSIE 5.5; Windows NT)')
|
||||
try:
|
||||
handle = urllib2.urlopen(req, None, 1)
|
||||
|
Loading…
Reference in New Issue
Block a user