summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>2017-02-28 14:42:03 -0300
committerFelipe Borges <felipeborges@gnome.org>2017-02-28 18:57:31 +0100
commit726dcfee91d76237ae75cb2fc8ce2fc3e4c884a7 (patch)
treecdf32ec74e3d8355ba4680459b496beb8993c89e
parent4ea119bb894a1de873daafb1107fe667f189e3c6 (diff)
downloadgnome-control-center-726dcfee91d76237ae75cb2fc8ce2fc3e4c884a7.tar.gz
printers: Allow printer model label to ellipsize
In the Printers panel, the model label of a given printer may be a long string, specially when it's composed of the versioning and specifics of the printer. Because the model label doesn't ellipsize, we may have very long labels, making the entire Control Center very wide and unresizeable. Fix that by making the model label ellipsize. https://bugzilla.gnome.org/show_bug.cgi?id=779376
-rw-r--r--panels/printers/printer-entry.ui1
1 files changed, 1 insertions, 0 deletions
diff --git a/panels/printers/printer-entry.ui b/panels/printers/printer-entry.ui
index 28e1f66e9..8f477d6b8 100644
--- a/panels/printers/printer-entry.ui
+++ b/panels/printers/printer-entry.ui
@@ -192,6 +192,7 @@
<object class="GtkLabel" id="printer_model">
<property name="visible">True</property>
<property name="halign">start</property>
+ <property name="ellipsize">PANGO_ELLIPSIZE_MIDDLE</property>
</object>
<packing>
<property name="left-attach">1</property>