* gtkutil.c (xg_create_frame_widgets): Compensate for tool bar when
tool bar items is 0.
This commit is contained in:
parent
9c301a4ce8
commit
5500be54e1
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2004-08-27 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
|
||||
|
||||
* gtkutil.c (xg_create_frame_widgets): Compensate for tool bar when
|
||||
tool bar items is 0.
|
||||
|
||||
2004-08-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
|
||||
|
||||
* macmenu.c (ENCODE_MENU_STRING): Added to handle multibyte
|
||||
|
|
|
@ -793,7 +793,7 @@ xg_create_frame_widgets (f)
|
|||
up in the wrong place as tool bar height has not been taken into account.
|
||||
So we cheat a bit by setting a height that is what it will have
|
||||
later on when tool bar items are added. */
|
||||
if (FRAME_EXTERNAL_TOOL_BAR (f) && FRAME_TOOLBAR_HEIGHT (f) == 0)
|
||||
if (FRAME_EXTERNAL_TOOL_BAR (f) && f->n_tool_bar_items == 0)
|
||||
FRAME_TOOLBAR_HEIGHT (f) = 34;
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue