diff options
author | Lucas Rocha <lucasr@cvs.gnome.org> | 2005-11-15 04:14:35 +0000 |
---|---|---|
committer | Lucas Almeida Rocha <lucasr@src.gnome.org> | 2005-11-15 04:14:35 +0000 |
commit | 5547de9384430dfccb9c3c8a68badfa120760b4a (patch) | |
tree | c8b6dfa4c59b3b3a72bf71432a8d962ef1ee2ed7 /src/tree.c | |
parent | 2df94bfcd5d84355f77c1ef24476625235eb65fc (diff) | |
download | zenity-5547de9384430dfccb9c3c8a68badfa120760b4a.tar.gz |
make it possible to add new lines and markup in the dialog text.
2005-11-15 Lucas Rocha <lucasr@cvs.gnome.org>
* src/calendar.c, src/progress.c, src/tree.c: make
it possible to add new lines and markup in the dialog
text.
Diffstat (limited to 'src/tree.c')
-rw-r--r-- | src/tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -341,7 +341,7 @@ zenity_tree (ZenityData *data, ZenityTreeData *tree_data) text = glade_xml_get_widget (glade_dialog, "zenity_tree_text"); if (tree_data->dialog_text) - gtk_label_set_text (GTK_LABEL (text), tree_data->dialog_text); + gtk_label_set_markup (GTK_LABEL (text), g_strcompress (tree_data->dialog_text)); zenity_util_set_window_icon (dialog, data->window_icon, ZENITY_IMAGE_FULLPATH ("zenity-list.png")); |