Use gui_name as window title for configure metadata download dialog

This commit is contained in:
Kovid Goyal 2017-05-12 10:51:18 +05:30
parent 6206f7687d
commit fac8192527
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -349,7 +349,7 @@ def show_config_widget(category, name, gui=None, show_restart_msg=False,
d.resize(750, 550) d.resize(750, 550)
conf_name = 'config_widget_dialog_geometry_%s_%s'%(category, name) conf_name = 'config_widget_dialog_geometry_%s_%s'%(category, name)
geom = gprefs.get(conf_name, None) geom = gprefs.get(conf_name, None)
d.setWindowTitle(_('Configure ') + name) d.setWindowTitle(_('Configure ') + pl.gui_name)
d.setWindowIcon(QIcon(I('config.png'))) d.setWindowIcon(QIcon(I('config.png')))
bb = QDialogButtonBox(d) bb = QDialogButtonBox(d)
bb.setStandardButtons(bb.Apply|bb.Cancel|bb.RestoreDefaults) bb.setStandardButtons(bb.Apply|bb.Cancel|bb.RestoreDefaults)