[gnome-bluetooth] settings: Avoid spinner + label in row



commit 6721cdbbaaf0b0ec6b5e45092f103faf36403719
Author: Bastien Nocera <hadess hadess net>
Date:   Fri Dec 6 17:17:48 2013 +0100

    settings: Avoid spinner + label in row
    
    When cancelling a pair, both the spinner and the label would
    visible in the row, instead of just the label.

 lib/bluetooth-settings-row.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/bluetooth-settings-row.c b/lib/bluetooth-settings-row.c
index 76fd2c4..fa2fb89 100644
--- a/lib/bluetooth-settings-row.c
+++ b/lib/bluetooth-settings-row.c
@@ -124,7 +124,7 @@ bluetooth_settings_row_init (BluetoothSettingsRow *self)
        gtk_widget_set_margin_end (priv->status, 24);
        gtk_box_pack_start (GTK_BOX (box), priv->status, FALSE, TRUE, 0);
        g_object_bind_property (priv->spinner, "visible",
-                               priv->status, "visible", G_BINDING_INVERT_BOOLEAN);
+                               priv->status, "visible", G_BINDING_INVERT_BOOLEAN | G_BINDING_BIDIRECTIONAL);
 
        gtk_widget_show (priv->status);
        gtk_widget_show_all (GTK_WIDGET (self));


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]