[epiphany] header-bar: Make stop button work again



commit 5eb43a069eb3c84c59db1aaf6cb07e8cbead6e7e
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Sun Jan 22 10:29:53 2017 -0600

    header-bar: Make stop button work again
    
    https://bugzilla.gnome.org/show_bug.cgi?id=777585

 src/ephy-header-bar.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/ephy-header-bar.c b/src/ephy-header-bar.c
index d54683d..b6c88c3 100644
--- a/src/ephy-header-bar.c
+++ b/src/ephy-header-bar.c
@@ -577,8 +577,9 @@ ephy_header_bar_change_combined_stop_reload_state (GSimpleAction *action,
     gtk_widget_set_tooltip_text (header_bar->combined_stop_reload_button, _(REFRESH_BUTTON_TOOLTIP));
   }
 
-  gtk_button_set_image (GTK_BUTTON (header_bar->combined_stop_reload_button),
-                        image);
+  gtk_button_set_image (GTK_BUTTON (header_bar->combined_stop_reload_button), image);
+
+  g_simple_action_set_state (action, loading);
 }
 
 static void


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