diff options
author | Cole Robinson <crobinso@redhat.com> | 2018-09-29 16:04:05 -0400 |
---|---|---|
committer | Cole Robinson <crobinso@redhat.com> | 2018-09-30 20:55:32 -0400 |
commit | b19f94299b36975a2f129eff910d9fa269fadbba (patch) | |
tree | f7a891e9ebdfc54a76efdc24e32a815745f469c6 /ui/details.ui | |
parent | 75c64151b1741020567e278c56fd40893dd87b96 (diff) | |
download | virt-manager-b19f94299b36975a2f129eff910d9fa269fadbba.tar.gz |
details: Add OS name view/edit, + oslist rework
This is just a big nasty commit.
Turn the OS inspection page into an always available page that
shows the libosinfo name from the domain metadata XML. Use oslist.py
and have it absorb more of the common behavior needed by create.py
and details.py. Add UI tests for it all
Diffstat (limited to 'ui/details.ui')
-rw-r--r-- | ui/details.ui | 84 |
1 files changed, 15 insertions, 69 deletions
diff --git a/ui/details.ui b/ui/details.ui index 48464546..974921a3 100644 --- a/ui/details.ui +++ b/ui/details.ui @@ -1389,89 +1389,30 @@ <property name="row_spacing">6</property> <property name="column_spacing">6</property> <child> - <object class="GtkLabel" id="label72"> + <object class="GtkAlignment" id="details-os-align"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="halign">end</property> - <property name="label" translatable="yes">Product name:</property> - </object> - <packing> - <property name="left_attach">0</property> - <property name="top_attach">2</property> - </packing> - </child> - <child> - <object class="GtkLabel" id="inspection-hostname"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="halign">start</property> - <property name="label">foo</property> - <property name="selectable">True</property> - </object> - <packing> - <property name="left_attach">1</property> - <property name="top_attach">0</property> - </packing> - </child> - <child> - <object class="GtkLabel" id="label71"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="halign">end</property> - <property name="label" translatable="yes">Hostname:</property> + <property name="hexpand">True</property> + <child> + <placeholder/> + </child> </object> <packing> <property name="left_attach">0</property> <property name="top_attach">0</property> </packing> </child> - <child> - <object class="GtkLabel" id="label"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="halign">end</property> - <property name="label" translatable="yes">Operating system:</property> - </object> - <packing> - <property name="left_attach">0</property> - <property name="top_attach">1</property> - </packing> - </child> - <child> - <object class="GtkLabel" id="inspection-product-name"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="halign">start</property> - <property name="label">foo</property> - <property name="selectable">True</property> - </object> - <packing> - <property name="left_attach">1</property> - <property name="top_attach">2</property> - </packing> - </child> - <child> - <object class="GtkLabel" id="inspection-type"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="halign">start</property> - <property name="label" translatable="yes">foo</property> - </object> - <packing> - <property name="left_attach">1</property> - <property name="top_attach">1</property> - </packing> - </child> </object> </child> </object> </child> <child type="label"> - <object class="GtkLabel" id="label70"> + <object class="GtkLabel" id="details-os-label"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes"><b>Operating System</b></property> + <property name="label" translatable="yes"><b>Operating Sys_tem</b></property> <property name="use_markup">True</property> + <property name="use_underline">True</property> </object> </child> </object> @@ -1531,7 +1472,7 @@ <property name="can_focus">False</property> <property name="spacing">12</property> <child> - <object class="GtkGrid" id="details-overview-error-box"> + <object class="GtkGrid" id="details-inspection-error-box"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="halign">start</property> @@ -1597,6 +1538,11 @@ <property name="position">2</property> </packing> </child> + <child internal-child="accessible"> + <object class="AtkObject" id="box14-atkobject"> + <property name="AtkObject::accessible-name" translatable="yes">os-tab</property> + </object> + </child> </object> <packing> <property name="position">1</property> @@ -1606,7 +1552,7 @@ <object class="GtkLabel" id="label14"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label">inspect</property> + <property name="label">osinfo</property> </object> <packing> <property name="position">1</property> |