File tree 4 files changed +13
-14
lines changed
4 files changed +13
-14
lines changed Original file line number Diff line number Diff line change 30
30
" builddir"
31
31
],
32
32
"vala.languageServerPath" : " ${workspaceFolder}/.flatpak/vala-language-server.sh" ,
33
- "mesonbuild.configureOnOpen" : false ,
34
- "mesonbuild.buildFolder" : " _build" ,
35
33
"mesonbuild.mesonPath" : " ${workspaceFolder}/.flatpak/meson.sh" ,
36
34
"[meson]" : {
37
35
"editor.defaultFormatter" : " mesonbuild.mesonbuild"
38
- }
36
+ },
37
+ "mesonbuild.configureOnOpen" : false ,
38
+ "mesonbuild.buildFolder" : " _build"
39
39
}
Original file line number Diff line number Diff line change 59
59
<key name =" edited" type =" b" >
60
60
<default >false</default >
61
61
</key >
62
- <key name =" width" type =" i" >
62
+ <key name =" window- width" type =" i" >
63
63
<default >0</default >
64
64
</key >
65
- <key name =" height" type =" i" >
65
+ <key name =" window- height" type =" i" >
66
66
<default >0</default >
67
67
</key >
68
- <key name =" maximized" type =" b" >
68
+ <key name =" window- maximized" type =" b" >
69
69
<default >false</default >
70
70
</key >
71
- <key name =" fullscreened" type =" b" >
71
+ <key name =" window- fullscreened" type =" b" >
72
72
<default >false</default >
73
73
</key >
74
74
</schema >
Original file line number Diff line number Diff line change 9
9
getNowForFilename ,
10
10
demos_dir ,
11
11
settings as global_settings ,
12
- settings ,
13
12
copyDirectory ,
14
13
decode ,
15
14
removeDirectory ,
@@ -40,7 +39,7 @@ export async function getSessions() {
40
39
}
41
40
42
41
// Projects
43
- const recent_projects = settings . get_strv ( "recent-projects" ) ;
42
+ const recent_projects = global_settings . get_strv ( "recent-projects" ) ;
44
43
for ( const path of recent_projects ) {
45
44
const file = Gio . File . new_for_path ( path ) ;
46
45
if (
@@ -165,15 +164,15 @@ export class Session {
165
164
}
166
165
167
166
export function addToRecentProjects ( path ) {
168
- const recent_projects = new Set ( settings . get_strv ( "recent-projects" ) ) ;
167
+ const recent_projects = new Set ( global_settings . get_strv ( "recent-projects" ) ) ;
169
168
recent_projects . add ( path ) ;
170
- settings . set_strv ( "recent-projects" , [ ...recent_projects ] ) ;
169
+ global_settings . set_strv ( "recent-projects" , [ ...recent_projects ] ) ;
171
170
}
172
171
173
172
export function removeFromRecentProjects ( path ) {
174
- const recent_projects = new Set ( settings . get_strv ( "recent-projects" ) ) ;
173
+ const recent_projects = new Set ( global_settings . get_strv ( "recent-projects" ) ) ;
175
174
recent_projects . delete ( path ) ;
176
- settings . set_strv ( "recent-projects" , [ ...recent_projects ] ) ;
175
+ global_settings . set_strv ( "recent-projects" , [ ...recent_projects ] ) ;
177
176
}
178
177
179
178
async function buildGResourceIcons ( file ) {
You can’t perform that action at this time.
0 commit comments