Commit ffbdf67b authored by Chong Yidong's avatar Chong Yidong
Browse files

* gtkutil.c (update_frame_tool_bar): If icon image is invalid and

	wicon is null, insert an empty button.
parent ede4ac6a
2006-11-03 Chong Yidong <cyd@stupidchicken.com>
* gtkutil.c (update_frame_tool_bar): If icon image is invalid and
wicon is null, insert an empty button.
2006-11-03 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
 
* xterm.c (x_raise_frame): Send _NET_ACTIVE_WINDOW when raising the
......
......@@ -3720,7 +3720,12 @@ update_frame_tool_bar (f)
if (img->load_failed_p || img->pixmap == None)
{
if (wicon) gtk_widget_hide (wicon);
if (wicon)
gtk_widget_hide (wicon);
else
gtk_toolbar_insert (GTK_TOOLBAR (x->toolbar_widget),
gtk_tool_button_new (NULL, ""),
i);
continue;
}
......
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