diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-09-17 04:28:54 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-09-17 04:28:54 (EDT) |
commit | 47a5362a3a16a88f15477910c276532950216f13 (patch) | |
tree | dfa56471c561b8edf871ae6a4eca20673d190621 | |
parent | 4d2d7f7bbd13c6103f52ce8b02e5709462dae988 (diff) | |
download | marquee-47a5362a3a16a88f15477910c276532950216f13.zip marquee-47a5362a3a16a88f15477910c276532950216f13.tar.gz marquee-47a5362a3a16a88f15477910c276532950216f13.tar.bz2 |
src/tab-chrome.c: Switch between saved stop/reload icons
-rw-r--r-- | src/tab-chrome.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tab-chrome.c b/src/tab-chrome.c index bf39726..110d0ff 100644 --- a/src/tab-chrome.c +++ b/src/tab-chrome.c @@ -217,15 +217,15 @@ loading_cb(WebKitWebView *web_view, GParamSpec __attribute__((unused)) *paramspec, MqTabChrome *chrome) { if (webkit_web_view_is_loading(web_view)) { - gtk_tool_button_set_icon_name( + gtk_tool_button_set_icon_widget( GTK_TOOL_BUTTON(chrome->stop_reload_button), - "process-stop"); + chrome->stop_icon); gtk_tool_button_set_label( GTK_TOOL_BUTTON(chrome->stop_reload_button), "Stop"); } else { - gtk_tool_button_set_icon_name( + gtk_tool_button_set_icon_widget( GTK_TOOL_BUTTON(chrome->stop_reload_button), - "view-refresh"); + chrome->reload_icon); gtk_tool_button_set_label( GTK_TOOL_BUTTON(chrome->stop_reload_button), "Reload"); } |