diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-09-17 04:39:27 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-09-17 04:43:18 (EDT) |
commit | e8507a09988fb4307051d34fb5facf8621df3e7e (patch) | |
tree | 3808740961154576808c2d1b4656022a46a14b9d | |
parent | 47a5362a3a16a88f15477910c276532950216f13 (diff) | |
download | marquee-e8507a09988fb4307051d34fb5facf8621df3e7e.zip marquee-e8507a09988fb4307051d34fb5facf8621df3e7e.tar.gz marquee-e8507a09988fb4307051d34fb5facf8621df3e7e.tar.bz2 |
src/tab-chrome.c: Fix stop/reload icons
Why is everything invisible by default‽
-rw-r--r-- | src/tab-chrome.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tab-chrome.c b/src/tab-chrome.c index 110d0ff..c3d5860 100644 --- a/src/tab-chrome.c +++ b/src/tab-chrome.c @@ -85,8 +85,10 @@ navigation_toolbar_new(MqTabChrome *chrome, gchar *uri) /* Stop/reload button */ chrome->stop_icon = gtk_image_new_from_icon_name("process-stop", GTK_ICON_SIZE_SMALL_TOOLBAR); + g_object_ref_sink(chrome->stop_icon); chrome->reload_icon = gtk_image_new_from_icon_name("view-refresh", GTK_ICON_SIZE_SMALL_TOOLBAR); + g_object_ref_sink(chrome->reload_icon); chrome->stop_reload_button = gtk_tool_button_new(chrome->stop_icon, "Stop"); g_signal_connect(chrome->stop_reload_button, "clicked", @@ -229,6 +231,7 @@ loading_cb(WebKitWebView *web_view, gtk_tool_button_set_label( GTK_TOOL_BUTTON(chrome->stop_reload_button), "Reload"); } + gtk_widget_show_all(GTK_WIDGET(chrome->stop_reload_button)); } static void |