[gtk+/wip/matthiasc/filechooser] testfilechooser: Disable the terrible preview



commit c734c833af47f2396b8ef3a8d977d6e82a1ad7e1
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Jul 2 16:23:48 2015 -0700

    testfilechooser: Disable the terrible preview
    
    It makes testing the intended user experience harder.

 tests/testfilechooser.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/tests/testfilechooser.c b/tests/testfilechooser.c
index 389eb22..0d8ff1c 100644
--- a/tests/testfilechooser.c
+++ b/tests/testfilechooser.c
@@ -643,6 +643,7 @@ main (int argc, char **argv)
   gtk_file_filter_add_pixbuf_formats (filter);
   gtk_file_chooser_add_filter (GTK_FILE_CHOOSER (dialog), filter);
 
+#if 0
   /* Preview widget */
   /* THIS IS A TERRIBLE PREVIEW WIDGET, AND SHOULD NOT BE COPIED AT ALL.
    */
@@ -660,6 +661,7 @@ main (int argc, char **argv)
   update_preview_cb (GTK_FILE_CHOOSER (dialog));
   g_signal_connect (dialog, "update-preview",
                    G_CALLBACK (update_preview_cb), NULL);
+#endif
 
   /* Extra widget */
 


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