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
This commit is contained in:
parent
11c4844e56
commit
7bfc2f64f4
1 changed files with 1 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue