testfilechooser: Disable the terrible preview
authorMatthias Clasen <mclasen@redhat.com>
Thu, 2 Jul 2015 23:23:48 +0000 (16:23 -0700)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 4 Jul 2015 04:29:25 +0000 (00:29 -0400)
It makes testing the intended user experience harder.

tests/testfilechooser.c

index 389eb2212b9862f29ff885bf321b96a6de7033fc..0d8ff1c03661a66207dea5e452ecc99781bb9c93 100644 (file)
@@ -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 */