(xg_resize_outer_widget): Only do one of set_geometry or
authorJan Djärv <jan.h.d@swipnet.se>
Sat, 1 Mar 2008 14:56:53 +0000 (14:56 +0000)
committerJan Djärv <jan.h.d@swipnet.se>
Sat, 1 Mar 2008 14:56:53 +0000 (14:56 +0000)
commit1e39cbfbd7e1279fcb19297925b784127079f915
tree527e614114113d21e6e4cac1edb94974b1f171b4
parentc41cf130749506a90c313c00a679e89147880934
(xg_resize_outer_widget): Only do one of set_geometry or
set_char_size.
(xg_frame_resized): Renamed from xg_resize_widgets.  Remove all
operations on widgets here.  Just set frame size if needed.
(flush_and_sync, x_wm_size_hint_off, xg_pack_tool_bar): New functions.
(xg_frame_set_char_size): Call x_wm_size_hint_off before resizing.
(x_wm_set_size_hint): Set size hints on the edit widget only, not
the whole frame.
(xg_create_tool_bar): Move attachement of the tool bar to
xg_pack_tool_bar.  Do not attach the tool bar if there are no items.
(free_frame_tool_bar): Remove call to SET_FRAME_GARBAGED.
src/gtkutil.c