Don't set the font name here, leave that to themes, fixes #387508.

2007-03-10  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkevents-quartz.c: (gdk_screen_get_setting): Don't set
	the font name here, leave that to themes, fixes #387508.

svn path=/trunk/; revision=17459
This commit is contained in:
Richard Hult 2007-03-10 20:50:58 +00:00 committed by Richard Hult
parent b1285c3fe6
commit 5c477d1f12
2 changed files with 6 additions and 10 deletions

View File

@ -1,3 +1,8 @@
2007-03-10 Richard Hult <richard@imendio.com>
* gdk/quartz/gdkevents-quartz.c: (gdk_screen_get_setting): Don't set
the font name here, leave that to themes, fixes #387508.
2007-03-10 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_ref_node),

View File

@ -1370,16 +1370,7 @@ gdk_screen_get_setting (GdkScreen *screen,
const gchar *name,
GValue *value)
{
/* FIXME: This should be fetched from the correct preference value. See:
http://developer.apple.com/documentation/UserExperience/\
Conceptual/OSXHIGuidelines/XHIGText/chapter_13_section_2.html
*/
if (strcmp (name, "gtk-font-name") == 0)
{
g_value_set_string (value, "Lucida Grande 12");
return TRUE;
}
else if (strcmp (name, "gtk-double-click-time") == 0)
if (strcmp (name, "gtk-double-click-time") == 0)
{
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
float t;