diff options
| author | Jan D | 2010-08-11 20:28:10 +0200 |
|---|---|---|
| committer | Jan D | 2010-08-11 20:28:10 +0200 |
| commit | 3a46642b081c504b6e25c65d81999fcc0dff5fb2 (patch) | |
| tree | a7f42c1836467e6c8539cef167977a48c182ad97 /etc | |
| parent | 42ca463309fdb17f04a72dad92696312bf242328 (diff) | |
| download | emacs-3a46642b081c504b6e25c65d81999fcc0dff5fb2.tar.gz emacs-3a46642b081c504b6e25c65d81999fcc0dff5fb2.zip | |
Take colors for region face (selected text) from the Gtk+ theme.
* lisp/dynamic-setting.el (dynamic-setting-handle-config-changed-event):
Handle theme-name change.
* lisp/faces.el (region): Add type gtk that uses gtk colors.
* src/gtkutil.c (xg_check_special_colors, style_changed_cb): New functions.
(xg_create_frame_widgets): Connect theme name changes to
style_changed_cb.
* src/gtkutil.h (xg_check_special_colors): Declare.
* src/xfns.c (x_defined_color): If USE_GTK, call xg_check_special_colors
first.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
| @@ -109,6 +109,9 @@ The frame-parameter tool-bar-position controls this. It takes the values | |||
| 109 | top, left, tight or bottom. The Options => Show/Hide menu has entries | 109 | top, left, tight or bottom. The Options => Show/Hide menu has entries |
| 110 | for this. | 110 | for this. |
| 111 | 111 | ||
| 112 | ** The colors for selected text (the region face) are taken from the GTK | ||
| 113 | theme when Emacs is built with GTK. | ||
| 114 | |||
| 112 | ** Emacs uses GTK tooltips by default if built with GTK. You can turn that | 115 | ** Emacs uses GTK tooltips by default if built with GTK. You can turn that |
| 113 | off by customizing x-gtk-use-system-tooltips. | 116 | off by customizing x-gtk-use-system-tooltips. |
| 114 | 117 | ||