[gtk+] testfilechooser: Test the preview again
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] testfilechooser: Test the preview again
- Date: Mon, 20 Oct 2014 00:04:32 +0000 (UTC)
commit 0b0c6a6477bae9c3125aeb682e2d16395f539e5a
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Oct 19 20:03:58 2014 -0400
testfilechooser: Test the preview again
There is code in there to show a preview, use it.
tests/testfilechooser.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/testfilechooser.c b/tests/testfilechooser.c
index 013415a..c912e70 100644
--- a/tests/testfilechooser.c
+++ b/tests/testfilechooser.c
@@ -647,7 +647,7 @@ main (int argc, char **argv)
/* THIS IS A TERRIBLE PREVIEW WIDGET, AND SHOULD NOT BE COPIED AT ALL.
*/
preview_vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
- /*gtk_file_chooser_set_preview_widget (GTK_FILE_CHOOSER (dialog), preview_vbox);*/
+ gtk_file_chooser_set_preview_widget (GTK_FILE_CHOOSER (dialog), preview_vbox);
preview_label = gtk_label_new (NULL);
gtk_box_pack_start (GTK_BOX (preview_vbox), preview_label, TRUE, TRUE, 0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]