Commit 94967e5a authored by William Jon McCann's avatar William Jon McCann

Don't allow multiline filenames

https://bugzilla.gnome.org/show_bug.cgi?id=683059
parent 8a6f915d
......@@ -234,6 +234,7 @@ nautilus_floating_bar_constructed (GObject *obj)
w = gtk_label_new (NULL);
gtk_label_set_ellipsize (GTK_LABEL (w), PANGO_ELLIPSIZE_END);
gtk_label_set_single_line_mode (GTK_LABEL (w), TRUE);
gtk_box_pack_start (GTK_BOX (box), w, FALSE, FALSE, 0);
g_object_set (w,
"margin-top", 2,
......
......@@ -1507,6 +1507,7 @@ create_and_set_up_tree_view (NautilusListView *view)
view->details->file_name_cell = (GtkCellRendererText *)cell;
g_object_set (cell,
"ellipsize", PANGO_ELLIPSIZE_END,
"single-paragraph-mode", TRUE,
"xpad", 5,
NULL);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment