[gnome-control-center] printers: Allow printer model label to ellipsize
- From: Felipe Borges <felipeborges src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] printers: Allow printer model label to ellipsize
- Date: Tue, 28 Feb 2017 17:58:12 +0000 (UTC)
commit 726dcfee91d76237ae75cb2fc8ce2fc3e4c884a7
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Tue Feb 28 14:42:03 2017 -0300
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
panels/printers/printer-entry.ui | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/panels/printers/printer-entry.ui b/panels/printers/printer-entry.ui
index 28e1f66..8f477d6 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>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]