data: Add "System" default folder

The "Utilities" folder is potentially getting quite crowded,
so set up an additional "System" folder. It will be populated
in a follow-up commit.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3642>
This commit is contained in:
Florian Müllner
2025-02-24 21:36:28 +01:00
committed by Marge Bot
parent 0c3e5adbf3
commit c0e3dfd166
7 changed files with 29 additions and 11 deletions

View File

@ -24,7 +24,7 @@ import * as SystemActions from '../misc/systemActions.js';
import * as Main from './main.js';
import {UTILITIES_FOLDER_APPS} from '../misc/config.js';
import * as Config from '../misc/config.js';
const MENU_POPUP_TIMEOUT = 600;
const POPDOWN_DIALOG_TIMEOUT = 500;
@ -59,9 +59,13 @@ const DIALOG_SHADE_NORMAL = new Cogl.Color({red: 0, green: 0, blue: 0, alpha: 20
const DIALOG_SHADE_HIGHLIGHT = new Cogl.Color({red: 0, green: 0, blue: 0, alpha: 85});
const DEFAULT_FOLDERS = {
'System': {
name: 'X-GNOME-Shell-System.directory',
apps: Config.SYSTEM_FOLDER_APPS,
},
'Utilities': {
name: 'X-GNOME-Shell-Utilities.directory',
apps: UTILITIES_FOLDER_APPS,
apps: Config.UTILITIES_FOLDER_APPS,
},
'YaST': {
name: 'suse-yast.directory',