File tree Expand file tree Collapse file tree 4 files changed +13
-14
lines changed Expand file tree Collapse file tree 4 files changed +13
-14
lines changed Original file line number Diff line number Diff line change 3030 " builddir"
3131 ],
3232 "vala.languageServerPath" : " ${workspaceFolder}/.flatpak/vala-language-server.sh" ,
33- "mesonbuild.configureOnOpen" : false ,
34- "mesonbuild.buildFolder" : " _build" ,
3533 "mesonbuild.mesonPath" : " ${workspaceFolder}/.flatpak/meson.sh" ,
3634 "[meson]" : {
3735 "editor.defaultFormatter" : " mesonbuild.mesonbuild"
38- }
36+ },
37+ "mesonbuild.configureOnOpen" : false ,
38+ "mesonbuild.buildFolder" : " _build"
3939}
Original file line number Diff line number Diff line change 5959 <key name =" edited" type =" b" >
6060 <default >false</default >
6161 </key >
62- <key name =" width" type =" i" >
62+ <key name =" window- width" type =" i" >
6363 <default >0</default >
6464 </key >
65- <key name =" height" type =" i" >
65+ <key name =" window- height" type =" i" >
6666 <default >0</default >
6767 </key >
68- <key name =" maximized" type =" b" >
68+ <key name =" window- maximized" type =" b" >
6969 <default >false</default >
7070 </key >
71- <key name =" fullscreened" type =" b" >
71+ <key name =" window- fullscreened" type =" b" >
7272 <default >false</default >
7373 </key >
7474 </schema >
Original file line number Diff line number Diff line change 99 getNowForFilename ,
1010 demos_dir ,
1111 settings as global_settings ,
12- settings ,
1312 copyDirectory ,
1413 decode ,
1514 removeDirectory ,
@@ -40,7 +39,7 @@ export async function getSessions() {
4039 }
4140
4241 // Projects
43- const recent_projects = settings . get_strv ( "recent-projects" ) ;
42+ const recent_projects = global_settings . get_strv ( "recent-projects" ) ;
4443 for ( const path of recent_projects ) {
4544 const file = Gio . File . new_for_path ( path ) ;
4645 if (
@@ -165,15 +164,15 @@ export class Session {
165164}
166165
167166export 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" ) ) ;
169168 recent_projects . add ( path ) ;
170- settings . set_strv ( "recent-projects" , [ ...recent_projects ] ) ;
169+ global_settings . set_strv ( "recent-projects" , [ ...recent_projects ] ) ;
171170}
172171
173172export 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" ) ) ;
175174 recent_projects . delete ( path ) ;
176- settings . set_strv ( "recent-projects" , [ ...recent_projects ] ) ;
175+ global_settings . set_strv ( "recent-projects" , [ ...recent_projects ] ) ;
177176}
178177
179178async function buildGResourceIcons ( file ) {
You can’t perform that action at this time.
0 commit comments