[Xfce4-commits] <exo:xfce-4.6> Use the update-preview signal for updating the preview (bug #5133).
Nick Schermer
noreply at xfce.org
Fri Oct 9 14:56:01 CEST 2009
Updating branch refs/heads/xfce-4.6
to 0513489d0539c9c2ae28374bd36133fb3212b32f (commit)
from 8aa65148d867bc94877b51324b646ad345b8a791 (commit)
commit 0513489d0539c9c2ae28374bd36133fb3212b32f
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 1cb8238..eb63ac5 100644
--- a/exo/exo-gtk-extensions.c
+++ b/exo/exo-gtk-extensions.c
@@ -205,7 +205,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