[gnome-control-center] bluetooth: Allow the Bluetooth panel to reach narrower sizes
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] bluetooth: Allow the Bluetooth panel to reach narrower sizes
- Date: Tue, 25 Sep 2018 00:04:14 +0000 (UTC)
commit 30e58787b20590483533d3dc984034a216d9dd73
Author: Adrien Plazas <kekun plazas laposte net>
Date: Thu Sep 20 17:27:06 2018 +0200
bluetooth: Allow the Bluetooth panel to reach narrower sizes
panels/bluetooth/cc-bluetooth-panel.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/panels/bluetooth/cc-bluetooth-panel.c b/panels/bluetooth/cc-bluetooth-panel.c
index 5a60d70c8..ba6cce266 100644
--- a/panels/bluetooth/cc-bluetooth-panel.c
+++ b/panels/bluetooth/cc-bluetooth-panel.c
@@ -238,6 +238,7 @@ add_stack_page (CcBluetoothPanel *self,
box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
g_object_set (G_OBJECT (box), "margin-top", 64, "margin-bottom", 64, NULL);
+ g_object_set (G_OBJECT (box), "margin-start", 12, "margin-end", 12, NULL);
if (g_str_equal (name, BLUETOOTH_AIRPLANE_PAGE) ||
g_str_equal (name, BLUETOOTH_HW_AIRPLANE_PAGE)) {
@@ -258,6 +259,7 @@ add_stack_page (CcBluetoothPanel *self,
gtk_box_pack_start (GTK_BOX (box), label, FALSE, FALSE, 0);
label = gtk_label_new (explanation);
+ gtk_label_set_line_wrap (GTK_LABEL (label), TRUE);
gtk_box_pack_start (GTK_BOX (box), label, FALSE, FALSE, 0);
if (g_str_equal (name, BLUETOOTH_AIRPLANE_PAGE)) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]