diff options
author | Matthias Clasen <mclasen@redhat.com> | 2005-05-16 21:14:05 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2005-05-16 21:14:05 +0000 |
commit | 911a8a63c316da8ecf993839334175964ffd1b7d (patch) | |
tree | f89237e57ff101dbb299e349dc1ce89a901a56eb /gtk/gtkentry.c | |
parent | 382fa5c38210f1c4d0444a0c8084fd21c894b560 (diff) | |
download | gtk+-911a8a63c316da8ecf993839334175964ffd1b7d.tar.gz |
Don't blink the cursor if the entry is not editable. (#304171,Nikos
2005-05-16 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkentry.c (cursor_blinks): Don't blink the cursor if
the entry is not editable. (#304171,Nikos Kouremenos)
Diffstat (limited to 'gtk/gtkentry.c')
-rw-r--r-- | gtk/gtkentry.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c index b7b69420f9..88badc5e4f 100644 --- a/gtk/gtkentry.c +++ b/gtk/gtkentry.c @@ -4788,6 +4788,7 @@ cursor_blinks (GtkEntry *entry) gboolean blink; if (GTK_WIDGET_HAS_FOCUS (entry) && + entry->editable && entry->selection_bound == entry->current_pos) { g_object_get (settings, "gtk-cursor-blink", &blink, NULL); |