From b701c6218dc279e5c1c478d64aff19c0cd465165 Mon Sep 17 00:00:00 2001 From: Carl-Anton Ingmarsson Date: Mon, 19 Nov 2012 20:13:36 +0100 Subject: [PATCH] glade: Fix the palette not being shown. Call gtk_widget_show_all() on the palette_box since anjuta_shell_add_widget() doesn't do it anymore. Also change back the palette_box to vertical which was mistakenly changed in 9a2c4a1055c4c70294e1637f9d74da67d2034b88. https://bugzilla.gnome.org/show_bug.cgi?id=688671 --- plugins/glade/plugin.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/glade/plugin.c b/plugins/glade/plugin.c index 061269e5e..e25d4f190 100644 --- a/plugins/glade/plugin.c +++ b/plugins/glade/plugin.c @@ -656,7 +656,7 @@ activate_plugin (AnjutaPlugin *plugin) priv->editor = GTK_WIDGET(glade_editor_new()); priv->palette = glade_palette_new(); - priv->palette_box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 5); + priv->palette_box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 5); priv->selector_toggle = create_selector_tool_button (); priv->resize_toggle = create_drag_resize_tool_button (); button_box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); @@ -673,6 +673,7 @@ activate_plugin (AnjutaPlugin *plugin) priv->palette, TRUE, TRUE, 0); + gtk_widget_show_all (priv->palette_box); gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (priv->selector_toggle), TRUE); -- 2.11.4.GIT