diff options
author | Bastien Nocera <hadess@hadess.net> | 2013-08-23 18:02:14 +0200 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2013-08-28 12:32:54 -0400 |
commit | 7bfc2f64f4e812fd56fbeda7a8f82c856af1a254 (patch) | |
tree | 8de0e48b99d22e9e55a4affe3768c8cf1c087542 /shell/cc-window.c | |
parent | 11c4844e56553789b8d257bc4c25efe047888528 (diff) | |
download | gnome-control-center-7bfc2f64f4e812fd56fbeda7a8f82c856af1a254.tar.gz |
shell: Avoid width changes when searching
In some locales, the description will be too long, so
ellipsise it to avoid the window changing width.
https://bugzilla.gnome.org/show_bug.cgi?id=706626
Diffstat (limited to 'shell/cc-window.c')
-rw-r--r-- | shell/cc-window.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/shell/cc-window.c b/shell/cc-window.c index aa7b82223..b91dcf3b5 100644 --- a/shell/cc-window.c +++ b/shell/cc-window.c @@ -790,6 +790,7 @@ setup_search (CcWindow *shell) gd_styled_text_renderer_add_class (GD_STYLED_TEXT_RENDERER (renderer), "dim-label"); g_object_set (renderer, "xpad", 15, + "ellipsize", PANGO_ELLIPSIZE_END, NULL); column = gtk_tree_view_column_new_with_attributes ("Description", renderer, "text", COL_DESCRIPTION, |