[alacarte] alacarte.ui: Put back menu items



commit a3152fbddfed52231e59f20b7da96fa3caf47c7d
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Thu Jan 10 21:29:11 2013 -0500

    alacarte.ui: Put back menu items
    
    It seems that Glade did not like GtkUIManager. I don't blame it.

 data/alacarte.ui |   30 ++++++++++++++++++++++++++++++
 1 files changed, 30 insertions(+), 0 deletions(-)
---
diff --git a/data/alacarte.ui b/data/alacarte.ui
index c06a05e..cf918a1 100644
--- a/data/alacarte.ui
+++ b/data/alacarte.ui
@@ -1,6 +1,36 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <interface>
   <!-- interface-requires gtk+ 3.0 -->
+  <object class="GtkActionGroup" id="context_menu_actions">
+    <child>
+      <object class="GtkAction" id="edit_properties">
+        <property name="stock_id">gtk-properties</property>
+        <signal name="activate" handler="on_edit_properties_activate" swapped="no"/>
+      </object>
+    </child>
+    <child>
+      <object class="GtkAction" id="edit_delete">
+        <property name="stock_id">gtk-delete</property>
+        <signal name="activate" handler="on_edit_delete_activate" swapped="no"/>
+      </object>
+    </child>
+  </object>
+  <object class="GtkMenu" id="edit_menu">
+    <property name="visible">True</property>
+    <property name="can_focus">False</property>
+    <child>
+      <object class="GtkMenuItem" id="menu_properties">
+        <property name="related_action">edit_properties</property>
+        <property name="can_focus">False</property>
+      </object>
+    </child>
+    <child>
+      <object class="GtkMenuItem" id="menu_delete">
+        <property name="related_action">edit_delete</property>
+        <property name="can_focus">False</property>
+      </object>
+    </child>
+  </object>
   <object class="GtkWindow" id="mainwindow">
     <property name="visible">True</property>
     <property name="can_focus">False</property>



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