diff options
author | Mike Newman <MikeGTN@src.gnome.org> | 2003-06-10 21:30:22 +0000 |
---|---|---|
committer | Mike Newman <MikeGTN@src.gnome.org> | 2003-06-10 21:30:22 +0000 |
commit | cfe29d9ad04761e7a97964af5e8f20fca7d22cfc (patch) | |
tree | 49791765012f5b821c208663320db9a354aaae6f /src/tree.c | |
parent | Committing patch to fall back to dialog if DISPLAY not set from (diff) | |
download | zenity-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.c | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -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 |