view finch/libgnt/test/file.c @ 16370:670c03e39ff9

propagate from branch 'im.pidgin.pidgin' (head d42ad2da81f881b2fbd2fb080cc70a843bc70d02) to branch 'im.pidgin.rlaager.gaim_migration' (head 82aefc43b8274fd4c30eb312fda8a7ba6b1eaac0)
author Richard Laager <rlaager@wiktel.com>
date Mon, 23 Apr 2007 17:10:38 +0000
parents f00f2e283ffb
children f104e1d45d85
line wrap: on
line source

#include "gnt.h"
#include "gntfilesel.h"

int main()
{
	freopen(".error", "w", stderr);
	gnt_init();

	GntWidget *w = gnt_file_sel_new();
	gnt_file_sel_set_current_location(GNT_FILE_SEL(w), "/home/");
	gnt_file_sel_set_dirs_only(GNT_FILE_SEL(w), TRUE);
	gnt_file_sel_set_multi_select(GNT_FILE_SEL(w), TRUE);
	gnt_widget_show(w);

	gnt_main();

	gnt_quit();
	return 0;
}