aboutsummarylogtreecommitdiffstats
path: root/fixes__labels-wrapping.patch
diff options
context:
space:
mode:
Diffstat (limited to 'fixes__labels-wrapping.patch')
-rw-r--r--fixes__labels-wrapping.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/fixes__labels-wrapping.patch b/fixes__labels-wrapping.patch
index 6cc18e037585..290cc2ae037f 100644
--- a/fixes__labels-wrapping.patch
+++ b/fixes__labels-wrapping.patch
@@ -12,10 +12,10 @@ diff --color -U 5 -r -Z -B ./org/gtk/gtklabel.c ./mod/gtk/gtklabel.c
+ {
+ gint default_window_width;
+ gtk_window_get_default_size (GTK_WINDOW (toplevel), &default_window_width, NULL);
-+ if (default_window_width == -1 && priv->max_width_chars == -1)
-+ priv->max_width_chars = 52;
++ if (default_window_width == -1 && priv->max_width_chars == -1 && priv->ellipsize == PANGO_ELLIPSIZE_NONE)
++ priv->max_width_chars = 56;
+ }
-
+
/* "width-chars" Hard-coded minimum width:
* - minimum size should be MAX (width-chars, strlen ("..."));
* - natural size should be MAX (width-chars, strlen (priv->text));