[Reportbug-commits] [SCM] Reportbug - reports bugs in the Debian distribution branch, master, updated. 4.8-22-gac12227
Luca Bruno
lethalman88 at gmail.com
Thu Nov 26 21:19:12 UTC 2009
The following commit has been merged in the master branch:
commit b35a313949b2d5f99bf772a6d416d46d966b28d2
Author: Luca Bruno <lethalman88 at gmail.com>
Date: Sun Nov 22 10:17:14 2009 +0100
more clean handling of response in error/info dialogs; thanks to
Julian Andres Klode; Closes: #527259
diff --git a/debian/changelog b/debian/changelog
index 4a3779b..ad9020e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,6 @@
reportbug (4.8+WIP) UNRELEASED; urgency=low
+ [ Sandro Tosi ]
* debian/rules
- check if versions are in sync only when releasing (allowing for easier
development)
@@ -42,7 +43,12 @@ reportbug (4.8+WIP) UNRELEASED; urgency=low
the people requesting it (too many to list) and Carl Chenet for the patch;
Closes: #214103, #223335, #232829, #244763, #363156, #433323, #517989
- -- Sandro Tosi <morph at debian.org> Sat, 21 Nov 2009 23:20:19 +0100
+ [ Luca Bruno ]
+ * reportbug/ui/gtk2_ui.py
+ - more clean handling of response in error/info dialogs; thanks to
+ Julian Andres Klode; Closes: #527259
+
+ -- Luca Bruno <lethalman88 at gmail.com> Sun, 22 Nov 2009 10:13:24 +0100
reportbug (4.8) unstable; urgency=low
diff --git a/reportbug/ui/gtk2_ui.py b/reportbug/ui/gtk2_ui.py
index 24be306..532ddbb 100644
--- a/reportbug/ui/gtk2_ui.py
+++ b/reportbug/ui/gtk2_ui.py
@@ -81,14 +81,14 @@ def create_scrollable (widget):
def info_dialog (message):
dialog = gtk.MessageDialog (assistant, gtk.DIALOG_MODAL | gtk.DIALOG_DESTROY_WITH_PARENT,
gtk.MESSAGE_INFO, gtk.BUTTONS_CLOSE, message)
- dialog.connect ('response', lambda *args: dialog.destroy ())
+ dialog.connect ('response', lambda d, *args: d.destroy ())
dialog.set_title ('Reportbug')
dialog.show_all ()
def error_dialog (message):
dialog = gtk.MessageDialog (assistant, gtk.DIALOG_MODAL | gtk.DIALOG_DESTROY_WITH_PARENT,
gtk.MESSAGE_ERROR, gtk.BUTTONS_CLOSE, message)
- dialog.connect ('response', lambda *args: dialog.destroy ())
+ dialog.connect ('response', lambda d, *args: d.destroy ())
dialog.set_title ('Reportbug')
dialog.show_all ()
--
Reportbug - reports bugs in the Debian distribution
More information about the Reportbug-commits
mailing list