[gnome-settings-daemon] xsettings: change example in README.xsettings
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] xsettings: change example in README.xsettings
- Date: Sat, 10 Mar 2012 16:08:27 +0000 (UTC)
commit d04cbea210ac84f4cffd7808349a86890fc3a424
Author: Ryan Lortie <desrt desrt ca>
Date: Sat Mar 10 11:07:05 2012 -0500
xsettings: change example in README.xsettings
DPI is given in 1024th of an inch, so using '96' as an example in the
documentation was probably a bad idea. Adjust that.
plugins/xsettings/README.xsettings | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/plugins/xsettings/README.xsettings b/plugins/xsettings/README.xsettings
index cacc6a2..c2449b5 100644
--- a/plugins/xsettings/README.xsettings
+++ b/plugins/xsettings/README.xsettings
@@ -27,6 +27,9 @@ booleans -- you must use an integer that is either 0 or 1.
An example setting for this key (as expressed in GVariant text format)
might be:
- { 'Gtk/ShellShowsAppMenu': < 0 >, 'Xft/DPI', < 96 > }
+ { 'Gtk/ShellShowsAppMenu': < 0 >, 'Xft/DPI', < 98304 > }
Noting that variants must be specified in the usual way (wrapped in <>).
+
+Note also that DPI in the above example is expressed in 1024ths of an
+inch.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]