Skip to content

Commit 81a3a00

Browse files
authored
Bring back old icon groups (#2595)
1 parent 3f04c37 commit 81a3a00

File tree

11 files changed

+1112
-0
lines changed

11 files changed

+1112
-0
lines changed

meson.build

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,10 @@ if get_option('systemd')
148148
vala_flags += ['--define', 'WITH_SYSTEMD']
149149
endif
150150

151+
if get_option('old-icon-groups')
152+
vala_flags += ['--define', 'OLD_ICON_GROUPS']
153+
endif
154+
151155
if vala.version().version_compare('>= 0.56.17')
152156
vala_flags += ['--define', 'VALA_0_56_17']
153157
endif

meson_options.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
option ('documentation', type : 'boolean', value : false)
22
option ('systemd', type : 'boolean', value : true)
33
option ('systemduserunitdir', type : 'string', value : '')
4+
option ('old-icon-groups', type : 'boolean', value : false)

src/ShellClients/PanelWindow.vala

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,10 @@ public class Gala.PanelWindow : ShellWindow, RootTarget {
118118
}
119119

120120
public void request_visible_in_multitasking_view () {
121+
#if !OLD_ICON_GROUPS
121122
visible_in_multitasking_view = true;
122123
actor.add_action (new DragDropAction (DESTINATION, "multitaskingview-window"));
124+
#endif
123125
}
124126

125127
public void animate_start () {

0 commit comments

Comments
 (0)