[gnome-control-center] printers: Ellipsize the "location" in the printer entry
- From: Felipe Borges <felipeborges src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] printers: Ellipsize the "location" in the printer entry
- Date: Sun, 26 Feb 2017 11:50:57 +0000 (UTC)
commit 1de145a10b9017f567291eabccd099725250a226
Author: Felipe Borges <felipeborges gnome org>
Date: Wed Feb 22 16:40:35 2017 +0100
printers: Ellipsize the "location" in the printer entry
Long location names were causing the whole dialog to expand
horizontally.
This patch ellipsizes the "location" string just like the
other fields of a printer entry.
https://bugzilla.gnome.org/show_bug.cgi?id=779071
panels/printers/printer-entry.ui | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/panels/printers/printer-entry.ui b/panels/printers/printer-entry.ui
index 31cbc82..82de74a 100644
--- a/panels/printers/printer-entry.ui
+++ b/panels/printers/printer-entry.ui
@@ -203,8 +203,6 @@
<object class="GtkLabel" id="printer_location_label">
<property name="visible">True</property>
<property name="label" translatable="yes">Location</property>
- <property name="ellipsize">PANGO_ELLIPSIZE_MIDDLE</property>
- <property name="max-width-chars">30</property>
<property name="halign">end</property>
<style>
<class name="dim-label"/>
@@ -220,6 +218,8 @@
<object class="GtkLabel" id="printer_location_address_label">
<property name="visible">True</property>
<property name="halign">start</property>
+ <property name="ellipsize">PANGO_ELLIPSIZE_MIDDLE</property>
+ <property name="max-width-chars">30</property>
</object>
<packing>
<property name="left-attach">1</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]