[Xfce4-commits] <exo:master> Use the update-preview signal for updating the preview (bug #5133).

Nick Schermer noreply at xfce.org
Fri Oct 9 14:58:01 CEST 2009


Updating branch refs/heads/master
         to 8f4ea78de67433e60b88c7748fc4b3f534754fe5 (commit)
       from 8bf62890d12cfeb895014c0aa442db9a4c8856f4 (commit)

commit 8f4ea78de67433e60b88c7748fc4b3f534754fe5
Author: Nick Schermer <nick at xfce.org>
Date:   Fri Oct 9 14:53:47 2009 +0200

    Use the update-preview signal for updating the preview (bug #5133).

 exo/exo-gtk-extensions.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/exo/exo-gtk-extensions.c b/exo/exo-gtk-extensions.c
index 84792ea..3e88eba 100644
--- a/exo/exo-gtk-extensions.c
+++ b/exo/exo-gtk-extensions.c
@@ -142,7 +142,7 @@ exo_gtk_file_chooser_add_thumbnail_preview (GtkFileChooser *chooser)
   gtk_widget_show (thumbnail_preview);
 
   /* update the preview as necessary */
-  g_signal_connect_object (G_OBJECT (chooser), "selection-changed", G_CALLBACK (update_preview), thumbnail_preview, 0);
+  g_signal_connect (G_OBJECT (chooser), "update-preview", G_CALLBACK (update_preview), thumbnail_preview);
 
   /* initially update the preview, in case the file chooser is already setup */
   update_preview (chooser, EXO_THUMBNAIL_PREVIEW (thumbnail_preview));



More information about the Xfce4-commits mailing list