fix(ui): correct Gtk.Button instantiation in partitioning page
This commit is contained in:
@@ -483,7 +483,8 @@ class PartitioningPage(Adw.Bin):
|
||||
win.close()
|
||||
self.refresh_bar()
|
||||
|
||||
btn = Gtk.Button(label="Apply", add_css_class="suggested-action")
|
||||
btn = Gtk.Button(label="Apply")
|
||||
btn.add_css_class("suggested-action")
|
||||
btn.connect("clicked", on_apply)
|
||||
box.append(btn)
|
||||
win.present()
|
||||
@@ -526,7 +527,8 @@ class PartitioningPage(Adw.Bin):
|
||||
win.close()
|
||||
self.load_partitions(self.current_disk_path)
|
||||
|
||||
btn = Gtk.Button(label="Create", add_css_class="suggested-action")
|
||||
btn = Gtk.Button(label="Create")
|
||||
btn.add_css_class("suggested-action")
|
||||
btn.connect("clicked", on_create)
|
||||
box.append(btn)
|
||||
win.present()
|
||||
|
||||
Reference in New Issue
Block a user