[gnome-bluetooth] lib: Actually start the spinner when pairing
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-bluetooth] lib: Actually start the spinner when pairing
- Date: Tue, 29 Nov 2016 17:26:48 +0000 (UTC)
commit 577fbbafcec20d9922e622f933e19e776f1c802e
Author: Bastien Nocera <hadess hadess net>
Date: Tue Nov 29 17:44:24 2016 +0100
lib: Actually start the spinner when pairing
We were showing it, but not starting, meaning it was just blank space.
lib/bluetooth-settings-row.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/lib/bluetooth-settings-row.c b/lib/bluetooth-settings-row.c
index 027df4d..9704cda 100644
--- a/lib/bluetooth-settings-row.c
+++ b/lib/bluetooth-settings-row.c
@@ -95,9 +95,11 @@ bluetooth_settings_row_init (BluetoothSettingsRow *self)
gtk_widget_init_template (GTK_WIDGET (self));
- /* Placeholder text */
+ /* Placeholder text and spinner */
g_object_bind_property (priv->spinner, "visible",
priv->status, "visible", G_BINDING_INVERT_BOOLEAN | G_BINDING_BIDIRECTIONAL);
+ g_object_bind_property (priv->spinner, "active",
+ priv->status, "visible", G_BINDING_INVERT_BOOLEAN | G_BINDING_BIDIRECTIONAL);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]