summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-02-09 14:49:12 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2010-02-09 14:49:12 +0100
commit2b6d0fc5c8e4472bc88db4075d2e63b4f01fbbe5 (patch)
treeb69490e8c79b14f1814a1e7252e3904817c0da03 /src
parenta16304475bc3443ef166045b52dbdae9c3f52641 (diff)
parentea11e91fd0ddfa51568e9d52e7ce0dc19971c745 (diff)
Merge branch 'master' into rhel6
Diffstat (limited to 'src')
-rw-r--r--src/Gui/CCMainWindow.py2
-rw-r--r--src/Gui/CCReporterDialog.py10
2 files changed, 6 insertions, 6 deletions
diff --git a/src/Gui/CCMainWindow.py b/src/Gui/CCMainWindow.py
index 0d9b0a2..7967028 100644
--- a/src/Gui/CCMainWindow.py
+++ b/src/Gui/CCMainWindow.py
@@ -234,7 +234,7 @@ class MainWindow():
for message in dump.getMessage().split(';'):
if message:
message_clean = message.strip()
- if "http" in message_clean[0:5] or "file:///"[0:8] in message_clean:
+ if "http" in message_clean[0:5] or "file:///" in message_clean[0:8]:
report_message = "<a href=\"%s\">%s</a>" % (message_clean, message_clean)
else:
report_message = message_clean
diff --git a/src/Gui/CCReporterDialog.py b/src/Gui/CCReporterDialog.py
index 816164b..bc4a1e0 100644
--- a/src/Gui/CCReporterDialog.py
+++ b/src/Gui/CCReporterDialog.py
@@ -290,11 +290,11 @@ class ReporterDialog():
self.tevHowToReproduce.set_buffer(buff)
def dehydrate(self):
- # handle attachments
- vbAttachments = self.builder.get_object("vbAttachments")
- for attachment in vbAttachments.get_children():
- #print "%s file %s" % (["not sending","sending"][attachment.get_active()], attachment.get_label())
- del self.report[attachment.item]
+ ## # handle attachments
+ ## vbAttachments = self.builder.get_object("vbAttachments")
+ ## for attachment in vbAttachments.get_children():
+ ## #print "%s file %s" % (["not sending","sending"][attachment.get_active()], attachment.get_label())
+ ## del self.report[attachment.item]
# handle comment
buff = self.tvComment.get_buffer()