[epiphany/wip/exalm/tabs: 17/17] Fix a warning




commit b5105f64bf7abe66f9c4de0d6307225e42835d80
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Wed Sep 23 03:45:14 2020 +0500

    Fix a warning

 src/ephy-window.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/ephy-window.c b/src/ephy-window.c
index 467418b70..364695e9e 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -2615,7 +2615,7 @@ tab_view_setup_menu_cb (HdyTabView *tab_view,
                                        "mute");
   g_simple_action_set_enabled (G_SIMPLE_ACTION (action), !page || audio_playing);
   g_simple_action_set_state (G_SIMPLE_ACTION (action),
-                             g_variant_new_boolean (muted));
+                             g_variant_new_boolean (!page || muted));
 
   action = g_action_map_lookup_action (G_ACTION_MAP (action_group),
                                        "close");


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