summaryrefslogtreecommitdiff
path: root/src/calendar.c
diff options
context:
space:
mode:
authorLucas Rocha <lucasr@cvs.gnome.org>2005-11-15 04:14:35 +0000
committerLucas Almeida Rocha <lucasr@src.gnome.org>2005-11-15 04:14:35 +0000
commit5547de9384430dfccb9c3c8a68badfa120760b4a (patch)
treec8b6dfa4c59b3b3a72bf71432a8d962ef1ee2ed7 /src/calendar.c
parentpost release version bump. (diff)
downloadzenity-5547de9384430dfccb9c3c8a68badfa120760b4a.tar.gz
zenity-5547de9384430dfccb9c3c8a68badfa120760b4a.tar.bz2
zenity-5547de9384430dfccb9c3c8a68badfa120760b4a.zip
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/calendar.c')
-rw-r--r--src/calendar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/calendar.c b/src/calendar.c
index f876c038..fd0eb7b5 100644
--- a/src/calendar.c
+++ b/src/calendar.c
@@ -68,7 +68,7 @@ zenity_calendar (ZenityData *data, ZenityCalendarData *cal_data)
text = glade_xml_get_widget (glade_dialog, "zenity_calendar_text");
if (cal_data->dialog_text)
- gtk_label_set_text (GTK_LABEL (text), cal_data->dialog_text);
+ gtk_label_set_markup (GTK_LABEL (text), g_strcompress (cal_data->dialog_text));
calendar = glade_xml_get_widget (glade_dialog, "zenity_calendar");
bgstack15