Package: reportbug-ng
Version: 0.2007.03.19
Severity: wishlist
Tags: patch

--- Please enter the report below this line. ---

The attached patch enables using mutt for reporting bugs
(this mail is in fact created with reportbug-ng and mutt :-))

The patch against the version in svn.

Cheers,
gregor

-- 
 .''`.   http://info.comodo.priv.at/ | gpg key ID: 0x00F3CFE4
 : :' :  debian: the universal operating system - http://www.debian.org/
 `. `'   member of https://www.vibe.at/ | how to reply: http://got.to/quote/
   `-    NP: Metloaf: I'd Do Anything For Love
Index: debian/changelog
===================================================================
--- debian/changelog	(revision 30)
+++ debian/changelog	(working copy)
@@ -1,3 +1,9 @@
+reportbug-ng (0.2007.03.19.1) unstable; urgency=low
+
+  * Enable mutt by calling it with x-terminal-emulator.
+
+ -- gregor herrmann <[EMAIL PROTECTED]>  Mon, 19 Mar 2007 17:02:25 +0100
+
 reportbug-ng (0.2007.03.19) unstable; urgency=low
 
   * Added getSourceName, but don't use it for now since bugreports for source 
Index: src/ui/MyMainWindow.py
===================================================================
--- src/ui/MyMainWindow.py	(revision 30)
+++ src/ui/MyMainWindow.py	(working copy)
@@ -150,6 +150,8 @@
         if dialog.exec_loop() == dialog.Accepted:
             subject = unicode(dialog.lineEditSummary.text())
             mua = dialog.comboBoxMUA.currentText().lower()
+            if mua == 'mutt':
+              mua = 'x-terminal-emulator -e mutt'
             package = dialog.lineEditPackage.text()
             version = dialog.lineEditVersion.text()
             to = "[EMAIL PROTECTED]" % self.currentBug.nr
@@ -179,6 +181,8 @@
                 tags.append("security")
             
             mua = dialog.comboBoxMUA.currentText().lower()
+            if mua == 'mutt':
+              mua = 'x-terminal-emulator -e mutt'
             package = dialog.lineEditPackage.text()
             version = dialog.lineEditVersion.text()
             to = "[EMAIL PROTECTED]"

Attachment: signature.asc
Description: Digital signature

Reply via email to