@@ -17,15 +17,15 @@ public class Gala.IconGroup : CanvasActor {
1717 private const int BACKDROP_ABSOLUTE_OPACITY = 40 ;
1818
1919 /**
20- * The group has been clicked. The MultitaskingView should consider activating
21- * its workspace.
22- */
20+ * The group has been clicked. The MultitaskingView should consider activating
21+ * its workspace.
22+ */
2323 public signal void selected ();
2424
2525 private float _backdrop_opacity = 0.0f ;
2626 /**
27- * The opacity of the backdrop/highlight.
28- */
27+ * The opacity of the backdrop/highlight.
28+ */
2929 public float backdrop_opacity {
3030 get {
3131 return _backdrop_opacity;
@@ -99,8 +99,8 @@ public class Gala.IconGroup : CanvasActor {
9999 }
100100
101101 /**
102- * Override the paint handler to draw our backdrop if necessary
103- */
102+ * Override the paint handler to draw our backdrop if necessary
103+ */
104104 public override void paint (Clutter .PaintContext context ) {
105105 if (backdrop_opacity == 0.0 || drag_action. dragging) {
106106 base . paint (context);
@@ -130,21 +130,21 @@ public class Gala.IconGroup : CanvasActor {
130130 }
131131
132132 /**
133- * Remove all currently added WindowIconActors
134- */
133+ * Remove all currently added WindowIconActors
134+ */
135135 public void clear () {
136136 icon_container. destroy_all_children ();
137137 }
138138
139139 /**
140- * Creates a WindowIconActor for the given window and adds it to the group
141- *
142- * @param window The MetaWindow for which to create the WindowIconActor
143- * @param no_redraw If you add multiple windows at once you may want to consider
144- * settings this to true and when done calling redraw() manually
145- * @param temporary Mark the WindowIconActor as temporary. Used for windows dragged over
146- * the group.
147- */
140+ * Creates a WindowIconActor for the given window and adds it to the group
141+ *
142+ * @param window The MetaWindow for which to create the WindowIconActor
143+ * @param no_redraw If you add multiple windows at once you may want to consider
144+ * settings this to true and when done calling redraw() manually
145+ * @param temporary Mark the WindowIconActor as temporary. Used for windows dragged over
146+ * the group.
147+ */
148148 public void add_window (Meta .Window window , bool no_redraw = false , bool temporary = false ) {
149149 var new_window = new WindowIconActor (window);
150150 new_window. set_position (32 , 32 );
@@ -157,10 +157,10 @@ public class Gala.IconGroup : CanvasActor {
157157 }
158158
159159 /**
160- * Remove the WindowIconActor for a MetaWindow from the group
161- *
162- * @param animate Whether to fade the icon out before removing it
163- */
160+ * Remove the WindowIconActor for a MetaWindow from the group
161+ *
162+ * @param animate Whether to fade the icon out before removing it
163+ */
164164 public void remove_window (Meta .Window window , bool animate = true ) {
165165 foreach (unowned var child in icon_container. get_children ()) {
166166 unowned var icon = (WindowIconActor ) child;
@@ -192,23 +192,23 @@ public class Gala.IconGroup : CanvasActor {
192192 }
193193
194194 /**
195- * Sets a hovered actor for the drag action.
196- */
195+ * Sets a hovered actor for the drag action.
196+ */
197197 public void set_hovered_actor (Clutter .Actor actor ) {
198198 drag_action. hovered = actor;
199199 }
200200
201201 /**
202- * Trigger a redraw
203- */
202+ * Trigger a redraw
203+ */
204204 public void redraw () {
205205 content. invalidate ();
206206 }
207207
208208 /**
209- * Draw the background or plus sign and do layouting. We won't lose performance here
210- * by relayouting in the same function, as it's only ever called when we invalidate it.
211- */
209+ * Draw the background or plus sign and do layouting. We won't lose performance here
210+ * by relayouting in the same function, as it's only ever called when we invalidate it.
211+ */
212212 protected override void draw (Cairo .Context cr , int cr_width , int cr_height ) {
213213 clear_effects ();
214214 cr. set_operator (Cairo . Operator . CLEAR );
0 commit comments