[gnome-boxes] wizard-source: Ellipsize URL in the middle



commit fcc75ac86d200397bd80b2af44072941815e212c
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Fri Feb 27 15:11:16 2015 +0000

    wizard-source: Ellipsize URL in the middle
    
    Try to ensure the hostname and filename are visible.

 src/wizard-source.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/wizard-source.vala b/src/wizard-source.vala
index 78f8159..ea1e95c 100644
--- a/src/wizard-source.vala
+++ b/src/wizard-source.vala
@@ -190,7 +190,7 @@ private class Boxes.WizardSource: Gtk.Stack {
                 completion.text_column = 0;
                 completion.model = url_store;
                 weak Gtk.CellRendererText cell = completion.get_cells ().nth_data (0) as 
Gtk.CellRendererText;
-                cell.ellipsize = Pango.EllipsizeMode.START;
+                cell.ellipsize = Pango.EllipsizeMode.MIDDLE;
                 completion.set_match_func ((store, key, iter) => {
                     string url;
 


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