summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/about.c1
-rw-r--r--src/tree.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/src/about.c b/src/about.c
index d6fc9083..d64d6777 100644
--- a/src/about.c
+++ b/src/about.c
@@ -61,6 +61,7 @@ static const gchar *author_credits[] = {
"Ross Burton <ross burtonini com>",
"Damien Carbery <damien carbery sun com>",
"Anders Carlsson <andersca codefactory se>",
+ "Ed Catmur <ed catmur co uk>",
"Nicholas Curran <quasar austar net au>",
"John Fleck <jfleck inkstain net>",
"Sebastian Heinlein <glatzor pimpzkru de>",
diff --git a/src/tree.c b/src/tree.c
index 49c1d782..63fe4aee 100644
--- a/src/tree.c
+++ b/src/tree.c
@@ -440,13 +440,13 @@ zenity_tree (ZenityData *data, ZenityTreeData *tree_data)
gtk_tree_view_set_rules_hint (GTK_TREE_VIEW (tree_view), TRUE);
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);
else
zenity_tree_fill_entries_from_stdin (GTK_TREE_VIEW (tree_view), n_columns, TRUE, tree_data->editable);
}
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);
else
zenity_tree_fill_entries_from_stdin (GTK_TREE_VIEW (tree_view), n_columns, FALSE, tree_data->editable);
bgstack15