summaryrefslogtreecommitdiffstats
path: root/src/Gui
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-12-09 14:54:51 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2009-12-09 14:54:51 +0100
commit1ab4f7ab3ca04e0b8ba17eec75cf18345d6b3fbc (patch)
tree902f48322056c0f53a3ef5b965161017c36a1311 /src/Gui
parente7541bf72e56f56c9af45fccbb8f77efe35dcb94 (diff)
downloadabrt-1ab4f7ab3ca04e0b8ba17eec75cf18345d6b3fbc.tar.gz
abrt-1ab4f7ab3ca04e0b8ba17eec75cf18345d6b3fbc.tar.xz
abrt-1ab4f7ab3ca04e0b8ba17eec75cf18345d6b3fbc.zip
fix incorrect wording
This looked wrong: "This crash has been reported, you can find the report(s) at: Kernel oops report was uploaded." Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'src/Gui')
-rw-r--r--src/Gui/CCMainWindow.py4
-rw-r--r--src/Gui/CC_gui_functions.py8
2 files changed, 7 insertions, 5 deletions
diff --git a/src/Gui/CCMainWindow.py b/src/Gui/CCMainWindow.py
index d97b34eb..e429908e 100644
--- a/src/Gui/CCMainWindow.py
+++ b/src/Gui/CCMainWindow.py
@@ -218,7 +218,9 @@ class MainWindow():
dump = dumpsListStore.get_value(dumpsListStore.get_iter(path[0]), dumpsListStore.get_n_columns()-1)
#move this to Dump class
if dump.isReported():
- report_label = _("<b>This crash has been reported, you can find the report(s) at:</b>\n")
+ report_label = _("<b>This crash has been reported:</b>\n")
+ # plugin message follows, but at least in case of kerneloops,
+ # it is not informative (no URL to the report)
for message in dump.getMessage().split('\n'):
if message:
if "http" in message[0:5] or "file:///"[0:8] in message:
diff --git a/src/Gui/CC_gui_functions.py b/src/Gui/CC_gui_functions.py
index ba895c67..dfed2248 100644
--- a/src/Gui/CC_gui_functions.py
+++ b/src/Gui/CC_gui_functions.py
@@ -206,24 +206,24 @@ def get_icon_for_package(theme,package):
return gtk.gdk.pixbuf_new_from_file_at_size(icon_filename,22,22)
else:
return None
-
+
def show_log(log, parent=None):
builder = gtk.Builder()
builderfile = "%s%sdialogs.glade" % (sys.path[0],"/")
builder.add_from_file(builderfile)
dialog = builder.get_object("LogViewer")
tevLog = builder.get_object("tevLog")
-
+
if parent:
dialog.set_position (gtk.WIN_POS_CENTER_ON_PARENT)
dialog.set_transient_for(parent)
else:
dialog.set_position (gtk.WIN_POS_CENTER)
-
+
buff = gtk.TextBuffer()
buff.set_text(log)
tevLog.set_buffer(buff)
-
+
dialog.run()
dialog.destroy()