summaryrefslogtreecommitdiff
path: root/src/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tree.c')
-rw-r--r--src/tree.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/tree.c b/src/tree.c
index 5b32fd17..b94f6344 100644
--- a/src/tree.c
+++ b/src/tree.c
@@ -287,19 +287,11 @@ zenity_tree (ZenityData *data, ZenityTreeData *tree_data)
n_columns = g_slist_length (tree_data->columns);
if (n_columns == 0) {
- g_printerr (_("No column titles specified for --list\n"));
+ g_printerr (_("No column titles specified for List dialog.\n"));
data->exit_code = -1;
return;
}
- /*
- if (tree_data->data == NULL) {
- g_printerr (_("No contents specified for --list\n"));
- data->exit_code = -1;
- return;
- }
- */
-
glade_xml_signal_autoconnect (glade_dialog);
dialog = glade_xml_get_widget (glade_dialog, "zenity_tree_dialog");
bgstack15