summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Newman <MikeGTN@src.gnome.org>2003-06-13 22:01:48 +0000
committerMike Newman <MikeGTN@src.gnome.org>2003-06-13 22:01:48 +0000
commitaf594b60e97a43d8c60027971ed91029df5a7e67 (patch)
tree36b16d608703b71803a5c78a11f705814cad7f9b
parent9050357a9b482a4fceb8826425c4ee613921fb2e (diff)
*** empty log message ***
-rw-r--r--ChangeLog1
-rw-r--r--src/progress.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 1f6ba98..e6edf9b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
2003-06-13 Mike Newman <mikegtn@gnome.org>
+ * src/progress.c: allow \t and \n in text updated via '#' lines.
* src/about.c: fixed my email address.
2003-06-10 Mike Newman <mikegtn@gnome.org>
diff --git a/src/progress.c b/src/progress.c
index e07039b..c7ab5cf 100644
--- a/src/progress.c
+++ b/src/progress.c
@@ -101,7 +101,7 @@ zenity_progress_handle_stdin (GIOChannel *channel,
/* We have a comment, so let's try to change the label */
match = g_strstr_len (string->str, strlen (string->str), "#");
match++;
- gtk_label_set_text (GTK_LABEL (progress_label), g_strchomp (g_strchug (match)));
+ gtk_label_set_text (GTK_LABEL (progress_label), g_strcompress(g_strchomp (g_strchug (match))));
} else {
if (!g_ascii_isdigit (*(string->str)))