diff options
author | Andrei Dinu <andrei.adrianx.dinu@intel.com> | 2013-05-29 11:42:22 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-05-31 08:25:40 +0100 |
commit | ea281d3b8e5f2ae21b37ea2ad4d440bf9c6427ff (patch) | |
tree | 6e7f84f28dc02870add757b30061cb81c0dd9646 | |
parent | b5255bb34d17017e38d264e4360b1b560b1fa5d2 (diff) | |
download | poky-ea281d3b8e5f2ae21b37ea2ad4d440bf9c6427ff.tar.gz |
bitbake: Added distroy signal to information dialogs
Added distroy signal to information dialogs
so that when pressing the close button,
the dialog would close.
[HOB #4568]
(Bitbake rev: 265e27857d1d8914486b924d3390bfbe88f4e39b)
Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | bitbake/lib/bb/ui/crumbs/hig/propertydialog.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hig/propertydialog.py b/bitbake/lib/bb/ui/crumbs/hig/propertydialog.py index 1e7f5c95d5..5bd9f956b4 100644 --- a/bitbake/lib/bb/ui/crumbs/hig/propertydialog.py +++ b/bitbake/lib/bb/ui/crumbs/hig/propertydialog.py | |||
@@ -87,6 +87,7 @@ class PropertyDialog(CrumbsDialog): | |||
87 | self.table.attach(self.info_label, 0,1,1,2, xoptions=gtk.FILL|gtk.EXPAND, yoptions=gtk.FILL,xpadding=40,ypadding=10) | 87 | self.table.attach(self.info_label, 0,1,1,2, xoptions=gtk.FILL|gtk.EXPAND, yoptions=gtk.FILL,xpadding=40,ypadding=10) |
88 | 88 | ||
89 | self.vbox.add(self.table) | 89 | self.vbox.add(self.table) |
90 | self.connect('delete-event', lambda w, e: self.destroy() or True) | ||
90 | 91 | ||
91 | def treeViewTooltip( self, widget, e, tooltips, cell, emptyText="" ): | 92 | def treeViewTooltip( self, widget, e, tooltips, cell, emptyText="" ): |
92 | try: | 93 | try: |