summaryrefslogtreecommitdiffstats
path: root/src/Gui
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-05-27 15:34:22 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2010-05-27 15:34:22 +0200
commit88c4e60310fe49b5c0652be853f10c258fcf41c6 (patch)
treebe9e42622d14a4f7cd811de220a76e755ea8ef5d /src/Gui
parent7d18f716923f7bccf17267a8193dba6e5b00c6f7 (diff)
parent67f1ae4ce3e64a8b1a192c818179e711a91a2b15 (diff)
downloadabrt-88c4e60310fe49b5c0652be853f10c258fcf41c6.tar.gz
abrt-88c4e60310fe49b5c0652be853f10c258fcf41c6.tar.xz
abrt-88c4e60310fe49b5c0652be853f10c258fcf41c6.zip
Merge branch 'master' of ssh://vda@git.fedorahosted.org/git/abrt
Diffstat (limited to 'src/Gui')
-rw-r--r--src/Gui/CReporterAssistant.py9
-rw-r--r--src/Gui/settings.glade2
2 files changed, 7 insertions, 4 deletions
diff --git a/src/Gui/CReporterAssistant.py b/src/Gui/CReporterAssistant.py
index e036dd73..4c820185 100644
--- a/src/Gui/CReporterAssistant.py
+++ b/src/Gui/CReporterAssistant.py
@@ -74,15 +74,18 @@ class ReporterAssistant():
viewer.set_default_size(600,500)
viewer.set_position(gtk.WIN_POS_CENTER_ON_PARENT)
viewer.set_transient_for(self.assistant)
- hbox = gtk.HBox()
- viewer.add(hbox)
+ vbox = gtk.VBox()
+ viewer.add(vbox)
bt_tev = gtk.TextView()
backtrace_scroll_w = gtk.ScrolledWindow()
backtrace_scroll_w.add(bt_tev)
backtrace_scroll_w.set_policy(gtk.POLICY_AUTOMATIC,
gtk.POLICY_AUTOMATIC)
bt_tev.set_buffer(self.backtrace_buff)
- hbox.pack_start(backtrace_scroll_w)
+ vbox.pack_start(backtrace_scroll_w)
+ b_close = gtk.Button(stock=gtk.STOCK_CLOSE)
+ b_close.connect("clicked",lambda *w: viewer.destroy())
+ vbox.pack_start(b_close, False)
viewer.show_all()
def on_report_done_cb(self, daemon, result):
diff --git a/src/Gui/settings.glade b/src/Gui/settings.glade
index 41a07499..637f5cc5 100644
--- a/src/Gui/settings.glade
+++ b/src/Gui/settings.glade
@@ -218,7 +218,7 @@
<property name="layout_style">end</property>
<child>
<object class="GtkButton" id="bConfigurePlugin">
- <property name="label" translatable="yes">C_onfigure plugin</property>
+ <property name="label" translatable="yes">C_onfigure Plugin</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>