testfilechooser: Test the preview again

There is code in there to show a preview, use it.
This commit is contained in:
Matthias Clasen 2014-10-19 20:03:58 -04:00
parent d3aa9df876
commit 0b0c6a6477

View File

@ -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);