diff options
-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 |