diff options
author | Florian Richter <florian@richter-es.de> | 2015-08-24 18:33:46 +0200 |
---|---|---|
committer | Juan Pablo Ugarte <juanpablougarte@gmail.com> | 2015-08-25 18:05:33 -0300 |
commit | ab46b4ecfb57131188dbd92cde52a012470a2ddf (patch) | |
tree | 6a265d2892e09b1e716ab2ef886e66a44bf6c630 | |
parent | 7f4a5f85350c17f842b07c3fa6ef189f03e59e99 (diff) | |
download | glade-ab46b4ecfb57131188dbd92cde52a012470a2ddf.tar.gz |
Add "Stack" to "Add parent" menu
https://bugzilla.gnome.org/show_bug.cgi?id=754030
-rw-r--r-- | plugins/gtk+/glade-gtk-widget.c | 2 | ||||
-rw-r--r-- | plugins/gtk+/gtk+.xml.in | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/plugins/gtk+/glade-gtk-widget.c b/plugins/gtk+/glade-gtk-widget.c index 019f1091..e192281b 100644 --- a/plugins/gtk+/glade-gtk-widget.c +++ b/plugins/gtk+/glade-gtk-widget.c @@ -881,6 +881,8 @@ glade_gtk_widget_action_activate (GladeWidgetAdaptor * adaptor, new_type = GTK_TYPE_BOX; else if (strcmp (action, "paned") == 0) new_type = GTK_TYPE_PANED; + else if (strcmp (action, "stack") == 0) + new_type = GTK_TYPE_STACK; if (new_type) { diff --git a/plugins/gtk+/gtk+.xml.in b/plugins/gtk+/gtk+.xml.in index 4550b24d..93e3e9e9 100644 --- a/plugins/gtk+/gtk+.xml.in +++ b/plugins/gtk+/gtk+.xml.in @@ -48,6 +48,7 @@ <action id="grid" _name="Grid"/> <action id="box" _name="Box"/> <action id="paned" _name="Paned"/> + <action id="stack" _name="Stack"/> </action> <action id="sizegroup_add" _name="Add to Size Group"/> <action id="clear_properties" _name="Clear properties" stock="edit-clear"/> |