Separate user and system data dirs for Flatpak
This commit is contained in:
@@ -322,10 +322,22 @@ template $PreferencesWindow : Adw.PreferencesWindow {
|
||||
icon-name: "flatpak-source-symbolic";
|
||||
}
|
||||
|
||||
Adw.ActionRow flatpak_data_action_row {
|
||||
title: _("Install Location");
|
||||
Adw.ActionRow flatpak_system_data_action_row {
|
||||
title: _("System Location");
|
||||
|
||||
Button flatpak_data_file_chooser_button {
|
||||
Button flatpak_system_data_file_chooser_button {
|
||||
icon-name: "folder-symbolic";
|
||||
valign: center;
|
||||
styles [
|
||||
"flat"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Adw.ActionRow flatpak_user_data_action_row {
|
||||
title: _("User Location");
|
||||
|
||||
Button flatpak_user_data_file_chooser_button {
|
||||
icon-name: "folder-symbolic";
|
||||
valign: center;
|
||||
styles [
|
||||
|
||||
@@ -83,9 +83,12 @@
|
||||
<key name="flatpak" type="b">
|
||||
<default>true</default>
|
||||
</key>
|
||||
<key name="flatpak-location" type="s">
|
||||
<key name="flatpak-system-location" type="s">
|
||||
<default>"/var/lib/flatpak/"</default>
|
||||
</key>
|
||||
<key name="flatpak-user-location" type="s">
|
||||
<default>"~/.local/share/flatpak/"</default>
|
||||
</key>
|
||||
<key name="flatpak-import-launchers" type="b">
|
||||
<default>false</default>
|
||||
</key>
|
||||
|
||||
Reference in New Issue
Block a user