diff options
| author | Chong Yidong | 2010-06-26 20:30:52 -0400 |
|---|---|---|
| committer | Chong Yidong | 2010-06-26 20:30:52 -0400 |
| commit | 6431f2e619d1ce4cff097a3837f6b9e931f1f61a (patch) | |
| tree | dbb4f0ef7419becd60a7a03b5f0b2558f258594f /src/ChangeLog | |
| parent | 394f238630dc4904435c15dad92727a900916b97 (diff) | |
| download | emacs-6431f2e619d1ce4cff097a3837f6b9e931f1f61a.tar.gz emacs-6431f2e619d1ce4cff097a3837f6b9e931f1f61a.zip | |
Change default-frame-alist and menu/tool-bar-mode interaction (Bug#2249).
Don't add entries for `menu-bar-lines' and `tool-bar-lines' to
`default-frame-alist' and `initial-frame-alist' at startup.
Instead, use X resources to update the `menu-bar-mode' and
`tool-bar-mode' variables at startup, and use them as defaults during
frame creation.
* lisp/frame.el (frame-notice-user-settings): Don't change
default-frame-alist based on menu-bar-mode and tool-bar-mode, or
vice versa.
* lisp/menu-bar.el (menu-bar-mode):
* lisp/tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
Set init-value to t.
* lisp/startup.el (command-line): Use X resources to set the value of
menu-bar-mode and tool-bar-mode, before calling frame-initialize.
* src/frame.c (Vmenu_bar_mode, Vtool_bar_mode): New vars.
* src/w32fns.c (Fx_create_frame):
* src/nsfns.m (Fx_create_frame): Likewise.
* src/xfns.c (Fx_create_frame): Don't consult X resouces when setting
menu-bar-lines and tool-bar-lines. Use menu-bar-mode and
tool-bar-mode, which are now set using these X resources at
startup, to determine the defaults.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 9777ab2202b..a7de72e3f95 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,15 @@ | |||
| 1 | 2010-06-27 Chong Yidong <cyd@stupidchicken.com> | ||
| 2 | |||
| 3 | * xfns.c (Fx_create_frame): Don't consult X resouces when setting | ||
| 4 | menu-bar-lines and tool-bar-lines. Use menu-bar-mode and | ||
| 5 | tool-bar-mode, which are now set using these X resources at | ||
| 6 | startup, to determine the defaults (Bug#2249). | ||
| 7 | |||
| 8 | * w32fns.c (Fx_create_frame): | ||
| 9 | * nsfns.m (Fx_create_frame): Likewise. | ||
| 10 | |||
| 11 | * frame.c (Vmenu_bar_mode, Vtool_bar_mode): New vars. | ||
| 12 | |||
| 1 | 2010-06-24 Juanma Barranquero <lekktu@gmail.com> | 13 | 2010-06-24 Juanma Barranquero <lekktu@gmail.com> |
| 2 | 14 | ||
| 3 | * gtkutil.c (xg_update_scrollbar_pos): | 15 | * gtkutil.c (xg_update_scrollbar_pos): |