summaryrefslogtreecommitdiff
path: root/libnautilus-extensions/nautilus-global-preferences.c
diff options
context:
space:
mode:
authorDarin Adler <darin@src.gnome.org>2001-03-05 22:51:45 +0000
committerDarin Adler <darin@src.gnome.org>2001-03-05 22:51:45 +0000
commitbe4780c0ef0c9147e33e2985b81e48652db41911 (patch)
treeee78fc11d3b6163ee91ab521a3a5544bbd0260cb /libnautilus-extensions/nautilus-global-preferences.c
parentb55cfb7229a45f0b9eb9780a44a9de916de97d38 (diff)
downloadnautilus-be4780c0ef0c9147e33e2985b81e48652db41911.tar.gz
reviewed by: John Sullivan <sullivan@eazel.com>
Fix bug 7381 (warning every time I start Nautilus because my /usr/share/fonts/default/Type1/fonts.dir has no fonts in it): * libnautilus-extensions/nautilus-font-manager.c: (font_description_table_new): Tolerate files with 0 fonts in them, but don't tolerate files where the count is > than the number of lines in the file. Fix bug 7362 (two font menus appear in preferences in non-smooth mode): * libnautilus-extensions/nautilus-global-preferences.c: (appearance_pane_update): Fix spelling error. (global_preferences_create_font_group): Fix wrong variable name and spelling error. * libnautilus-extensions/nautilus-string-list.c: Fix spelling error ("supress" -> "suppress").
Diffstat (limited to 'libnautilus-extensions/nautilus-global-preferences.c')
-rw-r--r--libnautilus-extensions/nautilus-global-preferences.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/libnautilus-extensions/nautilus-global-preferences.c b/libnautilus-extensions/nautilus-global-preferences.c
index 18e7f89b0..dcd9f04af 100644
--- a/libnautilus-extensions/nautilus-global-preferences.c
+++ b/libnautilus-extensions/nautilus-global-preferences.c
@@ -826,7 +826,7 @@ global_preferences_create_search_pane (NautilusPreferencesBox *preference_box)
* the value of the SMOOTH_GRAPHICS preference.
*/
static void
-appearnace_pane_update (gpointer callback_data)
+appearance_pane_update (gpointer callback_data)
{
g_return_if_fail (NAUTILUS_IS_PREFERENCES_PANE (callback_data));
@@ -848,6 +848,7 @@ global_preferences_create_font_group (NautilusPreferencesPane *appearance_pane)
1,
NAUTILUS_PREFERENCES_DIRECTORY_VIEW_FONT_FAMILY,
NAUTILUS_PREFERENCE_ITEM_FONT_FAMILY);
+
nautilus_preferences_item_set_control_preference (NAUTILUS_PREFERENCES_ITEM (font_picker_gdk_item),
NAUTILUS_PREFERENCES_SMOOTH_GRAPHICS_MODE);
nautilus_preferences_item_set_control_action (NAUTILUS_PREFERENCES_ITEM (font_picker_gdk_item),
@@ -859,13 +860,13 @@ global_preferences_create_font_group (NautilusPreferencesPane *appearance_pane)
NAUTILUS_PREFERENCES_DIRECTORY_VIEW_SMOOTH_FONT,
NAUTILUS_PREFERENCE_ITEM_SMOOTH_FONT);
- nautilus_preferences_item_set_control_preference (NAUTILUS_PREFERENCES_ITEM (font_picker_gdk_item),
+ nautilus_preferences_item_set_control_preference (NAUTILUS_PREFERENCES_ITEM (font_picker_smooth_item),
NAUTILUS_PREFERENCES_SMOOTH_GRAPHICS_MODE);
nautilus_preferences_item_set_control_action (NAUTILUS_PREFERENCES_ITEM (font_picker_smooth_item),
NAUTILUS_PREFERENCE_ITEM_SHOW);
nautilus_preferences_add_callback (NAUTILUS_PREFERENCES_SMOOTH_GRAPHICS_MODE,
- appearnace_pane_update,
+ appearance_pane_update,
appearance_pane);
return font_group;