[gnome-control-center] user-accounts: ellipsize long user names in the password dialog



commit 17be761a41105b7106dceac1b4d9336d57f692d1
Author: Thomas Wood <thomas wood intel com>
Date:   Fri Apr 26 16:46:38 2013 +0100

    user-accounts: ellipsize long user names in the password dialog
    
    Ellipsize long user names in the password dialog by using the same
    properties as the main panel.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=698965

 panels/user-accounts/data/password-dialog.ui |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/panels/user-accounts/data/password-dialog.ui b/panels/user-accounts/data/password-dialog.ui
index 81de04f..65c05de 100644
--- a/panels/user-accounts/data/password-dialog.ui
+++ b/panels/user-accounts/data/password-dialog.ui
@@ -329,6 +329,8 @@
                       <object class="GtkLabel" id="user-name">
                         <property name="visible">True</property>
                         <property name="xalign">0</property>
+                        <property name="ellipsize">end</property>
+                        <property name="max_width_chars">30</property>
                         <attributes>
                           <attribute name="weight" value="bold"/>
                           <attribute name="scale" value="1.200000"/>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]