2007-03-21 Federico Mena Quintero <federico@novell.com>
Fix the gnome-settings-daemon part of
https://bugzilla.novell.com/show_bug.cgi?id=217790 and
http://bugzilla.gnome.org/show_bug.cgi?id=378338: try to figure
out the DPI value from the X server or the user's GConf settings.
Should also fix https://bugzilla.novell.com/show_bug.cgi?id=240246.
* gnome-settings-daemon/gnome-settings-xsettings.c (gnome_xft_settings_get): Call
get_dpi_from_gconf_or_server() to figure out a reasonable DPI
value; don't unconditionally get it from GConf.
(get_dpi_from_gconf_or_server): New function. If the user has
ever set the /desktop/gnome/font_rendering/dpi value in GConf, we
use its value. Otherwise, we ask the X server. We constrain the
X server's response to a range of reasonable DPI values, since
some servers lie about the screen's phisical dimensions --- the
user would get unusably huge or tiny fonts otherwise.
* capplets/font/main.c (dpi_load): First, see if the DPI value is actually set
in GConf. If it is, it means that the user has changed it at
least once. In that case, just use the value. Otherwise, find
the value from the X server in a similar way to what we do in
gnome-settings-daemon.
svn path=/trunk/; revision=7409
2007-01-07 Thomas Wood <thos@gnome.org>
Based on patch by: Gabor Kelemen <kelemeng@gnome.hu>
* main.c: (application_font_to_gconf): Fixes bug 335963 ("Font may be
too large" dialog unclear).
svn path=/trunk/; revision=7089
2006-01-26 Christian Persch <chpe@cvs.gnome.org>
* capplets/font/font-properties.glade:
* capplets/font/main.c: (setup_dialog):
Add a font button for the document font gconf key, and change
the label of the 'terminal font' button. Bug #160454,
patch by Shaun McCance.
2004-02-12 Mark McLoughlin <mark@skynet.ie>
* capplets/display/main.c: (cb_dialog_response):
* capplets/localization/gnome-localization-properties.c:
(dialog_response): update help links to point to user-guide.xml
2003-10-24 Jody Goldberg <jody@gnome.org>
http://bugzilla.gnome.org/show_bug.cgi?id=124513
* main.c (setup_font_sample) : merge in patch to allocate black and
white correctly on TruColor displays.
Sat Aug 2 01:16:16 2003 Jonathan Blandford <jrb@gnome.org>
* main.c (application_font_to_gconf): Warn when a font larger than
31 points is selected, #97653.
Caring Desktop++
Wed Jan 15 12:50:34 2003 Jonathan Blandford <jrb@redhat.com>
* main.c (cb_details_response): run "nautilus --no-desktop
fonts:///" if button pressed.
(cb_show_details): show a 'Go to font folder' button if fonts:///
exists.
2002-11-13 Pasupathi Duraisamy <pasupathi.duraisamy@wipro.com>
* main.c: Added the "desktop_font" key directory to the list
of directories GConfClient will watch for changes.
Fixes Bug #94766.
2002-08-19 Jody Goldberg <jody@gnome.org>
* font-properties.glade :
* main.c: (setup_dialog): merge in owen's patch to configure the
window title font and the font to use for terminals. This patch
uses a metacity specific key for the window title. Owen ? Seth ?
Can you folk choose please.
2002-08-08 Seth Nickell <snickell@stanford.edu>
Try my best to throw a monkey wrench in things. Checkin
Windows capplet, and add window related settings to
the font capplet and theme capplet.
Also fix button alignments on all capplets.
* acconfig.h configure.in: Check for Xft2.
* capplets/font/main.c capplets/font/Makefile.am
capplets/font/font-properties.glade: If XFt2 is present,
allow the user to control various font rendering attributes.
* gnome-settings-daemon/gnome-settings-xsettings.c:
Mirror the Xft rendering attributes from the font
capplet to XSETTINGS and Xrdb.
* schemas/Makefile.am schemas/desktop_gnome_font_rendering.schemas:
Add schemas for the new GConf settings.
Improve help handling.
2002-05-26 Jody Goldberg <jody@gnome.org>
* capplet-util.c (capplet_help) : new utility.
2002-05-24 Jody Goldberg <jody@gnome.org>
* mime-type-info.c (mime_category_info_load_all) : make this more paranoid.
* mime-category-edit-dialog.c (update_subcategories) : Move this over
here.
2002-05-17 Jody Goldberg <jody@gnome.org>
* mime-type-info.c (mime_category_info_using_custom_app) : add some
protection.