summaryrefslogtreecommitdiffstats
path: root/src/Gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/Gui')
-rw-r--r--src/Gui/CCReporterDialog.py3
-rw-r--r--src/Gui/CC_gui_functions.py2
2 files changed, 2 insertions, 3 deletions
diff --git a/src/Gui/CCReporterDialog.py b/src/Gui/CCReporterDialog.py
index 9bc5ff59..ea4b046a 100644
--- a/src/Gui/CCReporterDialog.py
+++ b/src/Gui/CCReporterDialog.py
@@ -21,7 +21,6 @@ CD_CONTENT = 2
CD_SYS = "s"
CD_BIN = "b"
CD_TXT = "t"
-CD_ATT = "a"
# response
REFRESH = -50
@@ -256,7 +255,7 @@ class ReporterDialog():
self.editable.append(item)
self.row_dict[item] = self.reportListStore.append([item, self.report[item][CD_CONTENT],
item in self.editable, True,
- self.report[item][CD_TYPE] in [CD_ATT,CD_BIN]])
+ self.report[item][CD_TYPE] == CD_BIN])
def dehydrate(self):
attributes = ["item", "content", "editable", "send", "attachment"]
diff --git a/src/Gui/CC_gui_functions.py b/src/Gui/CC_gui_functions.py
index 0379f205..a9c47faf 100644
--- a/src/Gui/CC_gui_functions.py
+++ b/src/Gui/CC_gui_functions.py
@@ -234,5 +234,5 @@ def show_log(log, parent=None):
if __name__ == "__main__":
window = gtk.Window()
- gui_report_dialog("<b>Bugzilla</b>: <span foreground='red'>CReporterBugzilla::Report(): CReporterBugzilla::Login(): RPC response indicates failure. The username or password you entered is not valid.</span>\n<b>Logger</b>: Report was stored into: /var/log/abrt-logger", window)
+ gui_report_dialog("<b>Bugzilla</b>: <span foreground='red'>CReporterBugzilla::Report(): CReporterBugzilla::Login(): RPC response indicates failure. The username or password you entered is not valid.</span>\n<b>Logger</b>: Report was stored into: /var/log/abrt.log", window)
gtk.main()