Commit f87f43b6 authored by Matthias Clasen's avatar Matthias Clasen

testfilechooser: Disable the terrible preview

It makes testing the intended user experience harder.
parent fe128b5b
...@@ -643,6 +643,7 @@ main (int argc, char **argv) ...@@ -643,6 +643,7 @@ main (int argc, char **argv)
gtk_file_filter_add_pixbuf_formats (filter); gtk_file_filter_add_pixbuf_formats (filter);
gtk_file_chooser_add_filter (GTK_FILE_CHOOSER (dialog), filter); gtk_file_chooser_add_filter (GTK_FILE_CHOOSER (dialog), filter);
#if 0
/* Preview widget */ /* Preview widget */
/* THIS IS A TERRIBLE PREVIEW WIDGET, AND SHOULD NOT BE COPIED AT ALL. /* THIS IS A TERRIBLE PREVIEW WIDGET, AND SHOULD NOT BE COPIED AT ALL.
*/ */
...@@ -660,6 +661,7 @@ main (int argc, char **argv) ...@@ -660,6 +661,7 @@ main (int argc, char **argv)
update_preview_cb (GTK_FILE_CHOOSER (dialog)); update_preview_cb (GTK_FILE_CHOOSER (dialog));
g_signal_connect (dialog, "update-preview", g_signal_connect (dialog, "update-preview",
G_CALLBACK (update_preview_cb), NULL); G_CALLBACK (update_preview_cb), NULL);
#endif
/* Extra widget */ /* Extra widget */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment