diff options
Diffstat (limited to 'src/tree.c')
-rw-r--r-- | src/tree.c | 10 |
1 files changed, 1 insertions, 9 deletions
@@ -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"); |