[gnome-bluetooth] settings: Ellipsise the labels in each row
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-bluetooth] settings: Ellipsise the labels in each row
- Date: Thu, 12 Dec 2013 18:56:01 +0000 (UTC)
commit 9d268e5fd81c7eb5b509c7f57d8a0f244067c406
Author: Bastien Nocera <hadess hadess net>
Date: Thu Dec 12 19:15:00 2013 +0100
settings: Ellipsise the labels in each row
lib/bluetooth-settings-row.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/lib/bluetooth-settings-row.c b/lib/bluetooth-settings-row.c
index c253f4d..5fbc47d 100644
--- a/lib/bluetooth-settings-row.c
+++ b/lib/bluetooth-settings-row.c
@@ -99,6 +99,7 @@ bluetooth_settings_row_init (BluetoothSettingsRow *self)
/* Name is already escaped */
priv->label = gtk_label_new ("Placeholder Name");
+ gtk_label_set_ellipsize (GTK_LABEL (priv->label), PANGO_ELLIPSIZE_END);
gtk_misc_set_alignment (GTK_MISC (priv->label), 0, 0.5);
gtk_widget_set_margin_start (priv->label, 20);
gtk_widget_set_margin_end (priv->label, 20);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]