[Reportbug-commits] [SCM] Reportbug - reports bugs in the Debian distribution branch, master, updated. 4.0-22-ge53e415
Luca Bruno
lethalman88 at gmail.com
Wed Mar 25 22:56:47 UTC 2009
The following commit has been merged in the master branch:
commit b12b059249a64394f537faf627d514d2d2f9ea01
Author: Luca Bruno <lethalman88 at gmail.com>
Date: Wed Mar 25 10:06:11 2009 +0100
Shrink boxing of expanders. Fix display_failure handling
diff --git a/reportbug/ui/gtk2_ui.py b/reportbug/ui/gtk2_ui.py
index 388c76b..3528f00 100644
--- a/reportbug/ui/gtk2_ui.py
+++ b/reportbug/ui/gtk2_ui.py
@@ -157,7 +157,7 @@ class ExceptionDialog (CustomDialog):
def setup_dialog (self, vbox, tb):
# The traceback
expander = gtk.Expander ("More details")
- vbox.pack_start (expander)
+ vbox.pack_start (expander, False)
view = gtk.TextView ()
view.set_editable (False)
@@ -997,7 +997,7 @@ class EditorPage (Page):
self.others_buffer = view.get_buffer ()
scrolled = create_scrollable (view)
expander.add (scrolled)
- vbox.pack_start (expander)
+ vbox.pack_start (expander, False)
return vbox
def switch_out (self):
@@ -1238,8 +1238,8 @@ class DisplayFailureDialog (ReportbugConnector, gtk.MessageDialog):
self.application.put_next_value ()
self.destroy ()
- def execute_operation (self, msg):
- self.set_markup (msg)
+ def execute_operation (self, msg, *args):
+ self.set_markup (msg % args)
self.show_all ()
class GetFilenameDialog (ReportbugConnector, gtk.FileChooserDialog):
--
Reportbug - reports bugs in the Debian distribution
More information about the Reportbug-commits
mailing list