diff options
| -rw-r--r-- | etc/NEWS | 2 | ||||
| -rw-r--r-- | src/ChangeLog | 6 | ||||
| -rw-r--r-- | src/frame.c | 6 | ||||
| -rw-r--r-- | src/xfns.c | 7 |
4 files changed, 19 insertions, 2 deletions
| @@ -30,7 +30,7 @@ so we will look at it and add it to the manual. | |||
| 30 | 30 | ||
| 31 | * Changes in Emacs 24.1 | 31 | * Changes in Emacs 24.1 |
| 32 | 32 | ||
| 33 | ** The scroll-bar is now on the right on GNU/Linux and UNIX-like systems. | 33 | ** GTK scroll-bars are now placed on the right by default. |
| 34 | Use `set-scroll-bar-mode' to change this. | 34 | Use `set-scroll-bar-mode' to change this. |
| 35 | 35 | ||
| 36 | 36 | ||
diff --git a/src/ChangeLog b/src/ChangeLog index da4e336b0ae..e62f3cb8bc3 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2010-03-15 Chong Yidong <cyd@stupidchicken.com> | ||
| 2 | |||
| 3 | * xfns.c (Fx_create_frame): | ||
| 4 | * frame.c (Vdefault_frame_scroll_bars): Put non-GTK X scroll-bars | ||
| 5 | on left. | ||
| 6 | |||
| 1 | 2010-03-13 Andreas Politz <politza@fh-trier.de> (tiny change) | 7 | 2010-03-13 Andreas Politz <politza@fh-trier.de> (tiny change) |
| 2 | 8 | ||
| 3 | * editfns.c (Fformat): Account for string precision when computing | 9 | * editfns.c (Fformat): Account for string precision when computing |
diff --git a/src/frame.c b/src/frame.c index c779f1c5b65..40930af594c 100644 --- a/src/frame.c +++ b/src/frame.c | |||
| @@ -4584,8 +4584,14 @@ Setting this variable does not affect existing frames, only new ones. */); | |||
| 4584 | DEFVAR_LISP ("default-frame-scroll-bars", &Vdefault_frame_scroll_bars, | 4584 | DEFVAR_LISP ("default-frame-scroll-bars", &Vdefault_frame_scroll_bars, |
| 4585 | doc: /* Default position of scroll bars on this window-system. */); | 4585 | doc: /* Default position of scroll bars on this window-system. */); |
| 4586 | #ifdef HAVE_WINDOW_SYSTEM | 4586 | #ifdef HAVE_WINDOW_SYSTEM |
| 4587 | #if defined(HAVE_NTGUI) || defined(NS_IMPL_COCOA) || (defined(USE_GTK) && defined(USE_TOOLKIT_SCROLL_BARS)) | ||
| 4588 | /* MS-Windows, Mac OS X, and GTK have scroll bars on the right by | ||
| 4589 | default. */ | ||
| 4587 | Vdefault_frame_scroll_bars = Qright; | 4590 | Vdefault_frame_scroll_bars = Qright; |
| 4588 | #else | 4591 | #else |
| 4592 | Vdefault_frame_scroll_bars = Qleft; | ||
| 4593 | #endif | ||
| 4594 | #else | ||
| 4589 | Vdefault_frame_scroll_bars = Qnil; | 4595 | Vdefault_frame_scroll_bars = Qnil; |
| 4590 | #endif | 4596 | #endif |
| 4591 | 4597 | ||
diff --git a/src/xfns.c b/src/xfns.c index 84d0d622200..45bea1e4ec2 100644 --- a/src/xfns.c +++ b/src/xfns.c | |||
| @@ -3376,7 +3376,12 @@ This function is an internal primitive--use `make-frame' instead. */) | |||
| 3376 | #endif | 3376 | #endif |
| 3377 | "internalBorderWidth", "internalBorderWidth", | 3377 | "internalBorderWidth", "internalBorderWidth", |
| 3378 | RES_TYPE_NUMBER); | 3378 | RES_TYPE_NUMBER); |
| 3379 | x_default_parameter (f, parms, Qvertical_scroll_bars, Qright, | 3379 | x_default_parameter (f, parms, Qvertical_scroll_bars, |
| 3380 | #if defined(USE_GTK) && defined(USE_TOOLKIT_SCROLL_BARS) | ||
| 3381 | Qright, | ||
| 3382 | #else | ||
| 3383 | Qleft, | ||
| 3384 | #endif | ||
| 3380 | "verticalScrollBars", "ScrollBars", | 3385 | "verticalScrollBars", "ScrollBars", |
| 3381 | RES_TYPE_SYMBOL); | 3386 | RES_TYPE_SYMBOL); |
| 3382 | 3387 | ||