~glitter-team/glitter/trunk

« back to all changes in this revision

Viewing changes to glitter/tests/video_player.py

  • Committer: Jan Jokela
  • Date: 2009-03-12 15:21:30 UTC
  • mto: This revision was merged to the branch mainline in revision 16.
  • Revision ID: janjokela@gmail.com-20090312152130-8t0gmepqelp4ehto
(glitter/data/themes/nublo/sofa/*) General improvements for the sofa theme; (glitter/style.py) Behaviour changes in style merging; (glitter/widget.py) Fixes

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
from box import VBox
24
24
from image import Image
25
25
from toolbar import Toolbar
26
 
from button import Button
 
26
from floating_button import FloatingButton
27
27
from slider import Slider
28
28
from video import Video
29
29
 
83
83
        self.image2.size_ratio = 1.0
84
84
        self.hbox.pack(self.image2)
85
85
        
86
 
        self.image3 = Image('test.svg', source_scalable=False)
 
86
        """self.image3 = Image('test.svg', source_scalable=False)
87
87
        self.image3.size_ratio = 1.0
88
 
        self.hbox.pack(self.image3)
 
88
        self.hbox.pack(self.image3)"""
 
89
        
 
90
        self.fbutton = FloatingButton(icon="test.svg", label="Play")
 
91
        self.hbox.pack(self.fbutton)
89
92
        
90
93
        self.window.show_all()
91
94
        gtk.main()