summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2016-11-29 17:44:24 +0100
committerBastien Nocera <hadess@hadess.net>2016-11-29 17:44:24 +0100
commit577fbbafcec20d9922e622f933e19e776f1c802e (patch)
treef1bae904803776e72f4fb3ab869a13d9592e4c1e
parent9b368efda7722e421ca1727563afb129ae2ebe6e (diff)
downloadgnome-bluetooth-577fbbafcec20d9922e622f933e19e776f1c802e.tar.gz
lib: Actually start the spinner when pairing
We were showing it, but not starting, meaning it was just blank space.
-rw-r--r--lib/bluetooth-settings-row.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/bluetooth-settings-row.c b/lib/bluetooth-settings-row.c
index 027df4da..9704cdac 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