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 /src/ChangeLog | |
| 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 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 89414fa4d78..1275b4a8def 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,14 @@ | |||
| 1 | 2010-08-11 Jan Djärv <jan.h.d@swipnet.se> | 1 | 2010-08-11 Jan Djärv <jan.h.d@swipnet.se> |
| 2 | 2 | ||
| 3 | * xfns.c (x_defined_color): If USE_GTK, call xg_check_special_colors | ||
| 4 | first. | ||
| 5 | |||
| 6 | * gtkutil.h (xg_check_special_colors): Declare. | ||
| 7 | |||
| 8 | * gtkutil.c (xg_check_special_colors, style_changed_cb): New functions. | ||
| 9 | (xg_create_frame_widgets): Connect theme name changes to | ||
| 10 | style_changed_cb. | ||
| 11 | |||
| 3 | * xterm.c (emacs_class): New char[] for EMACS_CLASS. | 12 | * xterm.c (emacs_class): New char[] for EMACS_CLASS. |
| 4 | (xim_open_dpy, xim_initialize, xim_close_dpy): Use emacs_class. | 13 | (xim_open_dpy, xim_initialize, xim_close_dpy): Use emacs_class. |
| 5 | (x_term_init): Use char[] display_opt and name_opt instead of | 14 | (x_term_init): Use char[] display_opt and name_opt instead of |