Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
4d528da
Added ui for btrfs subvolume names
fused0 Nov 23, 2025
85efc0b
Merge branch 'linuxmint:master' into btrfs_subvol_names
fused0 Nov 23, 2025
6cf8745
Improve subvolume name option layout
fused0 Nov 23, 2025
bd54ed4
early out of subvolume listing if configured subvolume is not the sam…
fused0 Nov 23, 2025
f3e3bc8
fix add missing return value in Main.query_subvolume_id
fused0 Nov 23, 2025
52b7cf4
Subvolume selection is now a combobox
fused0 Nov 24, 2025
9cc883b
improved subvolume selection by adding a distribution hint
fused0 Nov 24, 2025
0ebe92a
combine subvol comboboxes
fused0 Nov 24, 2025
4e13156
detect subvolume layout
fused0 Nov 24, 2025
69b8468
Merge branch 'linuxmint:master' into btrfs_subvol_names
fused0 Nov 24, 2025
04bfffd
cleanup create_btrfs_subvolume_selection
fused0 Nov 24, 2025
dd769f5
call init_backend on layout change
fused0 Nov 24, 2025
d7b5070
also call type_changed on subvol layout change
fused0 Nov 24, 2025
0e71046
Disable "include home subvol" option when home subvolume name is empty
fused0 Nov 30, 2025
7f55d83
fix for debian style layout
fused0 Nov 30, 2025
aaccff3
added ui for custom subvolume layout
fused0 Nov 30, 2025
a1f3892
Merge branch 'linuxmint:master' into btrfs_subvol_names
fused0 Nov 30, 2025
44edb09
Change variable name in SnapshotBackendBox
fused0 Dec 8, 2025
7528ba9
Simplify toggling checkbox sensitivity in UsersBox
fused0 Dec 8, 2025
deb0ecb
Change early out of query_subvolume_id to has_key
fused0 Dec 8, 2025
6a0240f
Properly fix query_subvolume_id
fused0 Dec 8, 2025
216393b
Simplify vbox_subvolume_custom.visible assignment
fused0 Dec 8, 2025
59339bb
Fix typo in comment
fused0 Dec 8, 2025
b32ac4e
Making sure to consistently call Main::check_btrfs_layout_system befo…
fused0 Dec 9, 2025
4b5cf13
fix null pointer exception in query_subvolume_quota
fused0 Dec 9, 2025
01f0445
Merge branch 'linuxmint:master' into btrfs_subvol_names
fused0 Dec 9, 2025
3ceb27d
document and fix query_subvolume_id
fused0 Dec 10, 2025
4031b17
document and fix query_subvolume_quota
fused0 Dec 10, 2025
4630806
Added comments to SnapshotBackendBox
fused0 Dec 16, 2025
c6cd723
Main: add check_btrfs_system_config to check if the BTRFS system conf…
fused0 Jan 6, 2026
0611f62
AppConsole: make sure App.check_btrfs_layout_system is called before …
fused0 Jan 6, 2026
7d29174
Merge branch 'linuxmint:master' into btrfs_subvol_names
fused0 Jan 6, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions src/AppConsole.vala
Original file line number Diff line number Diff line change
Expand Up @@ -619,6 +619,12 @@ public class AppConsole : GLib.Object {

private bool restore_snapshot(){

// It's also called by App.restore_snapshot, but might leave some temp directories
// if layout is unsupported and not checked before.
if (App.btrfs_mode && (App.check_btrfs_layout_system() == false)){
return false;
}

select_snapshot_device(true);

select_snapshot_for_restore();
Expand Down Expand Up @@ -1355,6 +1361,10 @@ public class AppConsole : GLib.Object {

public bool delete_snapshot(){

if (App.btrfs_mode && (App.check_btrfs_layout_system() == false)){
return false;
}

select_snapshot_device(true);

select_snapshot_for_deletion();
Expand All @@ -1367,6 +1377,10 @@ public class AppConsole : GLib.Object {
}

public bool delete_all_snapshots(){

if (App.btrfs_mode && (App.check_btrfs_layout_system() == false)){
return false;
}

select_snapshot_device(true);

Expand Down
Loading