[gnome-boxes] wizard-source: Ellipsize URL in the middle
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] wizard-source: Ellipsize URL in the middle
- Date: Fri, 27 Feb 2015 15:37:41 +0000 (UTC)
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]