Kaydet (Commit) 46ecf706 authored tarafından Enrico Tröger's avatar Enrico Tröger

Fix broken 'Show the current document' tool button icon.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4006 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst e4ffb33c
......@@ -15,6 +15,8 @@
Remove underscores from the toolbar items labels.
* src/utils.c:
Fix typos.
* plugins/splitwindow.c:
Fix broken 'Show the current document' tool button icon.
2009-07-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
......
......@@ -239,7 +239,7 @@ static GtkWidget *ui_tool_button_new(const gchar *stock_id, const gchar *label,
}
item = gtk_tool_button_new(NULL, label);
if (stock_id)
gtk_tool_button_set_icon_name(GTK_TOOL_BUTTON(item), stock_id);
gtk_tool_button_set_stock_id(GTK_TOOL_BUTTON(item), stock_id);
if (!tooltip)
tooltip = label;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment