diff options
-rw-r--r-- | src/tab-chrome.c | 9 | ||||
-rw-r--r-- | src/tab-chrome.h | 2 |
2 files changed, 8 insertions, 3 deletions
diff --git a/src/tab-chrome.c b/src/tab-chrome.c index b1477de..bf39726 100644 --- a/src/tab-chrome.c +++ b/src/tab-chrome.c @@ -83,9 +83,12 @@ navigation_toolbar_new(MqTabChrome *chrome, gchar *uri) gtk_toolbar_insert(navigation_toolbar, chrome->forward_button, -1); /* Stop/reload button */ - chrome->stop_reload_button = gtk_tool_button_new( - gtk_image_new_from_icon_name("process-stop", - GTK_ICON_SIZE_SMALL_TOOLBAR), "Stop"); + chrome->stop_icon = gtk_image_new_from_icon_name("process-stop", + GTK_ICON_SIZE_SMALL_TOOLBAR); + chrome->reload_icon = gtk_image_new_from_icon_name("view-refresh", + GTK_ICON_SIZE_SMALL_TOOLBAR); + chrome->stop_reload_button = gtk_tool_button_new(chrome->stop_icon, + "Stop"); g_signal_connect(chrome->stop_reload_button, "clicked", G_CALLBACK(stop_reload_clicked_cb), chrome); gtk_toolbar_insert(navigation_toolbar, chrome->stop_reload_button, -1); diff --git a/src/tab-chrome.h b/src/tab-chrome.h index 3785a95..90182ef 100644 --- a/src/tab-chrome.h +++ b/src/tab-chrome.h @@ -32,6 +32,8 @@ typedef struct { GtkWidget *container; GtkToolItem *back_button; GtkToolItem *forward_button; + GtkWidget *stop_icon; + GtkWidget *reload_icon; GtkToolItem *stop_reload_button; GtkWidget *uri_entry; WebKitWebView *web_view; |