[gimp/metadata-browser] Use the realize signal to update the icons in the advanced tab.



commit 5491b567135aeeea83ab943450a1ab9709ef1e32
Author: Roman Joost <roman bromeco de>
Date:   Thu Oct 6 20:10:38 2011 +1000

    Use the realize signal to update the icons in the advanced tab.

 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 e6ed142..b48e4ad 100644
--- a/plug-ins/metadata/interface.c
+++ b/plug-ins/metadata/interface.c
@@ -380,7 +380,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, "focus",
+  g_signal_connect (treeview, "realize",
                     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]