[virt-tools-list] [PATCH virt-viewer] !fixup Simplify file transfer dialog UI

Jonathon Jongsma jjongsma at redhat.com
Thu Oct 27 17:02:48 UTC 2016


---
 src/resources/ui/virt-viewer-file-transfer-dialog.ui | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/src/resources/ui/virt-viewer-file-transfer-dialog.ui b/src/resources/ui/virt-viewer-file-transfer-dialog.ui
index e3514d6..be5f478 100644
--- a/src/resources/ui/virt-viewer-file-transfer-dialog.ui
+++ b/src/resources/ui/virt-viewer-file-transfer-dialog.ui
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <interface>
-  <requires lib="gtk+" version="2.24"/>
+  <requires lib="gtk+" version="3.10"/>
   <!-- interface-naming-policy project-wide -->
   <template class="VirtViewerFileTransferDialog" parent="GtkDialog">
     <property name="default_width">400</property>
@@ -8,13 +8,15 @@
     <property name="border_width">5</property>
     <property name="type_hint">dialog</property>
     <child internal-child="vbox">
-      <object class="GtkVBox" id="dialog-vbox1">
+      <object class="GtkBox" id="dialog-vbox1">
+        <property name="orientation">vertical</property>
         <property name="visible">True</property>
         <property name="can_focus">False</property>
         <property name="spacing">12</property>
         <property name="border-width">12</property>
         <child internal-child="action_area">
-          <object class="GtkHButtonBox" id="dialog-action_area1">
+          <object class="GtkButtonBox" id="dialog-action_area1">
+            <property name="orientation">horizontal</property>
             <property name="visible">True</property>
             <property name="can_focus">False</property>
             <property name="layout_style">end</property>
@@ -44,7 +46,8 @@
           </packing>
         </child>
         <child>
-          <object class="GtkVBox" id="vbox1">
+          <object class="GtkBox" id="vbox1">
+            <property name="orientation">vertical</property>
             <property name="visible">True</property>
             <property name="can_focus">False</property>
             <property name="spacing">12</property>
-- 
2.7.4




More information about the virt-tools-list mailing list