[gimp/metadata-browser: 41/44] Revert "Use the realize signal to update the icons in the advanced tab."



commit e759ddd8de8ae54e721d01cb7af573a1e15568bc
Author: Roman Joost <roman bromeco de>
Date:   Thu Oct 13 18:55:37 2011 +1000

    Revert "Use the realize signal to update the icons in the advanced tab."
    
    This reverts commit 5491b567135aeeea83ab943450a1ab9709ef1e32. The reason
    for that is, that we can use a
    gtk_tree_view_insert_column_with_data_func to setup the treeview instead
    of using signals.

 plug-ins/metadata/interface.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plug-ins/metadata/interface.c b/plug-ins/metadata/interface.c
index 104bb8c..663e977 100644
--- a/plug-ins/metadata/interface.c
+++ b/plug-ins/metadata/interface.c
@@ -382,7 +382,7 @@ add_advanced_tab (GtkWidget     *notebook,
   gtk_container_add (GTK_CONTAINER (sw), treeview);
 
   /* update property icons when the user views this tab */
-  g_signal_connect (treeview, "realize",
+  g_signal_connect (treeview, "focus",
                     G_CALLBACK (update_icons), NULL);
 
   /* expand all rows after the treeview widget has been realized */



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