Mercurial > emacs
comparison src/xterm.h @ 59420:eb72706060ad
* xterm.h (struct x_output): New member, toolbar_detached.
* gtkutil.c (xg_create_frame_widgets): Set initial tool bar height to
38.
(xg_tool_bar_detach_callback): Set toolbar_detached to 1.
(xg_tool_bar_attach_callback): Set toolbar_detached to 0.
(xg_create_tool_bar): Initialize toolbar_detached.
(update_frame_tool_bar): Only set FRAME_TOOLBAR_HEIGHT (f) if
toolbar_detached is zero.
author | Jan Djärv <jan.h.d@swipnet.se> |
---|---|
date | Sat, 08 Jan 2005 16:49:14 +0000 |
parents | d0fe8e91ef27 |
children | a8fa7c632ee4 3dcba0bc766b cb67264d6096 |
comparison
equal
deleted
inserted
replaced
59419:9a44c6f6d8b7 | 59420:eb72706060ad |
---|---|
497 GtkWidget *menubar_widget; | 497 GtkWidget *menubar_widget; |
498 /* The tool bar in this frame */ | 498 /* The tool bar in this frame */ |
499 GtkWidget *toolbar_widget; | 499 GtkWidget *toolbar_widget; |
500 /* The handle box that makes the tool bar detachable. */ | 500 /* The handle box that makes the tool bar detachable. */ |
501 GtkWidget *handlebox_widget; | 501 GtkWidget *handlebox_widget; |
502 /* Non-zero if the tool bar is detached. */ | |
503 int toolbar_detached; | |
502 | 504 |
503 /* The last size hints set. */ | 505 /* The last size hints set. */ |
504 GdkGeometry size_hints; | 506 GdkGeometry size_hints; |
505 long hint_flags; | 507 long hint_flags; |
506 #endif | 508 #endif |