/soc/2015/mmcc/main: bfbb1fe518cb: replace deprecated gtk_tool_b...

Michael McConville <[email protected]>
Newsgroups gmane.comp.gnome.gaim.cvs
Message-ID <[email protected]>
Changeset: bfbb1fe518cb6103e3e56df7e57abc1dddebb8ee
Author:	 Michael McConville <[email protected]>
Date:	 2015-07-07 23:02 -0400
Branch:	 default
URL: https://hg.pidgin.im/soc/2015/mmcc/main/rev/bfbb1fe518cb

Description:

replace deprecated gtk_tool_button_set_stock_id() with gtk_tool_button_set_icon_name()

diffstat:

 pidgin/gtkwebviewtoolbar.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff --git a/pidgin/gtkwebviewtoolbar.c b/pidgin/gtkwebviewtoolbar.c
--- a/pidgin/gtkwebviewtoolbar.c
+++ b/pidgin/gtkwebviewtoolbar.c
@@ -1526,7 +1526,7 @@ pidgin_webviewtoolbar_create_lean_view(P
 		g_strdup("font"), g_free);
 	gtk_toolbar_insert(GTK_TOOLBAR(priv->lean_view), font_button, -1);
 	gtk_tool_item_set_is_important(font_button, TRUE);
-	gtk_tool_button_set_stock_id(GTK_TOOL_BUTTON(font_button), _("_Bold"));
+	gtk_tool_button_set_icon_name(GTK_TOOL_BUTTON(font_button), "format-text-bold");
 	priv->font_label = label = gtk_label_new_with_mnemonic(_("_Font"));
 	gtk_label_set_use_markup(GTK_LABEL(label), TRUE);
 	gtk_tool_button_set_label_widget(GTK_TOOL_BUTTON(font_button), label);

_______________________________________________
Commits mailing list
[email protected]
https://pidgin.im/cgi-bin/mailman/listinfo/commits
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.