Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2007-03-14 18:44:58 (GMT)
committer Dan Williams <dcbw@redhat.com>2007-03-14 18:44:58 (GMT)
commitb4e4b3875a5f31e79415dea17edf48744a5e4573 (patch)
tree0f309dfc6e6c8cd661751df159dab6b23d3b954b /shell
parentf2dcadaff56142a6072fa1495a07d478bf7fc927 (diff)
Better removal of intro video chooser
Diffstat (limited to 'shell')
-rw-r--r--shell/intro/intro.py13
1 files changed, 8 insertions, 5 deletions
diff --git a/shell/intro/intro.py b/shell/intro/intro.py
index cdcc2a3..5b45ec2 100644
--- a/shell/intro/intro.py
+++ b/shell/intro/intro.py
@@ -231,10 +231,10 @@ class IntroBox(hippo.CanvasBox, hippo.CanvasItem):
hippo.CanvasBox.__init__(self, **kwargs)
self._pixbuf = None
- self._video_box = VideoBox(xalign=hippo.ALIGNMENT_CENTER,
- yalign=hippo.ALIGNMENT_START,
- padding_bottom=units.grid_to_pixels(0.5))
- self.append(self._video_box)
+ #self._video_box = VideoBox(xalign=hippo.ALIGNMENT_CENTER,
+ # yalign=hippo.ALIGNMENT_START,
+ # padding_bottom=units.grid_to_pixels(0.5))
+ #self.append(self._video_box)
self._entry_box = EntryBox(xalign=hippo.ALIGNMENT_CENTER,
padding_bottom=units.grid_to_pixels(0.5))
@@ -250,7 +250,10 @@ class IntroBox(hippo.CanvasBox, hippo.CanvasItem):
self.append(self._ok)
def _ok_activated(self, item):
- pixbuf = self._video_box.get_pixbuf()
+ #pixbuf = self._video_box.get_pixbuf()
+ path = os.path.join(os.path.dirname(__file__),
+ 'default-picture.png')
+ pixbuf = gtk.gdk.pixbuf_new_from_file(path)
name = self._entry_box.get_text()
color = self._color_box.get_color()