console: Enforce text wrapping on 'unavailable' page
This commit is contained in:
parent
01d4203933
commit
0f88ebbc0b
|
@ -5837,12 +5837,15 @@ if you know what you are doing.</small></property>
|
|||
<object class="GtkLabel" id="console-unavailable">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="halign">center</property>
|
||||
<property name="valign">center</property>
|
||||
<property name="label" translatable="yes"><b>The console is currently unavailable</b></property>
|
||||
<property name="use_markup">True</property>
|
||||
<property name="justify">center</property>
|
||||
<property name="wrap">True</property>
|
||||
<property name="selectable">True</property>
|
||||
<property name="width_chars">40</property>
|
||||
<property name="width_chars">60</property>
|
||||
<property name="max_width_chars">60</property>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="tab_expand">True</property>
|
||||
|
|
|
@ -712,9 +712,9 @@ class vmmConsolePages(vmmGObjectUI):
|
|||
|
||||
if ginfo.is_bad_localhost():
|
||||
self._activate_unavailable_page(
|
||||
_("Guest is on a remote host with transport '%s'\n"
|
||||
"but is only configured to listen locally.\n"
|
||||
"Connect using 'ssh' transport or change the\n"
|
||||
_("Guest is on a remote host with transport '%s' "
|
||||
"but is only configured to listen locally. "
|
||||
"Connect using 'ssh' transport or change the"
|
||||
"guest's listen address." % ginfo.transport))
|
||||
return
|
||||
|
||||
|
|
Loading…
Reference in New Issue