Skip to content

Commit aaabb44

Browse files
committed
details: console: drop hardcoding background color as black
Submitted in virt-manager#241 I couldn't get this code to change the output, tested with VNC and spice-gtk on Fedora 34 gnome-shell x11 and XFCE. Maybe it's something theme related. But either way this doesn't seem to be useful for the default case anyways, so let's drop it Signed-off-by: Cole Robinson <[email protected]>
1 parent 520b3a3 commit aaabb44

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

virtManager/details/console.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -332,11 +332,6 @@ def __init__(self, vm, builder, topwin):
332332
self.widget("console-overlay").add_overlay(
333333
self._overlay_toolbar_fullscreen.timed_revealer.get_overlay_widget())
334334

335-
# Make viewer widget background always be black
336-
black = Gdk.Color(0, 0, 0)
337-
self.widget("console-gfx-viewport").modify_bg(Gtk.StateType.NORMAL,
338-
black)
339-
340335
self.widget("console-pages").set_show_tabs(False)
341336
self.widget("serial-pages").set_show_tabs(False)
342337
self.widget("console-gfx-pages").set_show_tabs(False)

0 commit comments

Comments
 (0)