From f188e2396738576b05f8afe846b9941e01c1dc0f Mon Sep 17 00:00:00 2001 From: ItsTerminal <118511626+ItsTerm1n4l@users.noreply.github.com> Date: Mon, 26 Aug 2024 09:26:29 +0100 Subject: [PATCH] Update FileChooser.ts (#193) Made theme open file chooser start at themes dir --- widget/settings/shared/FileChooser.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/widget/settings/shared/FileChooser.ts b/widget/settings/shared/FileChooser.ts index 395d763..49ea131 100644 --- a/widget/settings/shared/FileChooser.ts +++ b/widget/settings/shared/FileChooser.ts @@ -181,7 +181,7 @@ export const importFiles = (themeOnly: boolean = false): void => { title: `Import ${themeOnly ? "Theme" : "Config"}`, action: Gtk.FileChooserAction.OPEN, }); - + dialog.set_current_folder(`${App.configDir}/themes`) dialog.add_button(Gtk.STOCK_CANCEL, Gtk.ResponseType.CANCEL); dialog.add_button(Gtk.STOCK_OPEN, Gtk.ResponseType.ACCEPT);