+2005-02-15 Martin Kretzschmar <martink@gnome.org>
+
+ * shell/ev-window.c (update_window_title): replace newlines in
+ the title by spaces. Bug #166107.
+
2005-02-14 Martin Kretzschmar <martink@gnome.org>
* shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
}
}
}
+
+ if (doc_title) {
+ char *p;
+
+ for (p = doc_title; *p; ++p) {
+ /* an '\n' byte is always ASCII, no need for UTF-8 special casing */
+ if (*p == '\n')
+ *p = ' ';
+ }
+ }
+
if (doc_title == NULL && ev_window->priv->uri) {
doc_title = g_path_get_basename (ev_window->priv->uri);
}