[pitivi] dynamic.py: make gtk.ChoiceWidget inherit from a gtk.HBox instead of VBox
- From: Edward Hervey <edwardrv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] dynamic.py: make gtk.ChoiceWidget inherit from a gtk.HBox instead of VBox
- Date: Tue, 17 Aug 2010 07:07:22 +0000 (UTC)
commit 9c7eaeecb303cddb547213034d8704de88c9939f
Author: Brandon Lewis <brandon_lewis alum berkeley edu>
Date: Fri Mar 26 18:53:41 2010 -0700
dynamic.py: make gtk.ChoiceWidget inherit from a gtk.HBox instead of VBox
pitivi/ui/dynamic.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/pitivi/ui/dynamic.py b/pitivi/ui/dynamic.py
index 8c09020..73621d2 100644
--- a/pitivi/ui/dynamic.py
+++ b/pitivi/ui/dynamic.py
@@ -259,14 +259,14 @@ class ToggleWidget(gtk.CheckButton):
def getWidgetValue(self):
return self.get_active()
-class ChoiceWidget(gtk.VBox):
+class ChoiceWidget(gtk.HBox):
"""Abstractly, represents a choice between a list of named values. The
association between value names and values is arbitrary. The current
implementation uses a gtk.ComboBox."""
def __init__(self, choices):
- gtk.VBox.__init__(self)
+ gtk.HBox.__init__(self)
self.choices = [choice[0] for choice in choices]
self.values = [choice[1] for choice in choices]
self.contents = gtk.combo_box_new_text()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]