This is an automated email from the git hooks/post-receive script. landry pushed a commit to branch master in repository apps/gigolo.
commit a0f13a9413b8cb2d5713dcd47536f897d77bda8d Author: Landry Breuil <lan...@xfce.org> Date: Mon Jun 20 21:15:25 2016 +0200 Replace gtk_tool_button_new_from_stock by gtk_tool_button_new --- src/bookmarkpanel.c | 6 ++++-- src/browsenetworkpanel.c | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/bookmarkpanel.c b/src/bookmarkpanel.c index 9b4f4fe..700ed4e 100644 --- a/src/bookmarkpanel.c +++ b/src/bookmarkpanel.c @@ -253,7 +253,8 @@ static void gigolo_bookmark_panel_init(GigoloBookmarkPanel *self) gtk_toolbar_set_style(GTK_TOOLBAR(toolbar), GTK_TOOLBAR_BOTH_HORIZ); gtk_toolbar_set_icon_size(GTK_TOOLBAR(toolbar), GTK_ICON_SIZE_BUTTON); - toolitem = gtk_tool_button_new_from_stock(GTK_STOCK_CONNECT); + toolitem = gtk_tool_button_new(gtk_image_new_from_icon_name ("gtk-connect", + gtk_toolbar_get_icon_size(GTK_TOOLBAR(toolbar))), NULL); gtk_widget_set_tooltip_text(GTK_WIDGET(toolitem), _("Connect to the selected bookmark")); gtk_toolbar_insert(GTK_TOOLBAR(toolbar), toolitem, -1); g_signal_connect(toolitem, "clicked", G_CALLBACK(button_connect_click_cb), self); @@ -264,7 +265,8 @@ static void gigolo_bookmark_panel_init(GigoloBookmarkPanel *self) gtk_tool_item_set_expand(toolitem, TRUE); gtk_toolbar_insert(GTK_TOOLBAR(toolbar), toolitem, -1); - toolitem = gtk_tool_button_new_from_stock(GTK_STOCK_CLOSE); + toolitem = gtk_tool_button_new(gtk_image_new_from_icon_name ("gtk-close", + gtk_toolbar_get_icon_size(GTK_TOOLBAR(toolbar))), NULL); gtk_widget_set_tooltip_text(GTK_WIDGET(toolitem), _("Close panel")); gtk_toolbar_insert(GTK_TOOLBAR(toolbar), toolitem, -1); g_signal_connect(toolitem, "clicked", G_CALLBACK(button_close_click_cb), self); diff --git a/src/browsenetworkpanel.c b/src/browsenetworkpanel.c index 1ee51ac..6f6a5ed 100644 --- a/src/browsenetworkpanel.c +++ b/src/browsenetworkpanel.c @@ -504,7 +504,8 @@ static void gigolo_browse_network_panel_init(GigoloBrowseNetworkPanel *panel) toolitem = gtk_separator_tool_item_new(); gtk_toolbar_insert(GTK_TOOLBAR(toolbar), toolitem, -1); - toolitem = gtk_tool_button_new_from_stock(GTK_STOCK_REFRESH); + toolitem = gtk_tool_button_new(gtk_image_new_from_icon_name ("gtk-refresh", + gtk_toolbar_get_icon_size(GTK_TOOLBAR(toolbar))), NULL); gtk_widget_set_tooltip_text(GTK_WIDGET(toolitem), _("Refresh the network list")); gtk_toolbar_insert(GTK_TOOLBAR(toolbar), toolitem, -1); g_signal_connect(toolitem, "clicked", G_CALLBACK(button_refresh_click_cb), panel); @@ -515,7 +516,8 @@ static void gigolo_browse_network_panel_init(GigoloBrowseNetworkPanel *panel) gtk_tool_item_set_expand(toolitem, TRUE); gtk_toolbar_insert(GTK_TOOLBAR(toolbar), toolitem, -1); - toolitem = gtk_tool_button_new_from_stock(GTK_STOCK_CLOSE); + toolitem = gtk_tool_button_new(gtk_image_new_from_icon_name ("gtk-close", + gtk_toolbar_get_icon_size(GTK_TOOLBAR(toolbar))), NULL); gtk_widget_set_tooltip_text(GTK_WIDGET(toolitem), _("Close panel")); gtk_toolbar_insert(GTK_TOOLBAR(toolbar), toolitem, -1); g_signal_connect(toolitem, "clicked", G_CALLBACK(button_close_click_cb), panel); -- To stop receiving notification emails like this one, please contact the administrator of this repository. _______________________________________________ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits