[anjuta] glade: bgo #701207 - Glade signal drop no longer works



commit 8b42b883e9b57062df4f0e04ed4c4b1a9f2d9df8
Author: Marco Diego Aurélio Mesquita <marcodiegomesquita gmail com>
Date:   Wed May 29 22:22:39 2013 +0200

    glade: bgo #701207 - Glade signal drop no longer works

 plugins/glade/plugin.c |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/plugins/glade/plugin.c b/plugins/glade/plugin.c
index 14806d2..c4a75ce 100644
--- a/plugins/glade/plugin.c
+++ b/plugins/glade/plugin.c
@@ -656,6 +656,10 @@ activate_plugin (AnjutaPlugin *plugin)
 
        priv->paned = gtk_paned_new (GTK_ORIENTATION_VERTICAL);
 
+
+       g_signal_connect(priv->app, "signal-editor-created",
+                        G_CALLBACK(on_signal_editor_created), plugin);
+
        priv->editor = GTK_WIDGET(glade_editor_new());
 
        priv->palette = glade_palette_new();
@@ -712,9 +716,6 @@ activate_plugin (AnjutaPlugin *plugin)
        g_signal_connect(priv->app, "doc-search",
                         G_CALLBACK(on_api_help), plugin);
 
-       g_signal_connect(priv->app, "signal-editor-created",
-                        G_CALLBACK(on_signal_editor_created), plugin);
-
        gtk_widget_show (priv->palette);
        gtk_widget_show (priv->editor);
        gtk_widget_show (priv->inspector);


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