mirror of
https://github.com/virt-manager/virt-manager.git
synced 2024-12-22 13:34:07 +03:00
Use override_background_color instead of modify_bg
override_background_color accepts a RGBA struct, use it directly.
This commit is contained in:
parent
d2d759abb4
commit
a6881c6ff1
@ -219,8 +219,8 @@ class vmmCloneVM(vmmGObjectUI):
|
||||
|
||||
context = self.topwin.get_style_context()
|
||||
defcolor = context.get_background_color(Gtk.StateType.NORMAL)
|
||||
self.widget("storage-viewport").modify_bg(Gtk.StateType.NORMAL,
|
||||
defcolor.to_color())
|
||||
self.widget("storage-viewport").override_background_color(Gtk.StateType.NORMAL,
|
||||
defcolor)
|
||||
|
||||
box = self.widget("clone-vm-icon-box")
|
||||
image = Gtk.Image.new_from_icon_name("vm_clone_wizard",
|
||||
|
Loading…
Reference in New Issue
Block a user