* gtkutil.c (update_frame_tool_bar): If icon image is invalid and
wicon is null, insert an empty button.
This commit is contained in:
parent
ede4ac6a6a
commit
ffbdf67b4c
2 changed files with 11 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue