diff options
-rw-r--r-- | ui/details.ui | 54 | ||||
-rw-r--r-- | virtManager/details/details.py | 13 |
2 files changed, 2 insertions, 65 deletions
diff --git a/ui/details.ui b/ui/details.ui index ebf4f75b..098e1b40 100644 --- a/ui/details.ui +++ b/ui/details.ui @@ -3847,56 +3847,6 @@ </packing> </child> <child> - <object class="GtkLabel" id="label17"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="halign">end</property> - <property name="label" translatable="yes">RAM:</property> - </object> - <packing> - <property name="left_attach">0</property> - <property name="top_attach">1</property> - </packing> - </child> - <child> - <object class="GtkLabel" id="video-ram"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="halign">start</property> - <property name="label">label</property> - <property name="selectable">True</property> - </object> - <packing> - <property name="left_attach">1</property> - <property name="top_attach">1</property> - </packing> - </child> - <child> - <object class="GtkLabel" id="label25"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="halign">end</property> - <property name="label" translatable="yes">Heads:</property> - </object> - <packing> - <property name="left_attach">0</property> - <property name="top_attach">2</property> - </packing> - </child> - <child> - <object class="GtkLabel" id="video-heads"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="halign">start</property> - <property name="label">label</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="label9"> <property name="visible">True</property> <property name="can_focus">False</property> @@ -3907,7 +3857,7 @@ </object> <packing> <property name="left_attach">0</property> - <property name="top_attach">3</property> + <property name="top_attach">1</property> </packing> </child> <child> @@ -3920,7 +3870,7 @@ </object> <packing> <property name="left_attach">1</property> - <property name="top_attach">3</property> + <property name="top_attach">1</property> </packing> </child> </object> diff --git a/virtManager/details/details.py b/virtManager/details/details.py index 65c7fa55..5557b08a 100644 --- a/virtManager/details/details.py +++ b/virtManager/details/details.py @@ -2239,19 +2239,6 @@ class vmmDetails(vmmGObjectUI): def _refresh_video_page(self, vid): model = vid.model - if model == "qxl" and vid.vgamem: - ram = vid.vgamem - else: - ram = vid.vram - heads = vid.heads - try: - ramlabel = ram and "%d MiB" % (int(ram) // 1024) or "-" - except Exception: # pragma: no cover - ramlabel = "-" - - self.widget("video-ram").set_text(ramlabel) - self.widget("video-heads").set_text(heads and str(heads) or "-") - uiutil.set_list_selection(self.widget("video-model"), model) if vid.accel3d is None: |