summaryrefslogtreecommitdiff
path: root/src/tree.c
diff options
context:
space:
mode:
authorMike Newman <MikeGTN@src.gnome.org>2003-06-10 21:30:22 +0000
committerMike Newman <MikeGTN@src.gnome.org>2003-06-10 21:30:22 +0000
commitcfe29d9ad04761e7a97964af5e8f20fca7d22cfc (patch)
tree49791765012f5b821c208663320db9a354aaae6f /src/tree.c
parentCommitting patch to fall back to dialog if DISPLAY not set from (diff)
downloadzenity-cfe29d9ad04761e7a97964af5e8f20fca7d22cfc.tar.gz
zenity-cfe29d9ad04761e7a97964af5e8f20fca7d22cfc.tar.bz2
zenity-cfe29d9ad04761e7a97964af5e8f20fca7d22cfc.zip
Allow /t and /n in dialog text. Some code cleanup.
Diffstat (limited to 'src/tree.c')
-rw-r--r--src/tree.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/tree.c b/src/tree.c
index 903ef704..80562d86 100644
--- a/src/tree.c
+++ b/src/tree.c
@@ -478,12 +478,6 @@ zenity_tree_dialog_output (void)
for (tmp = selected; tmp; tmp = tmp->next) {
if (tmp->next != NULL) {
- /* FIXME: There must be a nicer way to do this. This is just arse */
- if (strstr ((const gchar *) separator, (const gchar *) "\\n") != NULL)
- g_printerr ("%s\n", (gchar *) tmp->data);
- else if (strstr ((const gchar *) separator, (const gchar *) "\\t") != NULL)
- g_printerr ("%s\t", (gchar *) tmp->data);
- else
g_printerr ("%s%s", (gchar *) tmp->data, separator);
}
else
bgstack15