~severinh/unity/fixes-641669

« back to all changes in this revision

Viewing changes to mutter-plugin/plugin.vala

  • Committer: Neil Jagdish Patel
  • Date: 2010-01-14 08:36:31 UTC
  • mto: This revision was merged to the branch mainline in revision 73.
  • Revision ID: neil.patel@canonical.com-20100114083631-ngfeyacxjq9x98c9
[panel] Use libunity-misc

added:
  vapi/unity-misc.vapi
modified:
  configure.ac
  mutter-plugin/plugin.vala
  src/Makefile.am
  src/panel/panel-tray.vala
  src/panel/panel-view.vala
  src/window.vala
  vapi/unity-const.vapi

Show diffs side-by-side

added added

removed removed

Lines of Context:
74
74
    private Background         background;
75
75
    private Quicklauncher.View quicklauncher;
76
76
    private Places.View        places;
 
77
    private Panel.View         panel;
77
78
 
78
79
    private DragDest drag_dest;
79
80
    private bool     places_showing;
134
135
      this.stage.raise_child (this.places, this.quicklauncher);
135
136
      this.places_showing = false;
136
137
 
 
138
      this.panel = new Panel.View (this);
 
139
      this.stage.add_actor (this.panel);
 
140
      this.stage.raise_child (this.panel, this.places);
 
141
      this.panel.show ();
 
142
 
137
143
      this.relayout ();
138
144
    }
139
145
 
166
172
                                        this.QUICKLAUNCHER_WIDTH,
167
173
                                        (int)(height - this.PANEL_HEIGHT));
168
174
 
 
175
      this.panel.set_size (width, 23);
 
176
      this.panel.set_position (0, 0);
 
177
 
169
178
      /* Leaving this here to remind me that we need to use these when 
170
179
       * there are fullscreen windows etc
171
180
       * this.plugin.set_stage_input_region (uint region);