Skip to content
Browse files
EomMetadataSidebar: Allow filename to be wrapped at char boundaries
It is possible for this field to contain no "word".
Enable wrapping at char boundaries as fallback so that such files
don't cause the sidebar enlarging too much.

origin commit:
  • Loading branch information
fxri authored and raveit65 committed Jul 8, 2018
1 parent bcc8082 commit e6cda9623c168a5944b89164b97cc00ad25c03b5
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/eom-metadata-sidebar.c
@@ -506,6 +506,10 @@ eom_metadata_sidebar_init (EomMetadataSidebar *sidebar)
&priv->size_label, _("File size:"));
label = _gtk_grid_append_prop_line (GTK_GRID (priv->grid), label,
NULL, _("Folder:"));
/* Enable wrapping at char boundaries as fallback for the filename
* as it is possible for it to not contain any "words" to wrap on. */
gtk_label_set_line_wrap_mode (GTK_LABEL (priv->name_label),

priv->folder_button = gtk_button_new_with_label ("");

0 comments on commit e6cda96

Please sign in to comment.