[pitivi] GladeWindow: sett named widgets as attributes
- From: Edward Hervey <edwardrv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] GladeWindow: sett named widgets as attributes
- Date: Fri, 10 Dec 2010 17:52:07 +0000 (UTC)
commit 5d80c8c7a5a3c85f51f99b77ab6755476f3dabde
Author: Brandon Lewis <brandon_lewis alum berkeley edu>
Date: Fri Nov 19 19:21:37 2010 +0000
GladeWindow: sett named widgets as attributes
pitivi/ui/glade.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/pitivi/ui/glade.py b/pitivi/ui/glade.py
index 644fdfe..9e78238 100644
--- a/pitivi/ui/glade.py
+++ b/pitivi/ui/glade.py
@@ -171,6 +171,7 @@ class GladeWindow(object):
raise AssertionError("Two objects with same name (%s): %r %r"
% (wname, self.widgets[wname], widget))
self.widgets[wname] = widget
+ setattr(self, wname, widget)
if parent:
self.window.set_transient_for(parent)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]