Package: reportbug-ng Version: 1.11 --- Please enter the report below this line. ---
Hi, currently reportbug-ng looks at the wrong place for supported MUAs when checking a changed MUA setting. Thus any changes to the "Mail Client" setting in the settings dialog are ignored. The attached patch fixes this problem. thanks for your work, Lars --- System information. --- Architecture: i386 Kernel: Linux 2.6.30-2-686 Debian Release: squeeze/sid 990 testing localhost --- Package information. --- Depends (Version) | Installed ================================-+-============ python | 2.5.4-2 python-support (>= 0.90.0) | 1.0.6 python2.5 | 2.5.4-3 python-debianbts (>= 1.0) | 1.3 python-qt4 | 4.6-1 xdg-utils | 1.0.2-6.1 xterm | 251-1 python-apt | 0.7.13.3 Package's Recommends field is empty. Package's Suggests field is empty. -- gpg key: https://systemausfall.org/schluessel/lars-devel.0.asc
diff -ruN reportbug-ng.orig/rngsettingsdialog.py reportbug-ng/rngsettingsdialog.py
--- reportbug-ng.orig/rngsettingsdialog.py 2009-10-25 18:21:49.000000000 +0100
+++ reportbug-ng/rngsettingsdialog.py 2009-12-22 16:17:26.000000000 +0100
@@ -22,7 +22,7 @@
from ui import settings
import rnghelpers as rng
-from rnghelpers import Settings
+from rnghelpers import Settings, getMUAString
class RngSettingsDialog(QtGui.QDialog, settings.Ui_Dialog):
@@ -137,8 +137,8 @@
mua = unicode(self.comboBox_mua.currentText())
# translate back
found = False
- for mua_orig, mua_transl in rng.MUA_STRINGS.iteritems():
- if mua_transl == mua:
+ for mua_orig in rng.MUA_SYNTAX.keys():
+ if getMUAString(mua_orig) == mua:
self.settings.lastmua = mua_orig
found = True
self.logger.debug("Found match for MUA: %s %s" % (mua, mua_orig))
signature.asc
Description: PGP signature

