Mercurial > emacs
view etc/ORDERS @ 109749:be18c3b67d66
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.
author | Jan D <jan.h.d@swipnet.se> |
---|---|
date | Wed, 11 Aug 2010 20:28:10 +0200 |
parents | ea7513e99331 |
children |
line wrap: on
line source
Printed copies of the GNU Emacs Manual, the Emacs Lisp Reference Manual, "Programming in Emacs Lisp: An Introduction", and other materials can be ordered directly from the Free Software Foundation. For more information, see the online store at <http://shop.fsf.org/>. Your purchases will help support further development of Emacs and other free software programs. You can also make tax-deductible donations to the Free Software Foundation, a not-for-profit organization (assuming you pay US taxes) - see <https://my.fsf.org/donate/>.