[Bug 141023] Re: Gutsy: radio buttons in kde-systemsettings' "Disk & Filesystems" module are broken
archdrone
archdrone at seznam.cz
Thu Sep 20 14:33:25 UTC 2007
Evidently the error appears only in internationalised versions of mountconfig (module called by my systemsettings is in Czech and has the error, module called directly from console is in English and works fine).
original:
def slotUUIDCheckboxClicked(self):
if self.uuidlineedit.text() == "":
label = microhal.getUUIDByDevice(str(self.devicelineedit.text()))
self.uuidlineedit.setText(label)
self.devicecheckbox.setChecked(False)
self.devicelineedit.setEnabled(False)
self.labelcheckbox.setChecked(False)
self.labellineedit.setEnabled(False)
self.uuidlineedit.setEnabled(True)
dirty workaround (set the states of text/checkboxes before the crash
could occur) :
def slotUUIDCheckboxClicked(self):
self.devicecheckbox.setChecked(False)
self.devicelineedit.setEnabled(False)
self.labelcheckbox.setChecked(False)
self.labellineedit.setEnabled(False)
self.uuidlineedit.setEnabled(True)
if self.uuidlineedit.text() == "":
label = microhal.getUUIDByDevice(str(self.devicelineedit.text()))
self.uuidlineedit.setText(label)
and likewise for the label slot
Works OK on my machine.
** Attachment added: "Diff file of my workaround"
http://launchpadlibrarian.net/9413291/patch.diff
--
Gutsy: radio buttons in kde-systemsettings' "Disk & Filesystems" module are broken
https://bugs.launchpad.net/bugs/141023
You received this bug notification because you are a member of Kubuntu
Team, which is a bug contact for kde-systemsettings in ubuntu.
More information about the kubuntu-bugs
mailing list