Skip to content

Commit

Permalink
Even smaller
Browse files Browse the repository at this point in the history
  • Loading branch information
danirabbit committed Sep 24, 2024
1 parent 37459cb commit 91ce9c3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion src/Widgets/DiskBar.vala
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public class Installer.DiskBar: Gtk.Box {
p.partition.device_path,
p.get_partition_size () * 512,
p.partition.filesystem.to_string (),
p.volume_group,
p.partition.filesystem == LVM ? p.partition.current_lvm_volume_group : null,
p.menu
);
}
Expand Down
4 changes: 0 additions & 4 deletions src/Widgets/PartitionBlock.vala
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ public class Installer.PartitionBlock : Adw.Bin {

public InstallerDaemon.Partition partition { get; construct; }

public string? volume_group { get; private set; }

public PartitionBlock (InstallerDaemon.Partition partition) {
Object (partition: partition);
}
Expand All @@ -41,8 +39,6 @@ public class Installer.PartitionBlock : Adw.Bin {
}

construct {
volume_group = (partition.filesystem == LVM) ? partition.current_lvm_volume_group : null;

var image = new Gtk.Image () {
halign = END,
valign = END
Expand Down

0 comments on commit 91ce9c3

Please sign in to comment.