-
-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Widgets: Rename PartitionBar to PartitionBlock (#808)
- Loading branch information
1 parent
9302468
commit 96efd52
Showing
6 changed files
with
17 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
* Authored by: Michael Aaron Murphy <[email protected]> | ||
*/ | ||
|
||
public class Installer.PartitionBar : Gtk.Box { | ||
public class Installer.PartitionBlock : Adw.Bin { | ||
public signal void decrypted (InstallerDaemon.LuksCredentials credential); | ||
|
||
public Icon? icon { get; set; default = null; } | ||
|
@@ -17,7 +17,7 @@ public class Installer.PartitionBar : Gtk.Box { | |
public string? volume_group { get; private set; } | ||
public Gtk.Popover menu { get; private set; } | ||
|
||
public PartitionBar ( | ||
public PartitionBlock ( | ||
InstallerDaemon.Partition partition, | ||
string parent_path, | ||
uint64 sector_size, | ||
|
@@ -56,13 +56,11 @@ public class Installer.PartitionBar : Gtk.Box { | |
volume_group = (partition.filesystem == LVM) ? partition.current_lvm_volume_group : null; | ||
|
||
var image = new Gtk.Image () { | ||
hexpand = true, | ||
halign = END, | ||
valign = END | ||
}; | ||
|
||
append (image); | ||
hexpand = true; | ||
child = image; | ||
tooltip_text = partition.device_path; | ||
|
||
add_css_class (partition.filesystem.to_string ()); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters