[totem] main: Rename widget to match reality



commit f9d64af951cfd65beff51b842eb7a7e2c82bd5fe
Author: Bastien Nocera <hadess hadess net>
Date:   Fri Sep 12 14:13:05 2014 +0200

    main: Rename widget to match reality
    
    We're not checking whether the volume button is visible, but if the
    volume button's popover is visible.

 src/totem-object.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/totem-object.c b/src/totem-object.c
index c607c1c..52b13d3 100644
--- a/src/totem-object.c
+++ b/src/totem-object.c
@@ -3561,11 +3561,11 @@ popup_menu_shown_cb (GtkToggleButton *button,
 }
 
 static void
-volume_button_menu_shown_cb (GObject     *volume_button,
+volume_button_menu_shown_cb (GObject     *popover,
                             GParamSpec  *pspec,
                             TotemObject *totem)
 {
-       if (gtk_widget_is_visible (GTK_WIDGET (volume_button)))
+       if (gtk_widget_is_visible (GTK_WIDGET (popover)))
                bacon_video_widget_mark_popup_busy (totem->bvw, "volume menu visible");
        else
                bacon_video_widget_unmark_popup_busy (totem->bvw, "volume menu visible");


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