aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorJan Djärv2011-07-05 10:21:38 +0200
committerJan Djärv2011-07-05 10:21:38 +0200
commit869795d6b510972d846183141885569ebf0c44f4 (patch)
tree3e5ab0cd0a628b49b2ff99e479d5c5d71b849f31 /src/ChangeLog
parent3ca5c03fb15d2c83112f2b5997dc06b418450a3d (diff)
downloademacs-869795d6b510972d846183141885569ebf0c44f4.tar.gz
emacs-869795d6b510972d846183141885569ebf0c44f4.zip
Use GConf and GSettings both, check GConf/GSettings toolbar style and font name.
* configure.in (HAVE_GCONF): Allow both HAVE_GCONF and HAVE_GSETTINGS. * lisp/dynamic-setting.el (dynamic-setting-handle-config-changed-event): Update doc string. * src/xsettings.c: Use both GConf and GSettings if both are available. (store_config_changed_event): Add comment. (dpyinfo_valid, store_font_name_changed, map_tool_bar_style) (store_tool_bar_style_changed): New functions. (store_monospaced_changed): Add comment. Call dpyinfo_valid. (struct xsettings): Move font inside HAVE_XFT. (GSETTINGS_TOOL_BAR_STYLE, GSETTINGS_FONT_NAME): New defines. (GSETTINGS_MONO_FONT): Renamed from SYSTEM_MONO_FONT. Move inside HAVE_XFT. (something_changed_gsettingsCB): Renamed from something_changedCB. Check for changes in GSETTINGS_TOOL_BAR_STYLE and GSETTINGS_FONT_NAME also. (GCONF_TOOL_BAR_STYLE, GCONF_FONT_NAME): New defines. (GCONF_MONO_FONT): Renamed from SYSTEM_MONO_FONT. Move inside HAVE_XFT. (something_changed_gconfCB): Renamed from something_changedCB. Check for changes in GCONF_TOOL_BAR_STYLE and GCONF_FONT_NAME also. (parse_settings): Move check for font inside HAVE_XFT. (read_settings, apply_xft_settings): Add comment. (read_and_apply_settings): Add comment. Call map_tool_bar_style and store_tool_bar_style_changed. Move check for font inside HAVE_XFT and call store_font_name_changed. (xft_settings_event): Add comment. (init_gsettings): Add comment. Get values for GSETTINGS_TOOL_BAR_STYLE and GSETTINGS_FONT_NAME. Move check for fonts within HAVE_XFT. (init_gconf): Add comment. Get values for GCONF_TOOL_BAR_STYLE and GCONF_FONT_NAME. Move check for fonts within HAVE_XFT. (xsettings_initialize): Call init_gsettings last. (xsettings_get_system_font, xsettings_get_system_normal_font): Add comment.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 9ad7da46ecf..1cc0b5a4dc0 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,35 @@
12011-07-05 Jan Djärv <jan.h.d@swipnet.se>
2
3 * xsettings.c: Use both GConf and GSettings if both are available.
4 (store_config_changed_event): Add comment.
5 (dpyinfo_valid, store_font_name_changed, map_tool_bar_style)
6 (store_tool_bar_style_changed): New functions.
7 (store_monospaced_changed): Add comment. Call dpyinfo_valid.
8 (struct xsettings): Move font inside HAVE_XFT.
9 (GSETTINGS_TOOL_BAR_STYLE, GSETTINGS_FONT_NAME): New defines.
10 (GSETTINGS_MONO_FONT): Renamed from SYSTEM_MONO_FONT.
11 Move inside HAVE_XFT.
12 (something_changed_gsettingsCB): Renamed from something_changedCB.
13 Check for changes in GSETTINGS_TOOL_BAR_STYLE and GSETTINGS_FONT_NAME
14 also.
15 (GCONF_TOOL_BAR_STYLE, GCONF_FONT_NAME): New defines.
16 (GCONF_MONO_FONT): Renamed from SYSTEM_MONO_FONT. Move inside HAVE_XFT.
17 (something_changed_gconfCB): Renamed from something_changedCB.
18 Check for changes in GCONF_TOOL_BAR_STYLE and GCONF_FONT_NAME also.
19 (parse_settings): Move check for font inside HAVE_XFT.
20 (read_settings, apply_xft_settings): Add comment.
21 (read_and_apply_settings): Add comment. Call map_tool_bar_style and
22 store_tool_bar_style_changed. Move check for font inside HAVE_XFT and
23 call store_font_name_changed.
24 (xft_settings_event): Add comment.
25 (init_gsettings): Add comment. Get values for GSETTINGS_TOOL_BAR_STYLE
26 and GSETTINGS_FONT_NAME. Move check for fonts within HAVE_XFT.
27 (init_gconf): Add comment. Get values for GCONF_TOOL_BAR_STYLE
28 and GCONF_FONT_NAME. Move check for fonts within HAVE_XFT.
29 (xsettings_initialize): Call init_gsettings last.
30 (xsettings_get_system_font, xsettings_get_system_normal_font): Add
31 comment.
32
12011-07-05 Paul Eggert <eggert@cs.ucla.edu> 332011-07-05 Paul Eggert <eggert@cs.ucla.edu>
2 34
3 Random fixes. E.g., (random) never returned negative values. 35 Random fixes. E.g., (random) never returned negative values.