GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Description: Talk is a small, Clutter-based presentation application
Clone URL: git://github.com/ebassi/talk.git
Show the header/footer when the slide is visible, not on ::show
Emmanuele Bassi (author)
Wed Feb 20 09:00:11 -0800 2008
commit  b03d1b8629c141f139730f45ca27e88535b9d495
tree    6c35d23043f81a515269bf7969a2d06719456e6b
parent  e50e6db82e94d92c4127a2e0137a8192daf34eba
...
85
86
87
88
89
 
90
91
92
...
102
103
104
105
 
 
106
107
108
...
85
86
87
 
 
88
89
90
91
...
101
102
103
 
104
105
106
107
108
0
@@ -85,8 +85,7 @@ class TalkSlide (clutter.Group):
0
         self._template = clutter.EffectTemplate(self._timeline, clutter.sine_inc_func)
0
 
0
     def on_show (self, group):
0
- clutter.effect_fade(self._template, self._header_label, 255)
0
- clutter.effect_fade(self._template, self._footer_label, 255)
0
+ pass
0
 
0
     def on_hide (self, group):
0
         clutter.effect_fade(self._template, self._header_label, 0)
0
@@ -102,7 +101,8 @@ class TalkSlide (clutter.Group):
0
         return self._bg_color
0
 
0
     def do_slide_visible (self):
0
- pass
0
+ clutter.effect_fade(self._template, self._header_label, 255)
0
+ clutter.effect_fade(self._template, self._footer_label, 255)
0
 
0
     def do_set_property (self, pspec, value):
0
         if pspec.name == 'header':

Comments

    No one has commented yet.