mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-11 12:06:07 +00:00
TextEditor: Unveil the full path to the config file
Unveil ~/.config/TextEditor.ini instead of the whole config directory.
This commit is contained in:
parent
aacb1f0bf4
commit
7d579b04c5
Notes:
sideshowbarker
2024-07-18 05:21:46 +09:00
Author: https://github.com/doctor-rd
Commit: 7d579b04c5
Pull-request: https://github.com/SerenityOS/serenity/pull/8965
Reviewed-by: https://github.com/AtkinsSJ
Reviewed-by: https://github.com/awesomekling
3 changed files with 15 additions and 3 deletions
|
@ -8,6 +8,7 @@
|
|||
|
||||
#include <AK/Function.h>
|
||||
#include <AK/LexicalPath.h>
|
||||
#include <LibCore/ConfigFile.h>
|
||||
#include <LibFileSystemAccessClient/Client.h>
|
||||
#include <LibGUI/ActionGroup.h>
|
||||
#include <LibGUI/Application.h>
|
||||
|
@ -42,6 +43,8 @@ public:
|
|||
void update_title();
|
||||
void initialize_menubar(GUI::Window&);
|
||||
|
||||
static RefPtr<Core::ConfigFile> open_config_file();
|
||||
|
||||
private:
|
||||
MainWidget();
|
||||
void set_path(StringView const&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue