[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[virt-tools-list] [virt-viewer][PATCH 1/2] Create Actions menu.



From: Leonardo Garcia <lagarcia br ibm com>

This menu would hold entries related to the connected guest life-cycle management:
 - Restart
 - Shutdown
 - Forced Shutdown
 - Redefine Hardware Settings
 - etc.
---
 src/virt-viewer.xml |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/src/virt-viewer.xml b/src/virt-viewer.xml
index cce1f0d..851d3fc 100644
--- a/src/virt-viewer.xml
+++ b/src/virt-viewer.xml
@@ -91,6 +91,24 @@
               </object>
             </child>
             <child>
+              <object class="GtkMenuItem" id="menu-actions">
+                <property name="visible">True</property>
+                <property name="can_focus">False</property>
+                <property name="use_action_appearance">False</property>
+                <property name="label" translatable="yes">_Actions</property>
+                <property name="use_underline">True</property>
+                <child type="submenu">
+                  <object class="GtkMenu" id="menu6">
+                    <property name="visible">True</property>
+                    <property name="can_focus">False</property>
+                    <property name="accel_group">accelgroup</property>
+                    <child>
+                    </child>
+                  </object>
+                </child>
+              </object>
+            </child>
+            <child>
               <object class="GtkMenuItem" id="menu-view">
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
-- 
1.7.1


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]