[glade] Add Grid option to "Add Parent" action.



commit e3da30cf4c99fc6b7b2be5b4a2b41614cf356c46
Author: Dmitrijs Ledkovs <dmitrijs ledkovs canonical com>
Date:   Wed Feb 27 14:57:01 2013 +0000

    Add Grid option to "Add Parent" action.

 plugins/gtk+/glade-gtk.c |    2 ++
 plugins/gtk+/gtk+.xml.in |    1 +
 2 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/plugins/gtk+/glade-gtk.c b/plugins/gtk+/glade-gtk.c
index 243182f..1e52ce4 100644
--- a/plugins/gtk+/glade-gtk.c
+++ b/plugins/gtk+/glade-gtk.c
@@ -949,6 +949,8 @@ glade_gtk_widget_action_activate (GladeWidgetAdaptor * adaptor,
         new_type = GTK_TYPE_EXPANDER;
       else if (strcmp (action, "table") == 0)
         new_type = GTK_TYPE_TABLE;
+      else if (strcmp (action, "grid") == 0)
+        new_type = GTK_TYPE_GRID;
       else if (strcmp (action, "box") == 0)
         new_type = GTK_TYPE_BOX;
       else if (strcmp (action, "paned") == 0)
diff --git a/plugins/gtk+/gtk+.xml.in b/plugins/gtk+/gtk+.xml.in
index 95784ed..4ce27bd 100644
--- a/plugins/gtk+/gtk+.xml.in
+++ b/plugins/gtk+/gtk+.xml.in
@@ -45,6 +45,7 @@
           <action id="scrolled_window" _name="Scrolled Window"/>
           <action id="expander" _name="Expander"/>
           <action id="table" _name="Table"/>
+          <action id="grid" _name="Grid"/>
           <action id="box" _name="Box"/>
           <action id="paned" _name="Paned"/>
         </action>


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