|
|
58a5c8 |
From bf91d6c08f471ab729507d1ebd4c46b336ca2cef Mon Sep 17 00:00:00 2001
|
|
|
f59d24 |
From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuellner@gnome.org>
|
|
|
f59d24 |
Date: Fri, 23 Feb 2018 16:56:46 +0100
|
|
|
f59d24 |
Subject: [PATCH] Include top-icons in classic session
|
|
|
f59d24 |
|
|
|
f59d24 |
---
|
|
|
58a5c8 |
meson.build | 2 +-
|
|
|
58a5c8 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
f59d24 |
|
|
|
58a5c8 |
diff --git a/meson.build b/meson.build
|
|
|
58a5c8 |
index cde2d34..7a4c0d6 100644
|
|
|
58a5c8 |
--- a/meson.build
|
|
|
58a5c8 |
+++ b/meson.build
|
|
|
58a5c8 |
@@ -11,81 +11,81 @@ i18n = import('i18n')
|
|
|
58a5c8 |
|
|
|
58a5c8 |
datadir = get_option('datadir')
|
|
|
58a5c8 |
|
|
|
58a5c8 |
shelldir = join_paths(datadir, 'gnome-shell')
|
|
|
58a5c8 |
extensiondir = join_paths(shelldir, 'extensions')
|
|
|
58a5c8 |
modedir = join_paths(shelldir, 'modes')
|
|
|
58a5c8 |
themedir = join_paths(shelldir, 'theme')
|
|
|
58a5c8 |
|
|
|
58a5c8 |
schemadir = join_paths(datadir, 'glib-2.0', 'schemas')
|
|
|
58a5c8 |
sessiondir = join_paths(datadir, 'gnome-session', 'sessions')
|
|
|
58a5c8 |
xsessiondir = join_paths(datadir, 'xsessions')
|
|
|
58a5c8 |
|
|
|
58a5c8 |
extensionlib = files('lib/convenience.js')
|
|
|
58a5c8 |
|
|
|
58a5c8 |
js52 = find_program('js52', required: false)
|
|
|
58a5c8 |
|
|
|
58a5c8 |
ver_arr = meson.project_version().split('.')
|
|
|
58a5c8 |
if ver_arr[1].to_int().is_even()
|
|
|
58a5c8 |
shell_version = '@0@.@1@'.format(ver_arr[0], ver_arr[1])
|
|
|
58a5c8 |
else
|
|
|
58a5c8 |
shell_version = '.'.join(ver_arr)
|
|
|
58a5c8 |
endif
|
|
|
58a5c8 |
|
|
|
58a5c8 |
uuid_suffix = '@gnome-shell-extensions.gcampax.github.com'
|
|
|
58a5c8 |
|
|
|
58a5c8 |
classic_extensions = [
|
|
|
58a5c8 |
'alternate-tab',
|
|
|
58a5c8 |
'apps-menu',
|
|
|
58a5c8 |
'places-menu',
|
|
|
58a5c8 |
'launch-new-instance',
|
|
|
58a5c8 |
+ 'top-icons',
|
|
|
58a5c8 |
'window-list'
|
|
|
58a5c8 |
]
|
|
|
58a5c8 |
|
|
|
58a5c8 |
default_extensions = classic_extensions
|
|
|
58a5c8 |
default_extensions += [
|
|
|
58a5c8 |
'drive-menu',
|
|
|
58a5c8 |
'screenshot-window-sizer',
|
|
|
58a5c8 |
'windowsNavigator',
|
|
|
58a5c8 |
'workspace-indicator'
|
|
|
58a5c8 |
]
|
|
|
58a5c8 |
|
|
|
58a5c8 |
all_extensions = default_extensions
|
|
|
58a5c8 |
all_extensions += [
|
|
|
58a5c8 |
'auto-move-windows',
|
|
|
58a5c8 |
'dash-to-dock',
|
|
|
58a5c8 |
'example',
|
|
|
58a5c8 |
'native-window-placement',
|
|
|
58a5c8 |
'no-hot-corner',
|
|
|
58a5c8 |
'panel-favorites',
|
|
|
58a5c8 |
'systemMonitor',
|
|
|
58a5c8 |
- 'top-icons',
|
|
|
58a5c8 |
'updates-dialog',
|
|
|
58a5c8 |
'user-theme'
|
|
|
58a5c8 |
]
|
|
|
58a5c8 |
|
|
|
58a5c8 |
enabled_extensions = get_option('enable_extensions')
|
|
|
58a5c8 |
|
|
|
58a5c8 |
if enabled_extensions.length() == 0
|
|
|
58a5c8 |
set = get_option('extension_set')
|
|
|
58a5c8 |
|
|
|
58a5c8 |
if set == 'classic'
|
|
|
58a5c8 |
enabled_extensions += classic_extensions
|
|
|
58a5c8 |
elif set == 'default'
|
|
|
58a5c8 |
enabled_extensions += default_extensions
|
|
|
58a5c8 |
elif set == 'all'
|
|
|
58a5c8 |
enabled_extensions += all_extensions
|
|
|
58a5c8 |
endif
|
|
|
58a5c8 |
endif
|
|
|
58a5c8 |
|
|
|
58a5c8 |
classic_mode_enabled = get_option('classic_mode')
|
|
|
58a5c8 |
|
|
|
58a5c8 |
if classic_mode_enabled
|
|
|
58a5c8 |
# Sanity check: Make sure all classic extensions are enabled
|
|
|
58a5c8 |
foreach e : classic_extensions
|
|
|
58a5c8 |
if not enabled_extensions.contains(e)
|
|
|
58a5c8 |
error('Classic mode is enabled, ' +
|
|
|
58a5c8 |
'but the required extension @0@ is not.'.format(e))
|
|
|
58a5c8 |
endif
|
|
|
58a5c8 |
endforeach
|
|
|
58a5c8 |
endif
|
|
|
58a5c8 |
|
|
|
f59d24 |
--
|
|
|
58a5c8 |
2.17.1
|
|
|
f59d24 |
|