[gnome-control-center] keyboard: Don't resize the shell horizontally
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] keyboard: Don't resize the shell horizontally
- Date: Thu, 17 Feb 2011 19:10:31 +0000 (UTC)
commit 0e153740f9a24eb9f1e0d02f04023cf9df18a7bc
Author: Bastien Nocera <hadess hadess net>
Date: Thu Feb 17 19:10:00 2011 +0000
keyboard: Don't resize the shell horizontally
By ellipsising long key names.
panels/keyboard/keyboard-shortcuts.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/panels/keyboard/keyboard-shortcuts.c b/panels/keyboard/keyboard-shortcuts.c
index df5e270..ba6d92e 100644
--- a/panels/keyboard/keyboard-shortcuts.c
+++ b/panels/keyboard/keyboard-shortcuts.c
@@ -1752,6 +1752,7 @@ setup_dialog (CcPanel *panel, GtkBuilder *builder)
G_CALLBACK (start_editing_kb_cb), NULL);
renderer = gtk_cell_renderer_text_new ();
+ g_object_set (G_OBJECT (renderer), "ellipsize", PANGO_ELLIPSIZE_END, NULL);
g_signal_connect (renderer, "edited",
G_CALLBACK (description_edited_callback),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]