mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-01-24 15:26:36 -06:00
error: Make sure labels aren't overly large
This commit is contained in:
parent
8bba6b5772
commit
3ac0cb06ac
@ -190,7 +190,11 @@ class _errorDialog (Gtk.MessageDialog):
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
Gtk.MessageDialog.__init__(self, *args, **kwargs)
|
||||
|
||||
self.set_title("")
|
||||
for child in self.get_message_area().get_children():
|
||||
if hasattr(child, "set_max_width_chars"):
|
||||
child.set_max_width_chars(40)
|
||||
|
||||
self.chk_vbox = None
|
||||
self.chk_align = None
|
||||
|
Loading…
Reference in New Issue
Block a user