~azzar1/unity/lp-1165097

« back to all changes in this revision

Viewing changes to src/window.vala

  • Committer: Gordon Allott
  • Date: 2009-12-16 13:25:32 UTC
  • mto: This revision was merged to the branch mainline in revision 45.
  • Revision ID: mail@gordallott.com-20091216132532-3zp0dlxqkqjnsmwf
performance logger support and boot chart generation script

Show diffs side-by-side

added added

removed removed

Lines of Context:
99
99
      };
100
100
 
101
101
      Ctk.dnd_init (this.gtk_clutter, target_list);
102
 
            
 
102
      
 
103
      Unity.TimelineLogger.get_default().start_process ("/Unity/Stage/Pre-Paint");
103
104
      this.stage = (Clutter.Stage)this.gtk_clutter.get_stage ();
 
105
      this.stage.paint.connect (this.first_stage_paint);
 
106
      
104
107
      Clutter.Color stage_bg = Clutter.Color () { 
105
108
          red = 0x00,
106
109
          green = 0x00,
135
138
      Unity.TooltipManager.get_default().top_level = this;
136
139
    }
137
140
 
 
141
    private void first_stage_paint ()
 
142
    {
 
143
      this.stage.paint.disconnect (this.first_stage_paint);
 
144
      Unity.TimelineLogger.get_default().end_process ("/Unity/Stage/Pre-Paint");
 
145
    }
 
146
 
138
147
    private void relayout ()
139
148
    {
140
149
      int x, y, width, height;