changeset 109987:2e817b887353

merge trunk
author Kenichi Handa <handa@m17n.org>
date Wed, 25 Aug 2010 17:15:45 +0900
parents d9cfc4f455fc (current diff) 1c825c451dc0 (diff)
children ae3fecdc3276
files lisp/ChangeLog
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Wed Aug 25 15:15:12 2010 +0900
+++ b/lisp/ChangeLog	Wed Aug 25 17:15:45 2010 +0900
@@ -6,6 +6,11 @@
 	* international/fontset.el (setup-default-fontset): Fix typo for
 	arabic OTF spec (fini->fina).
 
+2010-08-25  Jan Djärv  <jan.h.d@swipnet.se>
+
+	* menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
+	on all frames.
+
 2010-08-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
 
 	* whitespace.el: Allow cleaning up blanks without blank
--- a/lisp/menu-bar.el	Wed Aug 25 15:15:12 2010 +0900
+++ b/lisp/menu-bar.el	Wed Aug 25 17:15:45 2010 +0900
@@ -970,7 +970,8 @@
 
 (defun menu-bar-set-tool-bar-position (position)
   (customize-set-variable 'tool-bar-mode t)
-  (set-frame-parameter nil 'tool-bar-position position)
+  (dolist (frame (frame-list))
+    (set-frame-parameter frame 'tool-bar-position position))
   (customize-set-variable 'default-frame-alist
 			  (cons (cons 'tool-bar-position position)
 				(assq-delete-all 'tool-bar-position