diff options
author | Matthias Clasen <mclasen@redhat.com> | 2006-01-25 15:41:40 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2006-01-25 15:41:40 +0000 |
commit | 2ec7ee28b8fb397c47be20b378b742dc3ed03f89 (patch) | |
tree | eb8d2ea0ee1a7d36164d155e513cf6e3942810d5 /gtk | |
parent | 58e77fe25bde289f178153a8a01e62d8b2e8093b (diff) | |
download | gtk+-2ec7ee28b8fb397c47be20b378b742dc3ed03f89.tar.gz |
Only set the cursor size if it is != 0.
2006-01-25 Matthias Clasen <mclasen@redhat.com>
* gdk/x11/gdkcursor-x11.c (gdk_x11_display_set_cursor_theme): Only
set the cursor size if it is != 0.
* gtk/gtksettings.c (gtk_settings_class_init): Change the default value
of gtk-cursor-theme-size to 0, meaning "use default".
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/gtksettings.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtksettings.c b/gtk/gtksettings.c index 9f0c837f7d..5c15391521 100644 --- a/gtk/gtksettings.c +++ b/gtk/gtksettings.c @@ -387,7 +387,7 @@ gtk_settings_class_init (GtkSettingsClass *class) result = settings_install_property_parser (class, g_param_spec_string ("gtk-cursor-theme-name", P_("Cursor theme name"), - P_("Name of the cursor theme to use"), + P_("Name of the cursor theme to use, or NULL to use the default theme"), NULL, GTK_PARAM_READWRITE), NULL); @@ -396,8 +396,8 @@ gtk_settings_class_init (GtkSettingsClass *class) result = settings_install_property_parser (class, g_param_spec_int ("gtk-cursor-theme-size", P_("Cursor theme size"), - P_("Size to use for cursors"), - 0, 128, 24, + P_("Size to use for cursors, or 0 to use the default size"), + 0, 128, 0, GTK_PARAM_READWRITE), NULL); |