Patch from Ed Catmur to fix the list dialog on stdin. Fixes #164152.

2005-01-17  Glynn Foster  <glynn.foster@sun.com>

	* src/tree.c: Patch from Ed Catmur to fix the list dialog
	on stdin. Fixes #164152.
	* src/about.c, THANKS: Update.
This commit is contained in:
Glynn Foster 2005-01-17 01:33:23 +00:00 committed by Glynn Foster
parent 07ca1f938a
commit bc282cfa65
4 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2005-01-17 Glynn Foster <glynn.foster@sun.com>
* src/tree.c: Patch from Ed Catmur to fix the list dialog
on stdin. Fixes #164152.
* src/about.c, THANKS: Update.
2005-01-11 Glynn Foster <glynn.foster@sun.com> 2005-01-11 Glynn Foster <glynn.foster@sun.com>
* configure.in: post release bump. * configure.in: post release bump.

1
THANKS
View File

@ -13,6 +13,7 @@
"Ross Burton <ross burtonini com>", "Ross Burton <ross burtonini com>",
"Damien Carbery <damien carbery sun com>", "Damien Carbery <damien carbery sun com>",
"Anders Carlsson <andersca codefactory se>", "Anders Carlsson <andersca codefactory se>",
"Ed Catmur <ed catmur co uk>",
"Nicholas Curran <quasar austar net au>", "Nicholas Curran <quasar austar net au>",
"John Fleck <jfleck inkstain net>", "John Fleck <jfleck inkstain net>",
"Sebastian Heinlein <glatzor pimpzkru de>", "Sebastian Heinlein <glatzor pimpzkru de>",

View File

@ -61,6 +61,7 @@ static const gchar *author_credits[] = {
"Ross Burton <ross burtonini com>", "Ross Burton <ross burtonini com>",
"Damien Carbery <damien carbery sun com>", "Damien Carbery <damien carbery sun com>",
"Anders Carlsson <andersca codefactory se>", "Anders Carlsson <andersca codefactory se>",
"Ed Catmur <ed catmur co uk>",
"Nicholas Curran <quasar austar net au>", "Nicholas Curran <quasar austar net au>",
"John Fleck <jfleck inkstain net>", "John Fleck <jfleck inkstain net>",
"Sebastian Heinlein <glatzor pimpzkru de>", "Sebastian Heinlein <glatzor pimpzkru de>",

View File

@ -440,13 +440,13 @@ zenity_tree (ZenityData *data, ZenityTreeData *tree_data)
gtk_tree_view_set_rules_hint (GTK_TREE_VIEW (tree_view), TRUE); gtk_tree_view_set_rules_hint (GTK_TREE_VIEW (tree_view), TRUE);
if (tree_data->radiobox || tree_data->checkbox) { if (tree_data->radiobox || tree_data->checkbox) {
if (tree_data->data) if (tree_data->data && *tree_data->data)
zenity_tree_fill_entries (GTK_TREE_VIEW (tree_view), tree_data->data, n_columns, TRUE, tree_data->editable); zenity_tree_fill_entries (GTK_TREE_VIEW (tree_view), tree_data->data, n_columns, TRUE, tree_data->editable);
else else
zenity_tree_fill_entries_from_stdin (GTK_TREE_VIEW (tree_view), n_columns, TRUE, tree_data->editable); zenity_tree_fill_entries_from_stdin (GTK_TREE_VIEW (tree_view), n_columns, TRUE, tree_data->editable);
} }
else { else {
if (tree_data->data) if (tree_data->data && *tree_data->data)
zenity_tree_fill_entries (GTK_TREE_VIEW (tree_view), tree_data->data, n_columns, FALSE, tree_data->editable); zenity_tree_fill_entries (GTK_TREE_VIEW (tree_view), tree_data->data, n_columns, FALSE, tree_data->editable);
else else
zenity_tree_fill_entries_from_stdin (GTK_TREE_VIEW (tree_view), n_columns, FALSE, tree_data->editable); zenity_tree_fill_entries_from_stdin (GTK_TREE_VIEW (tree_view), n_columns, FALSE, tree_data->editable);