Skip to content

Commit 818a193

Browse files
committed
Move state from BaseItem to DynamicWorkspaceItem
1 parent 2844166 commit 818a193

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

src/BaseItem.vala

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,6 @@ public class Dock.BaseItem : Gtk.Box {
5252
}
5353
}
5454

55-
private State _state;
56-
public State state {
57-
get { return _state; }
58-
set {
59-
_state = value;
60-
}
61-
}
62-
6355
protected Gtk.Overlay overlay;
6456
protected Gtk.GestureClick gesture_click;
6557
protected Gtk.Box running_box;

src/WorkspaceSystem/DynamicWorkspaceItem.vala

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,14 @@ public class Dock.DynamicWorkspaceIcon : BaseItem {
88
set_css_name ("icongroup");
99
}
1010

11+
private State _state;
12+
public State state {
13+
get { return _state; }
14+
set {
15+
_state = value;
16+
}
17+
}
18+
1119
public DynamicWorkspaceIcon () {
1220
Object (disallow_dnd: true, group: Group.WORKSPACE);
1321
}

0 commit comments

Comments
 (0)