[gnome-bluetooth] settings-widget: Stop spinner when it becomes invisible



commit be5a4055a8fa712a8090218842ea1933f55855a5
Author: Benjamin Berg <bberg redhat com>
Date:   Thu Dec 14 20:10:56 2017 +0100

    settings-widget: Stop spinner when it becomes invisible
    
    This looks like a simple typo where the spinner should be stopped when
    becoming invisible. Note that this never caused any issue as the spinner
    is not visible anyway.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=791728

 lib/bluetooth-settings-widget.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/bluetooth-settings-widget.c b/lib/bluetooth-settings-widget.c
index aa352bc..8695d97 100644
--- a/lib/bluetooth-settings-widget.c
+++ b/lib/bluetooth-settings-widget.c
@@ -130,7 +130,7 @@ set_connecting_page (BluetoothSettingsWidget *self,
                gtk_spinner_start (GTK_SPINNER (WID ("connecting_spinner")));
        gtk_notebook_set_current_page (GTK_NOTEBOOK (WID ("connecting_notebook")), page);
        if (page == CONNECTING_NOTEBOOK_PAGE_SWITCH)
-               gtk_spinner_start (GTK_SPINNER (WID ("connecting_spinner")));
+               gtk_spinner_stop (GTK_SPINNER (WID ("connecting_spinner")));
 }
 
 static void


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