diff --git a/data/ui/widgets/status.ui b/data/ui/widgets/status.ui index e87e36cd7..f34e79735 100644 --- a/data/ui/widgets/status.ui +++ b/data/ui/widgets/status.ui @@ -108,9 +108,9 @@ True - True + 0 True - -1 + 100 diff --git a/src/Widgets/LabelWithWidgets.vala b/src/Widgets/LabelWithWidgets.vala index 2d4d04b92..88e5ad759 100644 --- a/src/Widgets/LabelWithWidgets.vala +++ b/src/Widgets/LabelWithWidgets.vala @@ -47,6 +47,8 @@ public class Tuba.Widgets.LabelWithWidgets : Gtk.Widget, Gtk.Buildable, Gtk.Acce return _ellipsize; } set { + if (_ellipsize == value) return; + _ellipsize = value; update_label (); } @@ -58,6 +60,8 @@ public class Tuba.Widgets.LabelWithWidgets : Gtk.Widget, Gtk.Buildable, Gtk.Acce return _use_markup; } set { + if (_use_markup == value) return; + _use_markup = value; label.use_markup = _use_markup; }