[gnome-control-center] shell: Avoid width changes when searching
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] shell: Avoid width changes when searching
- Date: Wed, 28 Aug 2013 16:37:09 +0000 (UTC)
commit 7bfc2f64f4e812fd56fbeda7a8f82c856af1a254
Author: Bastien Nocera <hadess hadess net>
Date: Fri Aug 23 18:02:14 2013 +0200
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
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 aa7b822..b91dcf3 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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]